• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat???

 
Anon Ning
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13073
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic