OUT OF ENVIRONMENT SPACE

2002-01-30 Thread Ratnesh Dubey

After setting the variables for TOMCAT_HOME and JAVA_HOME I am still getting 
the error for "Out of environment space". I have tried the following:
1. Increase the memory for startup.bat and shutdown.bat.
2. I tried to increase the memory for MSDOS prompt but got an error for 
faulty directory path.
I was wondering how I could get rid of it. This is an emergency please 
advise ASAP!
Thanks
Ratnesh


>From: [EMAIL PROTECTED]
>Reply-To: "Tomcat Developers List" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: cvs commit: jakarta-tomcat-4.0/jasper build.xml
>Date: 29 Jan 2002 02:42:25 -
>
>craigmcc02/01/28 18:42:25
>
>   Modified:.BUILDING.txt build.properties.sample
>catalina build.xml
>jasper   build.xml
>   Log:
>   Make it possible to build the HEAD branch of Tomcat 4 against the newest
>   Xerces 2.0.0beta4 distribution (which uses two files, 
>"xmlParserAPIs.jar"
>   and "xercesImpl.jar"), or against an older distribution (which uses one
>   file, "xerces.jar").  The choice of which implementation to use is 
>defined
>   by setting one or the other of the following sets of properties:
>
>   * For Xerces 1.3.1 up through and including 2.0.0beta3,
> set "xerces.jar" to point to the full pathname of that file.
>
>   * For Xerces 2.0.0beta4 or later, set "xmlParserAPIs.jar" and
> "xercesImpl.jar" to point to the full pathnames of the
> corresponding files.
>
>   If you have both sets of properties defined (which will be common if you
>   are building lots of packages that depend on a "xerces.jar" property), 
>the
>   2.0.0beta4 (or later) version of Xerces will be the one used for the 
>Tomcat
>   build, and will also be the parser that is copied in to the common/lib
>   directory.
>
>   At the moment, I would lean against porting this mechanism to the 4.0.2
>   release, because it appears we will release 4.0.2 before Xerces 2.0 is
>   finalized.  IMHO, Tomcat 4.0.2 should be built against, and include, the
>   stable Xerces 1.4.4 release.
>
>   Revision  ChangesPath
>   1.23  +13 -2 jakarta-tomcat-4.0/BUILDING.txt
>
>   Index: BUILDING.txt
>   ===
>   RCS file: /home/cvs/jakarta-tomcat-4.0/BUILDING.txt,v
>   retrieving revision 1.22
>   retrieving revision 1.23
>   diff -u -r1.22 -r1.23
>   --- BUILDING.txt24 Jan 2002 15:31:44 -  1.22
>   +++ BUILDING.txt29 Jan 2002 02:42:25 -  1.23
>   @@ -1,4 +1,4 @@
>   -$Id: BUILDING.txt,v 1.22 2002/01/24 15:31:44 remm Exp $
>   +$Id: BUILDING.txt,v 1.23 2002/01/29 02:42:25 craigmcc Exp $
>
>
>   Building The Tomcat 4.0 Servlet/JSP Container
>   @@ -74,7 +74,7 @@
>  it can be used with the 

Re: OUT OF ENVIRONMENT SPACE

2002-01-30 Thread Patrick Luby

Ratnesh,

>From your error, you are probably using Windows 95, 98, or ME. If so, you
need to add the following line to your autoexec.bat file and reboot your machine:

SHELL=C:\COMMAND.COM /E:4096 /P

Also, remove any existing "SHELL=" lines from that file.

BTW, this is clearly a support question and such questions, in the future,
should be posted to the [EMAIL PROTECTED] list. This list is
for development issues, not support questions.

Patrick

Ratnesh Dubey wrote:
> 
> After setting the variables for TOMCAT_HOME and JAVA_HOME I am still getting
> the error for "Out of environment space". I have tried the following:
> 1. Increase the memory for startup.bat and shutdown.bat.
> 2. I tried to increase the memory for MSDOS prompt but got an error for
> faulty directory path.
> I was wondering how I could get rid of it. This is an emergency please
> advise ASAP!
> Thanks
> Ratnesh
> 
> >From: [EMAIL PROTECTED]
> >Reply-To: "Tomcat Developers List" <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: cvs commit: jakarta-tomcat-4.0/jasper build.xml
> >Date: 29 Jan 2002 02:42:25 -
> >
> >craigmcc02/01/28 18:42:25
> >
> >   Modified:.BUILDING.txt build.properties.sample
> >catalina build.xml
> >jasper   build.xml
> >   Log:
> >   Make it possible to build the HEAD branch of Tomcat 4 against the newest
> >   Xerces 2.0.0beta4 distribution (which uses two files,
> >"xmlParserAPIs.jar"
> >   and "xercesImpl.jar"), or against an older distribution (which uses one
> >   file, "xerces.jar").  The choice of which implementation to use is
> >defined
> >   by setting one or the other of the following sets of properties:
> >
> >   * For Xerces 1.3.1 up through and including 2.0.0beta3,
> > set "xerces.jar" to point to the full pathname of that file.
> >
> >   * For Xerces 2.0.0beta4 or later, set "xmlParserAPIs.jar" and
> > "xercesImpl.jar" to point to the full pathnames of the
> > corresponding files.
> >
> >   If you have both sets of properties defined (which will be common if you
> >   are building lots of packages that depend on a "xerces.jar" property),
> >the
> >   2.0.0beta4 (or later) version of Xerces will be the one used for the
> >Tomcat
> >   build, and will also be the parser that is copied in to the common/lib
> >   directory.
> >
> >   At the moment, I would lean against porting this mechanism to the 4.0.2
> >   release, because it appears we will release 4.0.2 before Xerces 2.0 is
> >   finalized.  IMHO, Tomcat 4.0.2 should be built against, and include, the
> >   stable Xerces 1.4.4 release.
> >
> >   Revision  ChangesPath
> >   1.23  +13 -2 jakarta-tomcat-4.0/BUILDING.txt
> >
> >   Index: BUILDING.txt
> >   ===
> >   RCS file: /home/cvs/jakarta-tomcat-4.0/BUILDING.txt,v
> >   retrieving revision 1.22
> >   retrieving revision 1.23
> >   diff -u -r1.22 -r1.23
> >   --- BUILDING.txt24 Jan 2002 15:31:44 -  1.22
> >   +++ BUILDING.txt29 Jan 2002 02:42:25 -  1.23
> >   @@ -1,4 +1,4 @@
> >   -$Id: BUILDING.txt,v 1.22 2002/01/24 15:31:44 remm Exp $
> >   +$Id: BUILDING.txt,v 1.23 2002/01/29 02:42:25 craigmcc Exp $
> >
> >
> >   Building The Tomcat 4.0 Servlet/JSP Container
> >   @@ -74,7 +74,7 @@
> >  it can be used with the 

[Bug 124] New - CLASSPATH out of environment space when Tomcat starts up on Windows 95/98 BugRat Report#133

2001-02-03 Thread bugzilla

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

*** shadow/124  Sat Feb  3 18:09:42 2001
--- shadow/124.tmp.27236Sat 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: RESOLVEDVersion: 3.1.1 Final |
+ |   Resolution: WONTFIXPlatform: 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]