How to access WebService implementation from Context?

2006-05-01 Thread Andrew McDowall
Hi, I have a WebService that implements a specific interface (Registerable), and a Valve who's actions depend upon whether the WebService dealing with a given request implements this Registerable interface. What I need to be able to do, in the invoke method of the Valve, is somehow say: if(Reque

WebappClassLoader delegates to SystemClassLoader, not CustomClassLoader

2006-04-14 Thread Andrew McDowall
Hi, I'm running into ClassLoader problems when using a custom ClassLoader with an embedded Tomcat. The problem, as I understand it, is arising due to multiple versions of log4j being loaded by different ClassLoaders resulting in ClassCastExceptions or expected interfaces not being implemented. I

RE: Embedded Tomcat stops deploying WARs when using custom ClassLoader

2006-04-14 Thread Andrew McDowall
It would appear that my problem was solved by simply changing the line 'new Catalina();' to 'new Embedded();', so now it unpacks. -Original Message- From: Andrew McDowall [mailto:[EMAIL PROTECTED] Sent: 13 April 2006 16:56 To: users@tomcat.apache.org Subject: E

Embedded Tomcat stops deploying WARs when using custom ClassLoader

2006-04-13 Thread Andrew McDowall
Hi, I am currently working on a fairly complex system which provides a means to incorporate 'pluggable' functionality using an embedded Tomcat - essentially it allows WARs to be dropped into a specific directory, the embedded Tomcat then unpacks and deploys the WAR. This has been working without