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 how to set catalina home Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "how to set catalina home" Watch "how to set catalina home" New topic
Author

how to set catalina home

komala nilima
Greenhorn

Joined: May 06, 2005
Posts: 8
i downloaded the tomcat5.0.27 as a zip file. I din't find any exe file in that and tell me how to set catalina home pls tell it by taking ur own path as example.

thank u in advance
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 7921

In a command prompt:


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
komala nilima
Greenhorn

Joined: May 06, 2005
Posts: 8
still the path is not set.By doing that also the msg shows like this This environment variable is needed to run this program

%CATALINA_HOME% means we have to give the previous path i.e c:\software\tomcat5.0.28

sir pls tell me this more clearly sir

Thank u once again for replying me sir
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
Try editing your autoexec.bat file. Please bare with me, it has been awhile since I used DOS.

Then insert the following:



Then reboot your PC.

Open up a DOS window and echo the following commands, but I like to cd to the environment variables, this will tell me if I set them correctly:

Like I stated earlier, it has been awhile since I used DOS, so "buyer" beware.
I hope this helps.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11863
To set environment variables that are always there as opposed to only being valid in one Command Prompt, use the Control Panel -> System -> Advanced -> Environment Variables dialog.
Bill


Java Resources at www.wbrogden.com
 
 
subject: how to set catalina home
 
Threads others viewed
not able to run tomcat on win98
Help in Apache Tomcat for scwcd
requested resource (first.jsp) not available
how to set export the Catalina servlet container of Apache Tomcat
Tomcat as a server & a container, how?
developer file tools