http://nagoya.apache.org/bugzilla/show_bug.cgi?id=124

*** shadow/124  Sat Feb  3 18:09:42 2001
--- shadow/124.tmp.27236        Sat Feb  3 18:09:42 2001
***************
*** 0 ****
--- 1,38 ----
+ +============================================================================+
+ | CLASSPATH out of environment space when Tomcat starts up on Windows 95/98  |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 124                         Product: Tomcat 3                |
+ |       Status: RESOLVED                    Version: 3.1.1 Final             |
+ |   Resolution: WONTFIX                    Platform: PC                      |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Config                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: [EMAIL PROTECTED]                                |
+ |  Reported By: [EMAIL PROTECTED]                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ The environment settings for Tomcat on Windows NT platform is done through Control 
+Panel, while the Win95/98 settings are done through autoexec.bat only.
+ I have set the "TOMCAT_HOME" and "JAVA_HOME" through autoexec.bat on Win98 and tried 
+to start Tomcat, but only received "out of environment space" error. It is not 
+reproducible on NT, though.
+ I've checked the "tomcat.bat" file and isolated the problem to the following block:
+ 
+ set CLASSPATH=.
+ set CLASSPATH=%TOMCAT_HOME%\classes
+ set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
+ set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
+ set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
+ set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
+ set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
+ 
+ When it is executed, the second-to-last line was totally ignored. I assume there is 
+a limit of # of characters to put in CLASSPATH settings for Win95/98.
+ If I put everything in a single line, all were ignored.
+ Look at the second line, wouldn't it be:
+ set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\class ? Otherwise you lose logic to put in 
+the first line.
+ However, if I do so, the last two lines will be ignored.
+ If I use a Command Prompt and manually enter the above lines, they will be accepted, 
+but it seems to have done no good to the Tomcat environment.
+ 
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-02-03 18:09 -------
+ Solved on Tomcat versions 3.2 and up .

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to