Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JAX-RPC server in web app containing JAX-WS client - can they coexist?

903 views
Skip to first unread message

Martin Petzsch

unread,
Feb 5, 2009, 7:03:19 AM2/5/09
to
Hi,

We have an application deployed to WebSphere 6.1.0.21 (No web services feature pack). The EAR contains a single WAR which has a standard JAX-RPC web service. The EAR also contains a JAX-WS client (using the Sun reference JAX-WS libs which are packaged in EAR/lib).

We suspect that the JAX-RPC service is breaking because it is picking up a Sun JAX-WS class from the EAR libraries instead of the expected JAX-RPC implementation.

Has anyone come across a scenario with a JAX-RPC service coexisting with a JAX-WS client in the same web application? ... on a plan WebSphere installation without the Web services Feature pack.

Cheers!

When the JAX-RPC web service is invoked we get the following errors:

[2/5/09 11:11:14:325 GMT] 00000021 PivotHandlerW E com.ibm.ws.webservices.engine.PivotHandlerWrapper bindExceptionToResponse WSWS3400I: Info: unexpected exception.
java.lang.NoClassDefFoundError: com.ibm.ws.ffdc.FFDCFilter
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:296)
at com.ibm.ws.wsaddressing.namespace.NamespaceData200508. (NamespaceData200508.java:93)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
at com.ibm.ws.wsaddressing.namespace.NamespaceData.getDefaultNamespaceInstance(NamespaceData.java:58)
at com.ibm.ws.wsaddressing.handlers.InboundWSAProcessor.(InboundWSAProcessor.java:151)
at com.ibm.ws.wsaddressing.handlers.WSAddressingServerHandler.handleRequest(WSAddressingServerHandler.java:157)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandlerChain.handleRequest(JAXRPCHandlerChain.java:334)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invokeServerRequestHandler(JAXRPCHandler.java:506)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler$1.invoke(JAXRPCHandler.java:380)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:208)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:228)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:831)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServletBase.service(WebServicesServletBase.java:341)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

prana...@hotmail.com

unread,
May 19, 2009, 3:20:07 AM5/19/09
to
hi,

did you get it resolved? I am also facing same problem. please send me the solution.

Davanum Srinivas (dims)

unread,
May 19, 2009, 9:11:28 AM5/19/09
to
pranav2727, mpetzsch,

No, you cannot mix JAX-RPC in WAS 6.x with Sun JAX-WS RI as both need/have SAAJ implementations. Since the IBM JAX-RS and IBM JAX-WS share the same SAAJ implementation you will need to install the web services feature pack and switch to the IBM JAX-WS implementation. When you do switch you will need to remove the Sun RI jars from your WAR/EAR.

thanks,
dims

0 new messages