aspose file tools*
The moose likes Tomcat and the fly likes $CATALINA_HOME 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 "$CATALINA_HOME" Watch "$CATALINA_HOME" New topic
Author

$CATALINA_HOME

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
I am trying to do following.

(3) Start Up Tomcat

(3.1) Tomcat can be started by executing the following commands:

$CATALINA_HOME\bin\startup.bat (Windows)

When I run above command on cmd prompt , I get message path can not be found. How to find path for $CATALINA_HOME from cmd prompt ?

IS running this command on cmd prompt or starting tomcat service from "services" is same or different ?

thanks
James Byars
Ranch Hand

Joined: Apr 15, 2009
Posts: 42
Well, if you have not set your environment variable CATALINA_HOME, and then type the below, Windows does not know what path to replace CATALINA_HOME by.

CATALINA_HOME needs to be the top level installation directory for Tomcat. For example, if you installed Tomcat at C:\jakarta-tomcat, then set this value to CATALINA_HOME
Ryan Beckett
Ranch Hand

Joined: Feb 22, 2009
Posts: 192
Setting Environment Variables in Windows
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: $CATALINA_HOME
 
Similar Threads
can i have tomcat 4 and tomcat 5 together ?
Unable to start Tomcat
Need Help starting Tomcat
please help with tomcat
First steps with tomcat