Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help on installing Tomcat on Win ME

 
Mani Jagathesan
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have j2sdk1.4.2_09 installed. I downloaded "jakarta-tomcat-5.0.28.exe" and installed Tomcat successfully - double clicked .exe and it installed fine.

Following are my environment variables:

JAVA_HOME c:\j2sdk1.4.2_09
TOMCAT_HOME c:\Tomcat
CLASSPATH c:\Tomcat\bin
CATALINA_HOME c:\Tomcat

I get the following error messages:

a. Type in the url "http://localhost:8080/", error message "The connection was refused when attempting to connect to contact localhost:8080" in the browser.

b. Double clicked "startup.bat" under c:\Tomcat\bin and I got the following error message:

-------------------------
Out of environment space
Out of environment space
Using CATALINA_BASE:
Using CATALINA_HOME: C:\Tomcat
Using CATALINA_TMPDIR:
Using JAVA_HOME: C:\j2sdk1.4.2_09
Out of environment space
Out of environment space
Out of environment space
Bad command or file name
-------------------------

I then added the line "shell=c:\command.com /E:4096 /P" to c:\config.sys file (it was empty when I opened this file and I added this line). Tried to run (double clicked) "startup.bat" under c:\Tomcat\bin and I got the same error message (b) as above.

I am installing on Win ME, is it a Win ME problem? Any pointers/suggestions to get Tomcat up and running on Win ME?

Thanks in advance.

Mani
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, couldn't say anything, may someone else faced it before.

I would say just uninstall the tomcat and download the zipped version. Just unzip it, set the environment variable and there you go, I hope. Just a thought.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue has been address several times in this forum.
Use the search feature with keywords: environment space and you should find instructions for increasing the environment space memory allocation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic