> From: testwreq wreq [mailto:testw...@gmail.com]
> Subject: Re: How do I set up and run Tomcat 5.5.23 on Cetos5.3
> 
> 1/I already have apache running on port 80. If I start the tomcat
> service, I think it will probably start on port 80 as well.

The standard Tomcat downloads are configured to use port 8080 by default; what 
your version has isn't known, so you'll have to look in Tomcat's 
conf/server.xml file.

> 2/ I have setup the following environment variables
> JAVA_HOME=/usr/lib/jvm/java

Good.

> CATALINA_HOME = /usr/share/tomcat5

You probably don't need that; the standard Tomcat startup scripts determine 
what the value should be.  However, since you're not using a standard Tomcat, 
it's hard to tell.

> PATH=$PATH:$JAVA_HOME/bin

Good.

> CLASSPATH=.:$JAVA_HOME/jre/lib:$JAVA_HOME/lib:$JAVA_HOME/lib/tools.jar

Get rid of CLASSPATH; never, never, never use the CLASSPATH environment 
variable (for any Java application).

> 4/ Is there anything else that should be done to setup tomcat?

Go through the server.xml file and see if there's anything you need to change.  
Read the Tomcat docs for more information.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to