I have an Enterprise project consisting of Two EJB projects and a WebProject. Each EJB project has One SessionEJB. I created Web Services(Axis) for each of these two SessionEJBs and used the WebProject as the router project.
After installing the EnterpriseApplication in the WAS6 integrated test environment of RAD V6, i tried to test the web services with the WebServices Explorer in RAD V6, one of the WebServie was successful, but the other one threw the following Exception.
com.ibm.ws.webservices.engine.PivotHandlerWrapper invoke WSWS3180E: Error: Null response message
If i have only one EJB project or if i have both the Session EJBs in the same EJB project, it work is fine.
I have attached the full stack trace and the environment info below.
I'm not able to find out what is causing the issue here, all help is appreciated.
Thanks
Sam
Env :
Rational Application Developer V6 (6.0.1.1 with interim patches 1 and 2)
WebSphere Application Server 6.0.2.5 integrated test Env for RAD V6
Windows XP
Project Structure ;
TestEJBWS
Web TestEJBWeb
EJB SimpleEJBOne
SessionBeanOne
EJB SimpleEJBTwo
SessionBeanTwo
Error stackTrace :
[9/8/06 13:09:02:453 EDT] 00000020 PivotHandlerW E com.ibm.ws.webservices.engine.PivotHandlerWrapper invoke WSWS3180E: Error: Null response message.
[9/8/06 13:09:02:453 EDT] 00000020 PivotHandlerW E com.ibm.ws.webservices.engine.PivotHandlerWrapper bindExceptionToResponse WSWS3400I: Info: unexpected exception.
java.rmi.RemoteException: WSWS3180E: Error: Null response message.
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:286)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:151)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:279)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:717)
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)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1284)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:674)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
[9/8/06 13:09:02:453 EDT] 00000020 UserException E WSWS3228E: Error: Exception: WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: WSWS3400I: Info: unexpected exception.
faultActor: null
faultDetail:
WSWS3400I: Info: unexpected exception.
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.bindExceptionToResponse(PivotHandlerWrapper.java:408)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:299)
at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:151)
at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:226)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:279)
at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:717)
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)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1284)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:674)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1924)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:89)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
Caused by: java.rmi.RemoteException: WSWS3180E: Error: Null response message.
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:286)
... 24 more
any suggestions/help?
thanks
Sam
Open a PMR with IBM.
Ken
Issue: WebServices router EJBs
In RAD6 (Version: 6.0.1) using the WAS6 TestEnvironment (with embedded WAS 6.0.2.5 on Windows, later 6.0.2.15), I have a number of EJBs and want to create a WebService interface to each. I want to address each using the same context-root, so want a single Web-Application and a servlet-mapping for each EJB in the Web Deployment Descriptor.
The artefacts generated using the wizards seem ok. The EJBs and client-jars are in the EAR file, the servlets in the Web DD for the 'routerProject' WebApp. I verified that the EJBs work via the UTC. However,
When I add each new WebService e.g Serv1,Serv2 etc. , and check availability from a browser (e.g. http://localhost:9080/routerProject/services/Serv2) , I notice the following:
1) The latest added WebService returns e.g.
{http://ejbs}Serv2
Hi there, this is a Web service!
whereas each earlier added Web Service returns:
null
Hi there, this is a Web service!
i.e. the 'null' replaces the url.
2) Using the 'Test using the Web Services Explorer' on each WSDL, only the most recently added service works. The earlier services report (after 'Initialization successful').
[13-11-06 18:25:03:629 CET] 00000040 PivotHandlerW E com.ibm.ws.webservices.engine.PivotHandlerWrapper invoke WSWS3180E: Error: Null response message.
[13-11-06 18:25:03:649 CET] 00000040 PivotHandlerW E com.ibm.ws.webservices.engine.PivotHandlerWrapper bindExceptionToResponse WSWS3400I: Info: unexpected exception.
java.rmi.RemoteException: WSWS3180E: Error: Null response message.
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:282)
It would be interesting to hear if you have a solution (other than putting all session beans in the same EJB project)