Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Random: Can't find resource for bundle

Steven Pannell

2005-02-15


Hi,

I'm using tomcat 5.5.7 under windows (although I had this problem also with
5.0.28).

I have a page with locale resources. The page works fine. Refresh it 10
times say and every so often during the refresh I get this error.

org.apache.jasper.JasperException: Can't find resource for bundle
com.zooplus.resources.WebMessages, key general.title
 
org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:3
73)
 
org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:295)
 org.apache.jasper.servlet.JspServlet.service (JspServlet.java:245)
 javax.servlet.http.HttpServlet.service (HttpServlet.java:802)

root cause

java.util.MissingResourceException: Can't find resource for bundle
com.zooplus.resources.WebMessages, key general.title
 java.util.ResourceBundle.getObject (ResourceBundle.java:326)
 java.util.ResourceBundle.getObject (ResourceBundle.java:323)
 java.util.ResourceBundle.getString (ResourceBundle.java:286)


It's seems to be random. The page refreshes half-a-dozen times without
problems and then I get this random message. Press refresh again and it
works - finding the resource.

Anyone have a clue on this?


Thanks,
Steve.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.