thats because the manager webapp accesses classes from 
$TOMCAT_HOME/server/webapps/manager/WEB-INF/lib/catalina-manager.jar
if you place the classes in $TOMCAT_HOME/server/webapps/manager/WEB-INF/classes 
the manager webapp will be able to access those classes

M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Ravi116" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Wednesday, October 25, 2006 10:30 AM
Subject: RE: How to use catalina classloader


> 
> The manager servlet implements CatalinaServlet (so gets initialized with
> setWrapper method). I have written a similar custom servlet, but it seems to
> be not calling setWrapper since it dosent load using the Catalina
> classloader. The documentation suggests to be put the classes in 
> server/classes, but it makes automated builds harder. Besides tomcat manager
> dosent seem to have its classes in server/classes. Any help is appreciated.
> Ravi
> 
> 
> 
> Caldarale, Charles R wrote:
>> 
>>> From: Ravi116 [mailto:[EMAIL PROTECTED] 
>>> Subject: RE: How to use catalina classloader
>>> 
>>> I am referencing the Tomcat manager used to deploy/undeploy 
>>> web application (/admin/html).
>> 
>> There is no /admin/html servlet, so I assume you mean /manager/html.
>> Since this webapp does not appear to need access to the classloader for
>> server/lib, why does your enhanced version need it?
>> 
>>  - 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]
>> 
>> 
>> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/How-to-use-catalina-classloader-tf2504023.html#a6993166
> Sent from the Tomcat - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> 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