aspose file tools*
The moose likes Tomcat and the fly likes CATALINA_HOME directory location question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "CATALINA_HOME directory location question" Watch "CATALINA_HOME directory location question" New topic
Author

CATALINA_HOME directory location question

nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 374
I am installing tomcat5.5 on laptop which has windows 7

When I check "C:\Program Files", thats where this tomcat application is installed. So is this the home directory for tomcat or home directory is different from this dir ?

1) If I want to set CATALINA_HOME variable, do I provide path as "CATALINA_HOME=C:\Program Files\Apache Software Foundation\Tomcat 5.5"

2) If I did not know that tomcat is installed in Program Files directory, how can I find out where is this application installed ? Is there a command line tool available to check this ?

3)Can I check in the event viewer about this ? I tried but could not find anything in there .

Thanks
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
nirjari patel wrote:I am installing tomcat5.5 on laptop which has windows 7


How did you install it?
nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 374
downloaded tomcat5.5 from "http://tomcat.apache.org/download-55.cgi"

Run it and follow the instructions in the wizard.

If I did not check, what dir is it being installed into, what is the way to find out what dir is it installed into ?



Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
nirjari patel wrote:downloaded tomcat5.5 from "http://tomcat.apache.org/download-55.cgi"

Run it and follow the instructions in the wizard.

If I did not check, what dir is it being installed into, what is the way to find out what dir is it installed into ?


There are several distributions of Tomcat on that page. Which one you have downloaded?
nirjari patel
Ranch Hand

Joined: Apr 23, 2009
Posts: 374
I have downloaded tomcat5.5, windows services installer under "core"
This always confuses me , which one shall I download. So is this the one I have to download or different ? I tried downloading zip (pgp, md5) under core, but not sure what went wrong.

When I run windows services installer it creates "C:\Program Files\Apache Software Foundation" path.

Is this installation dir for tomcat or is it "C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\classes" as thats where class files are kept for java class files to be run using tomcat ?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: CATALINA_HOME directory location question