Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

move properties file from app directory to tomcat/configuration

Status
Not open for further replies.

fyntadryg

Programmer
Apr 8, 2009
1
There is tomcat, and application under tomcat. Application is using file server.properties. It is located here: D:\tomcat\webapps\axis2\WEB-INF\classes\ and application see it. I need to move this file to D:\tomcat\configuration\ but can't do it correct because after removing i have FileNotFoundException. I've set environment variable CLATHPATH to this folder (and in application i had applicationContext.xml and in it <context:property-placeholder location="classpath:server.properties" />)), but nothing is changed. How to set classpath correctly for my app or how to teach it to see server.properties?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top