It's not a secret anymore!*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "not able to run tomcat on win98" Watch "not able to run tomcat on win98" New topic
Author

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
SCJP1.4, SCWCD1.4
Paul Sturrock
Bartender

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
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Moved to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anjali Kumar
Greenhorn

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
Rancher

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

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
Greenhorn

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

I set the JAVA HOME,CATALINA HOME,PATH,CLASS PATH.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not able to run tomcat on win98