File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes tomcat??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat???" Watch "tomcat???" New topic


Anon Ning

Joined: Mar 09, 2001
Posts: 19
Hi all:
I just begin to study Servlet and JSP.I spent a lot of time to install tomcat,but it still doesn't work.When I click startup, it appears "Out of environment space Out of environment space Out of environment space Unable to determine the value of CATALINA_HOME". I don't know why? Please help me because I have spent too much time on it.In addition, mu computer's os is Windows Me.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
The environment space it is talking about is for environment variables such as PATH, JAVA_HOME, TOMCAT_HOME CLASSPATH, etc.
Tomcat has some bulky ones so on Windows 98 (and apparently on WinME) you have to increase the amount of memory reserved for environment variables. The OS is not bright enough to do it itself.
On Win98, you can do this by changing the properties of the MSDOS Prompt window. Open a MSDOS Prompt, click the upper left corner and select properties from the menu. From the Memory tab of the dialog, set a larger value in "Initial Environment" - try 3072 or larger. I dunno how WinME does this but it should be similar.
I think that will fix your Catalina Home problem.
Incidently, never try to run Tomcat by clicking on a bat file, open a MSDOS prompt, change to the tomcat\bin directory and execute the startup bat file.

author of:
ryan headley
Ranch Hand

Joined: Jun 28, 2000
Posts: 156
We use tomcat and start/stop it from the included batch fine here...are you just warning us to make it easier to avoid the environment issues or what...
just askin...

Ryan Headley<br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: tomcat???
It's not a secret anymore!