tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BugRat Mail System <tomcat-b...@cortexity.com>
Subject BugRat Report #133 has been filed.
Date Mon, 18 Sep 2000 19:27:33 GMT
Bug report #133 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/133>

REPORT #133 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: Tomcat 3.1
   JVM Release: Java 2
   Operating System: Windows
   OS Release: 95/98
   Platform: PC

Synopsis: 
CLASSPATH out of environment space when Tomcat starts up on Windows 95/98

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.


Mime
View raw message