I suspect that there's a change in the way we should be deploying the
application in Tomcat 5.5.  What worked for Tomcat 4.X doesn't seem to work
with Tomcat 5.5.

Thanks & regards,
Rajendra


-----Original Message-----
From: rajendra_sakpal [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 10, 2008 6:30 PM
To: users@tomcat.apache.org
Subject: RE: Problem with application installation in Tomcat 5.5.

Hi Charles,

Thanks for your reply.  

We have followed the same procedure to deploy the application in Tomcat 5.5
as we did in Tomcat 4.X.  The application worked properly in Tomcat 4.X i.e.
The application jar was in the classpath as set in the
TOMCAT/bin/setclasspath.sh.

Here's the entry in server.xml pointing to the appBase:

      <Host name="localhost"
appBase="/home/redhot/redhot1.25/redhotdata/web"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">


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

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


Thanks & regards,
Rajendra


-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 10, 2008 6:17 PM
To: Tomcat Users List
Subject: RE: Problem with application installation in Tomcat 5.5.

> From: rajendra_sakpal [mailto:[EMAIL PROTECTED] 
> Subject: Problem with application installation in Tomcat 5.5.
> 
> The appBase is outside of the default "webapps" directory.  

Not possible; appBase defines where the default webapps directory.  Do
you mean docBase?

> The application is bundled as a jar & included in the
> classpath.

A fatal error.  To repeat: never, never put things on Tomcat's
classpath.  Do not use the CLASSPATH variable under any circumstances,
and do not add webapp jars to the command line -cp parameter.

Tomcat has a well-defined and well-documented classloader mechanism; use
it:
http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html

 - 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]


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the
property of Persistent Systems Ltd. It is intended only for the use of the
individual or entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy, print, distribute
or use this message. If you have received this communication in error,
please notify the sender and delete all copies of this message. Persistent
Systems Ltd. does not accept any liability for virus infected mails.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

---------------------------------------------------------------------
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