I have a questions regarding access to property files in web service applications.
1. Currently, I have setup property file for all my web services. The property files live in the "C:\Tomcat\webapps\axis\WEB-INF\classes" directory. There are picked up with out an issue. On my system. When taken to another system the property files are not being picked up. Why, is this and how can I prevent the problem?
2. The property file reference a log4j properties file that is hard coded to "C:/Tomcat/webapps/axis/WEB-INF/classes/conf/NDNGateway.log4j.properties" if I change "C:/Tomcat/webapps/axis/WEB-INF/classes/conf/" to "./" the property files will be accessed. The same goes for the log4j property files, it seems that they are not picked up as well since no log files are created.
It appears that the default directory on some systems is "C:\Tomcat\webapps\axis\WEB-INF\classes" and on others it is "C:\WINNT\system32" or "C:\WINDOWS\system32" for my applications. What is causing this?
Any help would be appreciated.
Regards
Wayne
Send instant messages to your online friends http://au.messenger.yahoo.com
