Hello,

Take a look at the following release notes for Tomcat available at:

     http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/readme

It has a complete section which addresses the out of environment problem
which you are encountering.  I have attached the section which I believe
addresses you issue.

Regards,
Todd


6.6 Avoiding "Out of environment space" errors on Windows 95/98

This error can easily occur since the default amount of environment space is
typically insufficient to run Tomcat.  Here are a couple of ways to avoid
it.

  A. If you use the MS-DOS Prompt to start Tomcat, execute Programs ->
     MS-DOS Prompt.  Right-click the MS-DOS icon on the left of the title
bar
     and select Properties at the bottom of the menu.  In the MS-DOS Prompt
     Properties dialog select the Memory tab.  In the "Initial environment:"
     field, set a sufficiently high number.  If you are not sure, 3072
should
     be plenty.  Click OK and close the MS-DOS Prompt window.  Execute
     Programs -> MS-DOS Prompt again, navigate to the directory where you
     installed Tomcat.  Set the JAVA_HOME environment variable if not set
     already.  You should be able to execute "bin\startup" and
"bin\shutdown"
     to start and stop Tomcat without getting an "Out of environment space"
     error.

  B. If you want to start Tomcat by double clicking a batch file such as
     startup.bat, you should right-click on the desired batch file in
Windows
     Explorer and select Properties to open the MS-DOS Prompt Properties
     dialog.  Select the Memory tab and set the "Initial environment:" as
     described above.  You may want to also select the Program tab and check
     "Close on exit".  Then click OK.  A shortcut with these settings will
be
     created in same directory with the same base name as the batch file.
You
     should be able to double-click the shortcut or the batch file to
execute
     without getting an "Out of environment space" error.  If you wish to
     execute startup.bat and shutdown.bat in this fashion, you will need to
do
     the above for both files.  In addition, you need to provide for setting
     JAVA_HOME.  This may be done by adding a "SET JAVA_HOME=path to your
jdk"
     line to your autoexec.bat or to the startup.bat and shutdown.bat files
     themselves.


-----Original Message-----
From: V.T.R.Ravi Kumar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 5:39 AM
To: [EMAIL PROTECTED]
Subject: Re: Problem in TOMCAT


thanx for ur suggestion

Now although i am not getting the out of enviroment problem

I am getting the following error message
Unable to locate servlet.jar. Check the value of TOMCAT_HOME


I have given the path of the servlet.jar in the classpath
ie.,
set Classpath=.;c:\progra~1\apache~1\jakarta-tomcat\lib\servlet.jar;

and also in the
set TOMCAT_HOME=

Unable to determine what the problem might be.....




V.T.R. RAVI KUMAR.,
============================================================
ITX,HEEP,Bharat Heavy Electricals Limited (BHEL),
Hardwar, Uttraanchal (UA),INDIA . PIN CODE - 249 403.
============================================================
An Apple Falling on his head set Newton thinking, but
The Story might had been different had it been a coconut.
============================================================
        \\|//                           http://hwr08/web/VTR
        |o o|
        | ^ |
          =

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


The information in this electronic mail ("e-mail") message may
be confidential and for use of only the named recipient.  The
information may be protected by privilege, work product immunity
or other applicable law.  If you are not the intended recipient
the retention, dissemination, distribution or copying of this
e-mail message is strictly prohibited.  If you receive this e-mail
message in error please notify us immediately by telephone
at 770-723-1011 or [EMAIL PROTECTED]  Thank you.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to