I have got an application say myclass.jar which gets data from the config file 
say mn.op.abc.properties. When I run it from the command line with the 
following command it works fine
java -classpath myclass.jar -Dngp.mn.op.abc.filename=mn.op.abc.properties 
com.mn.op.MainApp 

Also when I set the VM arguments inside eclipse IDE it runs without any 
problems.

But when I plug my myclass.jar into an application and deploy it on JBoss for 
some reason it cannot see the mn.op.abc.properties file. 

My question is where should this file be in order to get the classes in 
myclass.jar to see it. I have copied it to the deploy folder and still it 
cannot see the file.

Thanks for your suggestions

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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to