Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Set JAVA_OPTS in startup.bat tomcat

807601Jan 11 2008 — edited Jan 11 2008
i;e searched it on google and none of the commands are working for me.
Actually i am trying to deploy the application on my local machine which is tomcat5.5.25. Everytime i run the application it says it cannot find the properties file. After doing some research i came to know i need to set JAVA_OPTS enviorment in starup.bat so it can recognize my props folder.

Anyone know how to do it. my props folder is in:
c:/program files/apache-tomcat-5.5.25/webapps/testing/props

I did something like this but then tomcat wont start

set JAVA_OPTS=-DpropDir.home=C:\program files\apache-tomcat-5.5.25\webapps\testing\props

its not working can some tell me what to do?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2008
Added on Jan 11 2008
3 comments
1,081 views