• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

configuring Tomcat 5.0

 
mara thamizhan
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65125
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting the environment variable JAVA_HOME is all that should be required.
 
Lucky Chawla
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this would help you
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
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lucky Chawla:
I think this would help you
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
Pie
Posts: 65125
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic