Ravi116 wrote:
Charles,
Sorry abt the typo. I have tried the privileged=true in application
context xml file. dosent work. Wondering if the code loads with Catalina
classloader based on package structure ?
No. Package structure is not a factor. privileged=true should be
enough. You can use
I am referencing the Tomcat manager used to deploy/undeploy web application
(/admin/html).
Ravi
Caldarale, Charles R wrote:
From: Ravi116 [mailto:[EMAIL PROTECTED]
Subject: RE: How to use catalina classloader
Writing a custom tomcat manager to add roll-back features.
Assuming
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
, 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
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
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Subject: Re: How to use catalina classloader
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
From: Ravi116 [mailto:[EMAIL PROTECTED]
Subject: RE: How to use catalina classloader
The manager servlet implements CatalinaServlet (so gets
initialized with setWrapper method).
It's ContainerServlet, not CatalinaServlet. A higher degreee of
accuracy in your mailings will get you
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Subject: RE: How to use catalina classloader
Have you tried setting the privileged attribute of your Context
element to true?
Should have noted that whatever build mechanism you use will still have
to put catalina.jar on the javac
Charles,
Sorry abt the typo. I have tried the privileged=true in application
context xml file. dosent work. Wondering if the code loads with Catalina
classloader based on package structure ?
Ravi
--
View this message in context:
From: Ravi116 [mailto:[EMAIL PROTECTED]
Subject: RE: How to use catalina classloader
Wondering if the code loads with Catalina
classloader based on package structure ?
Looks to me like either that or the privileged flag should work. Here's
the relevant code snippets from
From: Ravi116 [mailto:[EMAIL PROTECTED]
Subject: How to use catalina classloader
Need the web application to use catalina classloader.
What problem are you actually trying to solve?
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for
Writing a custom tomcat manager to add roll-back features.
Ravi
Caldarale, Charles R wrote:
From: Ravi116 [mailto:[EMAIL PROTECTED]
Subject: How to use catalina classloader
Need the web application to use catalina classloader.
What problem are you actually trying to solve?
-
From: Ravi116 [mailto:[EMAIL PROTECTED]
Subject: RE: How to use catalina classloader
Writing a custom tomcat manager to add roll-back features.
Assuming you're talking about a session.StandardManager replacement, I
think you'd have to put it under server/classes rather than having
13 matches
Mail list logo