HI, I am hoping that some JBoss guru can guide me on the significance of javax.naming.NamingException exceptions that we are seeing on JBoss 5.1.0 on RHEL 5.9. We see these exceptions being thrown *randomly* and reported by Riverbed AppInternals (an excellent APM/monitoring tool) - some sample exceptions include -
Exception | Class | Method |
javax.naming.NamingException: Resource /localhost/chart-portlet/chart/tsc_chart_view.jsp not found | org.apache.naming.resources.FileDirContext | getAttributes |
javax.naming.NamingException: Resource /localhost/html/taglib/ui/icon/page.jsp not found | org.apache.naming.resources.FileDirContext | getAttributes |
javax.naming.NamingException: Resource /localhost/html/taglib/ui/icon/page.jsp not found | org.apache.naming.resources.FileDirContext | lookup |
Note that these exceptions appear for random files and always seem to have /localhost/ prefixed. The developers have validated that we are not explicitly referencing /localhost anywhere in our code and additionally, the same page requests do not always result in these exceptions - in fact, these exceptions are a rarity - you might get them <1% of the time for the same feature.
We are unsure what is causing these exceptions and what their significance is - any inputs would be greatly appreciated.
Thanks, Vivek!