DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27310>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27310 CLASSPATH reset in intialization script Summary: CLASSPATH reset in intialization script Product: Tomcat 5 Version: 5.0.19 Platform: PC URL: http://localhost:8080/soap/servlet/rpcrouter OS/Version: Windows XP Status: NEW Severity: Minor Priority: Other Component: Native:Integration AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In order to specify jar libraries to load at startup I authored a setenv.bat file and put it in /bin, however Tomcat consistently failed to use jar files that were specified in the setenv.bat. I then carefully traced the setting of the CLASSPATH through the multiple initialization scripts and found the following line in setclasspath.bat: set CLASSPATH=%JAVA_HOME%\lib\tools.jar This line will wipe out the previous CLASSPATH that has been built up to this point. I replcaed this line with: set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar This can easily be tested. If you remove the soap.jar file from the /common/lib directory, place it outside of the CATALINA_HOME directory, specify its location in the CLASSPATH, and then try to hit localhost:8080/soap/servlet/rpcrouter, Tomcat will complain. If you then fix the line mentioned above in setclasspath.bat, and rerun Tomcat, it will run quite gracefully. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]