Re: How to use catalina classloader

2006-10-26 Thread Mark Thomas
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

RE: How to use catalina classloader

2006-10-25 Thread Ravi116
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

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
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

RE: How to use catalina classloader

2006-10-25 Thread Ravi116
, 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

Re: How to use catalina classloader

2006-10-25 Thread Martin Gainty
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

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
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

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
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

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
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

RE: How to use catalina classloader

2006-10-25 Thread Ravi116
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:

RE: How to use catalina classloader

2006-10-25 Thread Caldarale, Charles R
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

RE: How to use catalina classloader

2006-10-24 Thread Caldarale, Charles R
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

RE: How to use catalina classloader

2006-10-24 Thread Ravi116
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? -

RE: How to use catalina classloader

2006-10-24 Thread Caldarale, Charles R
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