# configuring Tomcat 5.0

mara thamizhan
Ranch Hand
Posts: 74
hi all,

I have just downloaded Tomcat 5.0 from the net & didn't know how to configure it (i.e. to make it map the jre environment)

Friends your help in this regard is very much appreciated!

cheers,
arrgem.

Mark Spritzler
ranger
Sheriff
Posts: 17278
6
First I recommend Tomcat 5.5.

Second, have you set the JAVA_HOME or CATALINA_HOME? THat is pretty much all that would be needed.

Also, we have a Tomcat forum, so I am going to move this to that forum.

Mark

Bear Bibeault
Author and ninkuma
Marshal
Posts: 64720
86
Setting the environment variable JAVA_HOME is all that should be required.

Lucky Chawla
Greenhorn
Posts: 22
set the path as follows in environment variables

C:\Tomcat 5.0\common\lib\jsp-api.jar;
C:\j2sdk1.4.0_01\bin;C:\Tomcat 5.0\common\lib\servlet-api.jar;
catalina_home:--C:\Tomcat 5.0
java_home:-C:\j2sdk1.4.0_01
thanks
Lucky

Ben Souther
Sheriff
Posts: 13411
Originally posted by Lucky Chawla:
set the path as follows in environment variables

C:\Tomcat 5.0\common\lib\jsp-api.jar;
C:\j2sdk1.4.0_01\bin;C:\Tomcat 5.0\common\lib\servlet-api.jar;
catalina_home:--C:\Tomcat 5.0
java_home:-C:\j2sdk1.4.0_01
thanks
Lucky

You don't ever need to add jar files to your PATH environment variable.
PATH is used by the system to find command line executables.

CLASSPATH is used by Java to find Java class files.

Also note that in Unix type systems, environment varaibles are case sensitive. Both of these should be spelled with upper case letters.

Bear Bibeault
Author and ninkuma
Marshal
Posts: 64720
86
Originally posted by Lucky Chawla:

catalina_home:--C:\Tomcat 5.0

Also, you should not set the CATALINA_HOME environment variable. The Tomcat shell scripts will figure it out for themselves.