I tried to lookup a properties file using classloader during startup of an
MBean:
ClassLoader loader = Thread.currentThread().getContextClassLoader();
| URL myProp = loader.getResource("myProperties.properties");
If it does not exist, I would create that properties file. Then later on, I
use the same code to check if the properties file should be there(it should be
there by now), but the classloader does not seem to detect that new file. Is
it an expected behavior of JBoss?
Thanks,
wsng
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922171#3922171
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922171
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user