This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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
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