This content has been marked as final.
Show 3 replies
-
1. Re: application does not see configuration file
peterj Jun 15, 2005 10:50 AM (in response to nithinsh)The file abc.properties needs to be in the directory ./mn/op (full file name of ./mn/op/abc.properties). This can be either in your myclass.jar file, or in the WEB-INF/classes directory in your war file.
Note that properties files are looked up like class files, and that mn.op is considered to be the package name. -
2. Re: application does not see configuration file
nithinsh Jun 15, 2005 12:56 PM (in response to nithinsh)Thanks for the response.
How do you tell the application to look for it? When I run it from command line or eclipse I ask it to look for it with my -D argument. But when you deploy it on JBoss how do you supply these VM arguments.
Thanks again for any suggestions. -
3. Re: application does not see configuration file
peterj Jun 15, 2005 1:40 PM (in response to nithinsh)Try setting JAVA_OPTS before running run.bat or run.sh. Example: JAVA_OPTS=-Dngp.mn.op.abc.filename=mn.op.abc.properties