I am running a simple test with multiple concurrent clients that make
repeated calls to the engine and getting the NullPointerException below.
My configuration is
Tomcat 5.5.23
MySQL for backend
ODE 1.1 subversion branch (only change is the patch Jira ODE-211 applied)
Example: HelloWorld
I noticed some previous messages with the same error which seemed to
indicate a problem with the axis-kernel jar. I noticed that the 1.1 branch
already has the 1.3 jar which is supposed to have fixed the problem.
The problem seems to definitely get worse with increasing concurrent
clients. With 5 clients and 50 back to back calls a large number of them
fail.
Any suggestions will be helpful.
thanks!
Lavanya
ERROR - GeronimoLog.error(108) | Error processing response for MEX
{MyRoleMex#hqejbhcnphr2s4q4a7l7qd [Client hqejbhcnphr2s4q4a7l7qc] calling
{http://ode/bpel/unit-test.wsdl}HelloService.hello(...)}
java.lang.NullPointerException: null message!
at
org.apache.ode.bpel.engine.MessageImpl.<init>(MessageImpl.java:40)
at
org.apache.ode.bpel.engine.MessageExchangeImpl.getResponse(MessageExchangeImpl.java:97)
at org.apache.ode.axis2.ODEService.onResponse(ODEService.java:226)
at
org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:172)
at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
at
org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:50)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)