| Author |
configuring Tomcat 5.0
|
mara thamizhan
Ranch Hand
Joined: Jul 05, 2006
Posts: 74
|
posted

0
|
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
Joined: Feb 05, 2001
Posts: 17233
|
posted

0
|
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
|
Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
|
Setting the environment variable JAVA_HOME is all that should be required.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Lucky Chawla
Greenhorn
Joined: Aug 08, 2006
Posts: 22
|
|
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
Joined: Dec 11, 2004
Posts: 13410
|
|
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.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56191
|
|
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.
|
 |
 |
|
|
subject: configuring Tomcat 5.0
|
|
|