Eric Harding

WAS6.1/Blaze6.6 EJB WebService Deployment failing on POST call (Invocation)

Discussion created by Eric Harding on Apr 29, 2010
Latest reply on Apr 30, 2010 by Eric Harding

I have 3 rules services that when deployed as EJB WebServices fail when trying to POST XML to them. I have built these 3 the exact same way as my other 9, but for some reason they do not want to cooperate. I am using the SerializedRulesProjectLoaderFactory to load my adb, but my calls to the WebService are not even hitting my rules (confirmed by adding print statements). There are no "special" jars used by any projects in the repository that this rule services are created from. Any assistance/thoughts are much appreciated!

 

 

The WAS IHS (WebServer) Logs show an error 500 being returned from the call:

[29/Apr/2010:10:55:18 -0500] "POST /FRScoring/services/FRScoringService HTTP/1.1" 500 1121

 

Here is the complete stacktrace from the WAS Application Server SystemOut.log:

 

[4/29/10 10:26:31:238 CDT] 00000036 ExceptionUtil E   CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "invokebeforeBureau" on bean

 

"BeanId(FRScoringServer#FRScoringServer_EJB.jar#FRScoringServer, null)". Exception data: java.lang.reflect.InvocationTargetException

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:618)

        at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeMethod(JavaDispatcher.java:178)

        at com.ibm.ws.webservices.dispatchers.ejb.J2ee14EJBDispatcher.invokeMethod(J2ee14EJBDispatcher.java:173)

        at com.ibm.ws.webservices.engine.dispatchers.java.JavaDispatcher.invokeOperation(JavaDispatcher.java:141)

        at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processRequestResponse(SoapRPCProcessor.java:464)

        at com.ibm.ws.webservices.engine.dispatchers.SoapRPCProcessor.processMessage(SoapRPCProcessor.java:425)

        at com.ibm.ws.webservices.engine.dispatchers.BasicDispatcher.processMessage(BasicDispatcher.java:134)

        at com.ibm.ws.webservices.dispatchers.ejb.J2ee14EJBDispatcher.invoke(J2ee14EJBDispatcher.java:154)

        at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:229)

        at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invoke(JAXRPCHandler.java:147)

        at com.ibm.ws.webservices.engine.handlers.WrappedHandler.invoke(WrappedHandler.java:64)

        at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:229)

        at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:229)

        at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:336)

        at com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.doPost(WebServicesServlet.java:840)

        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:1146)

        at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)

        at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:524)

        at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)

        at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:751)

        at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)

        at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:125)

        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$1.run(AsyncChannelFuture.java:205)

        at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

Caused by: com.blazesoft.server.deploy.ejb.NdWrappedEJBException: nested exception is: com.blazesoft.util.NdWrappedRuntimeException: Failed invoking service FRScoring for client context ID null.

Service session Id number 0.

Service 'FRScoring'. Server 'FRScoring' on host 'ncc03673.fpd.cat.com'.

Evaluation error

Expression produces unexpected value: unknown.

unknown

Failed invoking service FRScoring for client context ID null.

Service session Id number 0.

Service 'FRScoring'. Server 'FRScoring' on host 'ncc03673.fpd.cat.com'.

Evaluation error

Expression produces unexpected value: unknown.

unknown

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:522)

        at com.blazesoft.objects.ejb.NdEJBLib.newEJBSystemException(:443)

        at com.blazesoft.server.deploy.ejb.session.NdStatelessEjbServerBean.invokeService(:233)

        at frscoringServer.FRScoringBean.invokebeforeBureau(Unknown Source)

        ... 37 more

 

[4/29/10 10:26:31:281 CDT] 00000036 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file

 

/opt/ibm/app/was/6.1.0/AppServer/profiles/AppSrv04/logs/ffdc/EBIZ01_00000036_10.04.29_10.26.31_0.txt

[4/29/10 10:26:31:293 CDT] 00000036 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file

 

/opt/ibm/app/was/6.1.0/AppServer/profiles/AppSrv04/logs/ffdc/EBIZ01_00000036_10.04.29_10.26.31_0.txt

[4/29/10 10:26:31:308 CDT] 00000036 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file

 

/opt/ibm/app/was/6.1.0/AppServer/profiles/AppSrv04/logs/ffdc/EBIZ01_00000036_10.04.29_10.26.31_1.txt

[4/29/10 10:26:31:344 CDT] 00000036 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file

 

/opt/ibm/app/was/6.1.0/AppServer/profiles/AppSrv04/logs/ffdc/EBIZ01_00000036_10.04.29_10.26.31_1.txt

[4/29/10 10:26:31:361 CDT] 00000036 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file

 

/opt/ibm/app/was/6.1.0/AppServer/profiles/AppSrv04/logs/ffdc/EBIZ01_00000036_10.04.29_10.26.31_2.txt

[4/29/10 10:26:31:417 CDT] 00000036 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file

 

/opt/ibm/app/was/6.1.0/AppServer/profiles/AppSrv04/logs/ffdc/EBIZ01_00000036_10.04.29_10.26.31_2.txt

Outcomes