I'm getting some wacky behavior with configuring SOAP and Tomcat 4.0
(release)...
i configured catalina.sh to add mail.jar and activation.jar to the
classpath, using the files available respectively from
tomcat_home/common/lib. When I try to list/deploy/undeploy or run the
rpcrouter, the following error is returned:
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
so, to solve this, i figured i'd throw the servlet.jar into catalina.sh and
see what happens. then i get the following error when i try to deploy:
java.lang.LinkageError: Class javax/servlet/ServletContext violates loader
constraints
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
...
and the following error when i run rpcrouter:
java.lang.ClassCastException: org.apache.soap.server.http.RPCRouterServlet
at org.apache.catalina.core.StandardWrapper.load(Unknown Source)
at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
...
I've noticed others have had problems setting this up. is there a consensus
on what's wrong with this? i'm using JDK 1.3.1, Xerces 1.4.3...
thanks
Ron