DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40227>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40227 Summary: Tomcat 5.5.17 setclasspath.sh does not set CLASSPATH correctly Product: Tomcat 5 Version: 5.5.17 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] The setclasspath.sh does not set CLASSPATH because of an "if" statement: " Set standard CLASSPATH if [ "$1" = "debug" -o "$1" = "javac" ] ; then CLASSPATH="$JAVA_HOME"/lib/tools.jar fi" We start tomcat with the command: service tomcat start So the $1 is loaded with "start" when setclasspath.sh is run. I think a change in startup.sh is needed because of the change introduced by patch generated in the bug 39194, where Jason Brittain stated that now the command to start tomcat is: $CATALINA_HOME/bin/catalina.sh javac start But startup.sh still calls $CATALINA_HOME/bin/catalina.sh start So classpath is not set with tools.jar by setclasspath.sh. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]