I have been getting the error below in my jvm log frequently. Odd thing is that 
it is not just a single page throwing the error and the pages that sometimes 
throw the error work perfectly fine (e.g. the message is found and displayed in 
the resulting HTML). Is this a false warning? Is there something wrong with my 
setup?

I configure JSTL in web.xml using:
<!-- this is not necessary if <fmt:bundle> or <fmt:setBundle> is used. -->
<context-param javax.servlet.jsp.jstl.fmt.localizationContext="messages" />
<!-- this is not necessary if <fmt:setLocale> is used. -->
<context-param javax.servlet.jsp.jstl.fmt.locale="en_US" />
<context-param javax.servlet.jsp.jstl.fmt.fallbackLocale="en_US" />

The offending line from the stack trace seems to lead to the following in the 
JSP files:
<fmt:message key="somekey" />

The file "messages.properties" is in WEB-INF/classes. Any ideas?

System Information
Debian 6.0.6
Java 1.6.0_26
Resin Pro 4.0.32

Error from jvm log
java.lang.ClassNotFoundException: messages in 
EnvironmentClassLoader[web-app:production/webapp/default/aws]
                        at 
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1502)
                        at 
com.caucho.loader.DynamicClassLoader.loadClass(DynamicClassLoader.java:1479)
                        at java.lang.Class.forName0(Native Method)
                        at java.lang.Class.forName(Class.java:247)
                        at 
com.caucho.jsp.BundleManager.getBaseBundle(BundleManager.java:254)
                        at 
com.caucho.jsp.BundleManager.getBundle(BundleManager.java:147)
                        at 
com.caucho.jsp.PageContextImpl.getBundle(PageContextImpl.java:1558)
                        at 
com.caucho.jsp.PageContextImpl.getLocalizedMessage(PageContextImpl.java:1515)
                        at 
_jsp._WEB_22dINF._views._auth._login__jsp$_CauchoFragment_0._jsp_invoke(_login__jsp.java:221)
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to