This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
    
    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:


Java Resources at www.wbrogden.com
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat???
 
Similar Threads
Help on installing Tomcat
about j2ee server
how to download j2ee server
help i cant start tomcat
Syntax error in windows 98