This is more likely to be a server error, but just in case..
I have an application accessing a couple of webservices via
org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean and
org.apache.axis.client.ServiceFactory as the serviceFactoryClass.
This works fine unless the application is restarted. After a restart,
any attempt to use the webservice results in the following stacktrace.
Any subsequent attempt to access it after this error results in a server
crash. If the server is restarted the problem doesn't occur.
Running on WebSphere 5.0.2
[11/02/05 16:58:39:337 GMT] 6f77a2bb WebGroup E SRVE0026E: [Servlet
Error]-[Class javax/xml/soap/SOAPMessage violates loader co
nstraints: definition mismatch between parent and child loaders]:
java.lang.LinkageError: Class javax/xml/soap/SOAPMessage violates
loader constraints: definition mismatch between parent and child loaders
at org.apache.axis.client.Call.<init>(Call.java:263)
at org.apache.axis.client.Service.createCall(Service.java:566)
at org.apache.axis.client.Service.createCall(Service.java:533)
at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.performJaxRpcCall(JaxRpcPortClientInterceptor.java:476)
at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:445)
at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)
at $Proxy3.GetFolderInfo(Unknown Source)
at com.xxx.XxxNews.getCategories(XxxNews.java:49)
at com.xxx.NewsController.handleRequestInternal(NewsController.java:53)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:128)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:595)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:543)
at
org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:368)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:319)
Anyone seen this kind of behaviour before?
--
Darren Davison
Public Key: http://www.davison.uk.net/pages/key.htm
|