You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Wolfgang Egger <be...@wolfgang-egger.de> on 2006/01/01 13:28:27 UTC

embedded tomcat: how to fix >>out of environment space<<

Servus,
I have a WebApp running from CD-ROM served by an embedded Catalina (5.5)
started within a java app.
If I run that app under Windows 98 via run.bat, it "crashes" with an
"out of environment space"-error.

In my RUNNING.txt I found the following hint:
--------------------------------------------------------------------------------------------
(2) An "out of environment space" error when running the batch files in
    Windows 95, 98, or ME operating systems.

    Right-click on the STARTUP.BAT and SHUTDOWN.BAT files.  Click on
    "Properties", then on the "Memory" tab.  For the "Initial
environment" field,
    enter in something like 4096.

    After you click apply, Windows will create shortcuts which you can use
    to start and stop the container.
---------------------------------------------------------------------------------------------

How do I have to interpret this with respect to my needs running an
embedded tomcat. Do I have to add any -Dxyz or something like that to my
java call, or do I have to change something at any tomcat-confg-file or
do I have to do anything else?

Thanks in advance

   Wolfgang


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: embedded tomcat: how to fix >>out of environment space<<

Posted by Mark Thomas <ma...@apache.org>.
Wolfgang Egger wrote:
> Servus Mark,
> Mark Thomas schrieb:
> 
> 
>>Google is your friend...
>>
>>eg http://support.microsoft.com/kb/q230205/
>> 
>>
> 
> Thanks a lott!
> Do you know, if its possible to enlarge the DOS-Environment via java or
> in my run.bat?
Yes it is. What you need is a wrapper batch file that contains a
single line and looks something like:

c:\windows\command.com /e:4096 /c run.bat

> I didn't use windows since four years and don't remember such details ;-)
I didn't know how to do it either. Five minutes on Google found the
answer.

Hope it works,

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: embedded tomcat: how to fix >>out of environment space<<

Posted by Wolfgang Egger <be...@wolfgang-egger.de>.
Servus Mark,
Mark Thomas schrieb:

>Google is your friend...
>
>eg http://support.microsoft.com/kb/q230205/
>  
>
Thanks a lott!
Do you know, if its possible to enlarge the DOS-Environment via java or
in my run.bat?
I didn't use windows since four years and don't remember such details ;-)

Have a nice day

   Wolfgang


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: embedded tomcat: how to fix >>out of environment space<<

Posted by Mark Thomas <ma...@apache.org>.
Google is your friend...

eg http://support.microsoft.com/kb/q230205/

Mark

Wolfgang Egger wrote:
> Servus,
> I have a WebApp running from CD-ROM served by an embedded Catalina (5.5)
> started within a java app.
> If I run that app under Windows 98 via run.bat, it "crashes" with an
> "out of environment space"-error.
> 
> In my RUNNING.txt I found the following hint:
> --------------------------------------------------------------------------------------------
> (2) An "out of environment space" error when running the batch files in
>     Windows 95, 98, or ME operating systems.
> 
>     Right-click on the STARTUP.BAT and SHUTDOWN.BAT files.  Click on
>     "Properties", then on the "Memory" tab.  For the "Initial
> environment" field,
>     enter in something like 4096.
> 
>     After you click apply, Windows will create shortcuts which you can use
>     to start and stop the container.
> ---------------------------------------------------------------------------------------------
> 
> How do I have to interpret this with respect to my needs running an
> embedded tomcat. Do I have to add any -Dxyz or something like that to my
> java call, or do I have to change something at any tomcat-confg-file or
> do I have to do anything else?
> 
> Thanks in advance
> 
>    Wolfgang
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org