Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes Installation of Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Installation of Tomcat" Watch "Installation of Tomcat" New topic
Author

Installation of Tomcat

Jess Ishasder
Greenhorn

Joined: Feb 19, 2002
Posts: 21
Hi. I got a problem about installation of Tomcat.
I've downloaded jarkarta-tomcat-4.0.4.zip and extracted it at C:\
I edited C:\autoexec.bat as follows:
SET CATALINA_HOME=C:\jakarta-tomcat-4.0.4
SET JAVA_HOME=C:\J2SDK1.4.0_01
SET CLASSPATH=C:\jakarta-tomcat-4.0.4\common\lib\servlet.jar;
SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.0_01\BIN
I'm using ME.
However, I can't startup the Tomcat.
Whenever I typed C:\jarkarta-tomcat-4.0.4\bin\startup, it got an error
message saying that "The CATALINA_HOME environment variable is not defined
correctly.This environment variable is needed to run this program."
Is it wrong about my settings?
Also, is jarkarta-tomcat-4.0.4.exe functioning same as
jarkarta-tomcat-4.0.4.zip?
Thank you for your help!
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
the .exe file does everthing for you so you dont have to worry about setting all the varialbes etc, so in a way its preferrable.
I am sure you have been told the ME is a road crash of an operating system so you are bound to be having some problems but I know other people who have managed to get it working so do keep going.
You need to double check for the existence of those system variables, as they may not have been created despite your adding them to the batch file.


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Moved from Servlets -> Apache/Tomcat

Also: When you set them in autoexec.bat, you have to restart the pc. Also check out these links for Win ME

http://www.coderanch.com/t/81609/Tomcat/Tomcat-startup-Windows-ME
http://www.coderanch.com/t/81802/Tomcat/Help-starting-Tomcat
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Double-check your installation with this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installation of Tomcat
 
Similar Threads
unable to start tomcat 4.1.21
please help with tomcat
Tomcat 4.1.17 Installation
Problem With Installing Tomcat 4.1 17 In The Windows 98
The CATALINA_HOME enviornment variable