Hi All,

I am migrating the application from JBoss 4.0.1sp1 to 4.0.2 and I've got  
MissingResourceException when calling ResourceBundle.getBundle("version"); It 
works fine with 4.0.1sp1 but I wanter to stay on the pure release of JBoss.

The packaging is like this: I have an EAR file. Inside it there is a WAR file 
and a bunch of JAR files (EJB's and just java libraries). Inside WAR file there 
is a WEB-INF\classes\version.properties file. 

I have WAR file in my EAR's META-INF\application.xml file defined in module/web 
section with web-uri and context-root nodes defined.

Exception is this one:

Caused by: java.util.MissingResourceException: Can't find bundle for base name 
version, locale en_US
        at 
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
        at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:511)

Basically, that's it. It seems that something has been changed in class loader.

Thank you for your help.
Mark

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877399#3877399

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877399


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to