File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Help on installing Tomcat on Win ME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Help on installing Tomcat on Win ME" Watch "Help on installing Tomcat on Win ME" New topic
Author

Help on installing Tomcat on Win ME

Mani Jagathesan
Ranch Hand

Joined: Sep 19, 2005
Posts: 33
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

Joined: Aug 15, 2004
Posts: 2874
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

Joined: Dec 11, 2004
Posts: 13410

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.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on installing Tomcat on Win ME