Announcement Announcement Module
Collapse
No announcement yet.
Can't get Spring WS application running on WAS 6.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't get Spring WS application running on WAS 6.1

    I have searched this forum as well as the internet, and I am having difficulty finding a set of libraries that will run correctly within WAS 6.1 using the PARENT_LAST strategies I have read about. Does anyone have a complete set of library dependencies you can share that works with Spring WS 1.5.9 and runs correctly on WAS 6.1? I would absolutely appreciate it! I have been banging my head against a wall trying to get this working. In fact, I can't get it to NOT work on Tomcat, regardless of which configuration of library dependencies I have configured.

    Following are a couple of the stack traces that have occurred as I've tried to get this working in WAS:

    Code:
    [11/17/10 11:06:15:326 CST] 00000023 WebApp        E   [Servlet Error]-[spring-ws]: java.lang.IncompatibleClassChangeError
                at org.springframework.ws.server.endpoint.support.PayloadRootUtils.getPayloadRootQName(PayloadRootUtils.java:63)
                at org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping.resolveQName(PayloadRootQNameEndpointMapping.java:57)
                at org.springframework.ws.server.endpoint.mapping.AbstractQNameEndpointMapping.getLookupKeyForMessage(AbstractQNameEndpointMapping.java:33)
                at org.springframework.ws.server.endpoint.mapping.AbstractMapBasedEndpointMapping.getEndpointInternal(AbstractMapBasedEndpointMapping.java:106)
                at org.springframework.ws.server.endpoint.mapping.AbstractEndpointMapping.getEndpoint(AbstractEndpointMapping.java:83)
                at org.springframework.ws.server.MessageDispatcher.getEndpoint(MessageDispatcher.java:255)
                at org.springframework.ws.server.MessageDispatcher.dispatch(MessageDispatcher.java:208)
                at org.springframework.ws.server.MessageDispatcher.receive(MessageDispatcher.java:170)
                at org.springframework.ws.transport.support.WebServiceMessageReceiverObjectSupport.handleConnection(WebServiceMessageReceiverObjectSupport.java:88)
                at org.springframework.ws.transport.http.WebServiceMessageReceiverHandlerAdapter.handle(WebServiceMessageReceiverHandlerAdapter.java:57)
                at org.springframework.ws.transport.http.MessageDispatcherServlet.doService(MessageDispatcherServlet.java:230)
                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
                at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
                at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440)
                at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
                at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
                at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
                at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    Code:
    [11/16/10 17:40:02:781 CST] 0000001c ServletWrappe E   Deregister the mbean because of uncaught init() exception thrown by servlet spring-ws: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception thrown by servlet
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:270)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:319)
                at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:412)
                at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
                at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440)
                at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
                at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461)
                at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
                at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
                at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
                at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
    ---- Begin backtrace for Nested Throwables
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping#0' defined in ServletContext resource [/WEB-INF/spring-ws-servlet.xml]: Cannot create inner bean 'org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor#38e638e6' of type [org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor] while setting bean property 'interceptors' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor#38e638e6' defined in ServletContext resource [/WEB-INF/spring-ws-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: http://www.w3.org/2001/XMLSchema
                at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
            ...
    Thanks in advance!
Working...
X