This content has been marked as final.
Show 3 replies
-
1. Re: Need Help With PropertyReader in @Service class
dornus Oct 17, 2005 12:10 PM (in response to dornus)I also want to note that I can access the properties file from within the war file itself. It only breaks when I try to call it from a class within the .ejb3 file, which I showed in the previous post.
-
2. Re: Need Help With PropertyReader in @Service class
bill.burke Oct 17, 2005 12:44 PM (in response to dornus)by default (and required by the spec), WAR's are within a scoped classloader. This means EJBs cannot view classes/resources packaged within a war. Put it in your EJB jar or within a ejb-client jar.
-
3. Re: Need Help With PropertyReader in @Service class
bill.burke Oct 17, 2005 12:44 PM (in response to dornus)or, you can muck with the classloader settings in jboss-web.xml. See doco for more details on loader-repository