[jboss-user] [Beginners Corner] - ResourceBundle in SessionBean?

Durnox do-not-reply at jboss.com
Thu May 3 05:29:47 EDT 2007


Hi all,

im rather new to J2EE and want to implement (at first) a session bean (stateful) that needs to call a 3rd-Party framework.

This framework uses ResourceBundle.getBundle(...) to read some property-Files. At this point I get an error "Can't find bundle for base name xyz.properties ...".

I've tried to put this file into the root of my .jar, then META-INF, then WEB-INF(/classes)  (although i dont have anything to do with web).

Nothing works :(

Can somebody help me? Where do I have to put this .properties file? 

greetings,
Karsten

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

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



More information about the jboss-user mailing list