I have a MBeanService registered in Jboss 3.2.6 as a exploded SAR. The structure is like
demo.sar |__ conf/ - test.properties |__ com/ ... - java classes |__ META-INF/ - jboss-app.xml jboss-services.xml |__ 3rdparty.jar, etc I can't control the way the 3rdparty.jar. It has code such as... Properties props = new Properties(); props.load( new FileInputStream( "test.properties" ) ); String url = props.getProperty( "jndi-serverURL" ); Where should I put the test.properties to make the Properties.load() work? I think as long as the properties are in the classpath, it should be fine. I never have problem with that. But why it doesn't work in Jboss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879087#3879087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879087 ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user