wood burning stoves 2.0*
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "tomcat???" Watch "tomcat???" New topic
Author

tomcat???

Anon Ning
Greenhorn

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.
Thanks!
Anon
04/15/01
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
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.
Bill

------------------
author of:
ryan headley
Ranch Hand

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


Ryan Headley<br /><a href="http://www.sudovi.com" target="_blank" rel="nofollow">http://www.sudovi.com</a>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: tomcat???