|
Hi, Tom
The maximun environment space size is 4096. You can set it in
different ways, I have had very good results setting it using system.ini
(in the [NonWindowsApp] section add a line with
CommandEnvSize=4096.
I would also recommend you to look at the nice JustGo, an
application that will help you if you have a unusually large environmet
space, and will automatically search for your settings.
Julio
----- Original Message -----
Sent: Sunday, November 26, 2000 9:42
AM
Subject: RE: Shutdown problem
It
is still the environment problem. The 2816 setting is just an estimate, since
it will be affected by other environment variable you have set, what paths you
choose to put things in etc. Increase that number by a lot (be absurd in
your first test) and try to shutdown. You should not see the
problem - assuming you don't just bing down the amount of environment memory
until the problem reappears and set it (finally) to be above that
level.
It might seem
unbelievable but I fixed it up myself by just setting JAVA_HOME in
autoexec.bat with full path incl. drive name (C:\jdk1.3). What u
reckon?
Saurabh Shukla wrote:
Even i get problems with
shutting down tomcat both on Linux and in Windows NT machine, you can just
kill the damn window. :-)
Guys, I start Tomcat 3.1 perfectly and when I run
Shutdown.bat script, the Java window is still on with the following
content:
Out of environment space Out of environment space Out of environment space Out of environment space Out of environment space Using classpath:
C:\Tomcat\classes;C:\Tomcat\lib\webserver.jar Stop tomcat Exception in
thread "main" java.lang.NoClassDefFoundError:
org/xml/sax/DocumentH andler
at
java.lang.ClassLoader.defineClass0(Native Method) at
java.lang.ClassLoader.defineClass(Unknown Source) at
java.security.SecureClassLoader.defineClass(Unknown Source)
at
java.net.URLClassLoader.defineClass(Unknown Source) at
java.net.URLClassLoader.access$100(Unknown Source) at
java.net.URLClassLoader$1.run(Unknown Source) at
java.security.AccessController.doPrivileged(Native Method)
at
java.net.URLClassLoader.findClass(Unknown Source) at
java.lang.ClassLoader.loadClass(Unknown Source) at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at
java.lang.ClassLoader.loadClass(Unknown Source) at
java.lang.ClassLoader.loadClassInternal(Unknown Source) at
org.apache.tomcat.startup.Tomcat.stopTomcat(Tomcat.java:180)
at
org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:130)
at
org.apache.tomcat.startup.Tomcat.main(Tomcat.java:163)
Looks like something wrong with configuration of JVM? Why still "Out
of environment space if I've set the Initial environment memory property
to recommended 2816? Second question is why I can't run .jsp file in
browser when offline? (W98, T/C 3.1 as standalone)
I've searched the mailinglist archive and several FAQs on the topic
but found nothing helpful. Did anybody encounter with same problem? Any
suggestions will be appreciated.
Tom.
|