You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/10/20 20:57:52 UTC

DO NOT REPLY [Bug 23953] New: - JAVA_HOME defined incorrectly breaks startup.bat

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=23953>.
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=23953

JAVA_HOME defined incorrectly breaks startup.bat

           Summary: JAVA_HOME defined incorrectly breaks startup.bat
           Product: Tomcat 5
           Version: 5.0.12
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jacek.laskowski@hp.com


When JAVA_HOME is defined incorrectly startup.bat doesn't start up Catalina 
even though setclasspath.bat (invoked from within the batch) warns about the 
wrong variable and ends. That's where the problem is. The setclasspath.bat ends 
nor exits. The last line of setclasspath.bat should look like the following:

   :end
   exit

With the change, when JAVA_HOME is wrong, the startup.bat returns quietly (it 
really should print out a message about it).

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org