tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40227] New: - Tomcat 5.5.17 setclasspath.sh does not set CLASSPATH correctly
Date Thu, 10 Aug 2006 19:48:25 GMT
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: rsarres@stj.gov.br


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message