Invoke an External Webservice From SOA Running on WebSphere: NameNotFoundException: Name comp/env/ejb not found in context "java:" BeanNotReentrantException: METHOD_READY: Tx != null (Doc ID 945778.1)

Last updated on OCTOBER 18, 2016

Applies to:

Oracle(R) BPEL Process Manager - Version 10.1.3.3.1 to 10.1.3.4 [Release AS10gR3]
Information in this document applies to any platform.
***Checked for relevance on 18-June-2013***

Symptoms

You get the errors mentioned below with server failing to respond when you invoke an external webservice from SOA Suite installed on Websphere Application Server:

<BaseCubeSessionBean::logError> Error while invoking bean "delivery":
[com.oracle.bpel.client.ServerException: Failed to create
"java:comp/env/ejb/local/CubeEngineLocalBean" bean; exception reported is:
"javax.naming.NameNotFoundException: Name "comp/env/ejb/local/CubeEngineLocalBean" not found in
context "java:".
at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1095)
at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:991)
at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)
<2009-09-14 13:10:03,737> <ERROR> <default.collaxa.cube.engine.dispatch>
<BaseScheduledWorker::process> Failed to handle dispatch message ... exception ORABPEL-05002

Message handle error.
An exception occurred while attempting to process the message
"com.collaxa.cube.engine.dispatch.message.system.RemoveMessage"; the exception is:
com.ibm.ejs.container.BeanNotReentrantException: METHOD_READY: Tx != null

ORABPEL-05002

Message handle error.
An exception occurred while attempting to process the message
"com.collaxa.cube.engine.dispatch.message.system.RemoveMessage"; the exception is:
com.ibm.ejs.container.BeanNotReentrantException: METHOD_READY: Tx != null

at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:171)
at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1014)
at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:747)
at $Proxy1.onMessage(Unknown Source)
at
com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.jav
a:201)
at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:768)
at
com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.j
ava:584)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:419)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
<2009-09-14 13:10:03,892> <ERROR> <default.collaxa.cube.engine.dispatch>
<DispatchHelper::handleMessage> failed to handle message
javax.ejb.RemoveException: com.ibm.ejs.container.BeanNotReentrantException: METHOD_READY: Tx != null
at com.ibm.ejs.container.EJSContainer.removeBean(EJSContainer.java:2511)
at com.ibm.ejs.container.EJSLocalWrapper.remove(EJSLocalWrapper.java:157)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms