I believe I've successfully done what you're trying to do ... I have a webapp named "TheDataWeb_Services.war" and I have the axis jars in that webapp's WEB-INF/lib along with my application's jar files. In addition, as per java 1.4 necessity, I have a -Djava.endorsed.dirs pointing to the axis/lib directory and the two jars associated with xerces 2 (or the equivalent of that).
I deploy to /TheDataWeb_Services/servlet/AxisServlet, and run my services against same. It all works as advertised just fine. You need to be much more precise in your description of what you've done. I'm guessing a lot with the above assumptions. Don't dig into class loader stuff -- that's unnecessary. But do precisely locate the trees for all of the axis jars and your apps jars, etc. Heitzso On Mon, 2002-05-27 at 08:03, Jesper S�derlund wrote: > I'm currently developing a service for deployment in Tomcat. > > It seems that when Axis is trying to find my service it cannot eventhough it's in >the same webapp as my axis-servlet (I've embedded it in an already existing web >application and I'm loading it through the deployment descriptor in that web app). > > I searched the code and found that Axis tries to locate the class through the >"Thread.currentThread().getClassLoader()" classloader. > > This classloader is the basic classloader provided by the JVM, thus bypassing the >Tomcat-classloaders (where my class is located). > > I run Tomcat 4.0.2 and JDK 1.4. > > Does anybody have an idea on what I'm doing wrong? > > Thanks, > /Jesper
