my dog learned polymorphism
The moose likes Tomcat and the fly likes not able to run tomcat on win98 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "not able to run tomcat on win98" Watch "not able to run tomcat on win98" New topic

not able to run tomcat on win98

shan Iyer
Ranch Hand

Joined: Jul 13, 2005
Posts: 391
I am not able to run tomcat application server on win98.
When I run startup.bat, it gives me the message "out of environment space"
eventhough the JAVA_HOME environment variable has been correctly set.
Please provide me the solution as this is very urgent.

Warm Regards, S.Iyer
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Windows 98 only allocates 256 bytes for environment space by default. You can fix this by increasing the amount of environment space available. You do this by adding a line like this to config.sys:

Alternatively, you can also fix this by removing the number of entries in your PATH or removing any unnecessary arguments included in startup.bat.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63857

Moved to the Tomcat forum.

[Asking smart questions] [About Bear] [Books by Bear]
Anjali Kumar

Joined: Aug 27, 2005
Posts: 5
I am also getting the same problem.I add the SHELL=X:\PATH\COMMAND.COM /P /E:512 in config.sys .But i get the same error message like "out of environment space".

Plz give the solution for that.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Set your environment size MUCH larger, I used 4096 back when I still had a Win98 machine.
Anjali Kumar

Joined: Aug 27, 2005
Posts: 5
Thanks for your reply.Now its giving one more error message stating that
1) Message Box: Error Starting Program

The TOMCAT5W.EXE file is linked to missing export NETAPI32.DLL:netWkstaGetInfo.

2) Message Box: D:\tomcat\bin\tomcat5w.exe

A device attached to the system is not functioning.
Alec Lee
Ranch Hand

Joined: Jan 28, 2004
Posts: 569
Dont run the .exe file. Just extract the distribution files to a directory and setup the PATH, CLASSPATH, %CATALINA_HOME% env variable, and run startup.bat
Anjali Kumar

Joined: Aug 27, 2005
Posts: 5
Suppose i run the startup.bat,it will close with in 3 min..

Don't get me started about those stupid light bulbs.
subject: not able to run tomcat on win98
It's not a secret anymore!