> From: rajendra_sakpal [mailto:[EMAIL PROTECTED] 
> Subject: RE: Problem with application installation in Tomcat 5.5.
> 
> We have followed the same procedure to deploy the application 
> in Tomcat 5.5 as we did in Tomcat 4.X.

Configuration and deployment are somewhat different in 5.5; read the
docs.

> The application jar was in the classpath as set in the
> TOMCAT/bin/setclasspath.sh.

Do not ever, ever do that, even under Tomcat 4.  It was a bad idea then,
it's a worse one now.

> appBase="/home/redhot/redhot1.25/redhotdata/web"

The above is fine; it tells Tomcat to use the specified directory as
appBase, rather than the standard $CATALINA_BASE/webapps.

> Also, I have added the jar in <TOMCAT_HOME>/bin/setclasspath.sh.  

Repeat: don't ever do that.  Webapps should be packaged in a .war file
(or the expanded equivalent), and webapp jars should be placed in
WEB-INF/lib inside the webapp.  This is documented in the servlet spec,
which you should be familiar with.

> What's the alternative way to deploy the application as a jar file in
> Tomcat?

Follow the servlet spec and the procedures in the Tomcat 5.5 doc.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to