WebappClassLoader problem

2013-07-31 Thread Edward W. Rouse
I'm losing my mind here. I finally went full standard to see if the changes in tomcat 7 would allow me to avoid custom class loaders and contexts, but ran into a catch-22 issue. I was getting: java.lang.ClassCastException: com.sun.xml.ws.transport.http.servlet.WSServletContainerInitializer

context problem

2013-07-24 Thread Edward W. Rouse
I have a web app that worked in version 5.5, not working in version 7.0. The Context.xml is: Context Resources className=com.comsquared.idw.catalina.ext.IDWMFileDirContext / Loader loaderClass=com.comsquared.idw.catalina.ext.IDWMClassLoader/ Resource

RE: context problem

2013-07-24 Thread Edward W. Rouse
Thanks for the response, let’s work backwards. 3 – yes 2 – looked at and not applicable in this case 1 – The custom classLoader is set fine and it works, except it doesn’t loader the classes from the webapp base dir, only the outside base dir. Also, if I leave out the custom classLoader by

RE: context problem

2013-07-24 Thread Edward W. Rouse
problem From: Edward W. Rouse [mailto:ero...@comsquared.com] Subject: context problem IDWMClassLoader extends WebappClassLoader. I have been reading to docs to try and figure out how to get both the normal webapp base directories and the outside the base directories to be found. I suspect you

WebappClassLoader javadoc curiosity

2013-07-18 Thread Edward W. Rouse
Looking at http://tomcat.apache.org/tomcat-7.0-doc/api/index.html for more info about org.apache.catalina.loader.WebappClassLoader and I ran up against a bit of missing information. The 4th implementation note mentions addJar(), which is what I wanted a bit more info on, but addJar() is not