A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Problem with Tomcat: says CATALINA_HOME not defined correctly.
Joined: Jan 27, 2012
Jan 27, 2012 13:45:42
I can't get
to work. When I run
I get the following error:
The CATALINA_HOME environment variable is not defined correctly.
I have CATALINA_HOME defined as %TOMCAT_HOME%
I have TOMCAT_HOME defined as C:\Users\Mel\Java\tomcat\apache-tomcat-6.0.35\
CLASSPATH is C:\Users\Mel\Java\tomcat\apache-tomcat-6.0.35\lib\servlet.jar
The directory for C:\Users\Mel\Java\tomcat\apache-tomcat-6.0.35\ definitely contains bin, and C:\Users\Mel\Java\tomcat\apache-tomcat-6.0.35\bin\ contains startup.bat
What am I doing wrong?
J. Kevin Robbins
Joined: Dec 16, 2010
Jan 27, 2012 13:54:42
Try removing that trailing backslash at the end of the path. Then from a command prompt, do a "set" to make sure the environment variable looks the way you expect it to.
"The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do." -- Ted Nelson
Author and ninkuma
Joined: Jan 10, 2002
Jan 27, 2012 14:38:28
You shouldn't have CATALINA_HOME defined as anything! All you need to define is JAVA_HOME. The startup scripts take care of the rest.
Asking smart questions
Books by Bear
Joined: Jan 28, 2008
Jan 29, 2012 00:58:05
and Welcome to JavaRanch Mel Anisky !
I agree. Here's the link:
subject: Problem with Tomcat: says CATALINA_HOME not defined correctly.
startup.bat stops itself
"Head First Servlets & JSP" tomcat instructions
ben..............tomcat is not installing
apache tomcat is arrogant...........huh
Tomcat installation problems!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014