'Connection Is Already Closed' Error When Invoking Custom Service Via JCA Adapter (Doc ID 787429.1)

Last updated on JULY 28, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 to 7.3.1.0.0 [Release 7.3.0]
Information in this document applies to any platform.
***Checked for relevance on 08-Nov-2012***


Symptoms

 Problem Statement:

In AIA environment, while invoking custom service via JCA adapter there is 'Connection is already closed' error.

 Steps To Reproduce:
1. Expose a custom opcode as service and deploy the service WSDL along with the standard BRM
service in AIA environment.
2. Try invoking the service by passing request XML.
3. Error appears as follows:


<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault>
<faultcode>env:ESBMessageProcessingFailed</faultcode>
<detail>

<EventName>BRM_SOAP_STUB.BRM_DNA_Invpice_Services.PCM_OP_DNA_INV_ITEMISED_CALL</EventName&g
t;
<Cause>An unhandled exception has been thrown in the ESB system. The exception
reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: An
unhandled exception has been thrown in the ESB system. The exception reported is:
"org.collaxa.thirdparty.apache.wsif.WSIFException:
http://dna-d8:7777/AIAComponents/ApplicationObjectLibrary/Portal/BRM73/wsdls/BRMDNAInvPolServices.ws
dl [
BRMDNAINVService_ptt::PCM_OP_DNA_INV_ITEMISED_CALL(PCM_OP_DNA_INV_ITEMISED_CALL_inputFlist,PCM_OP_DN
A_INV_ITEMISED_CALL_outputFlist) ] - WSIF JCA Execute of operation 'PCM_OP_DNA_INV_ITEMISED_CALL'
failed due to: Connection is already closed; nested exception is:
javax.resource.ResourceException: Connection is already closed
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.j
ava:633)
at
oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
at
oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterServ
ice.java:184)
at
oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAd
apterService.java:112)
at
oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatch
er.java:106)
at
oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1418)
at
oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.j
ava:314)
at
oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvid
er.java:187)
at
oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at
oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at
oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at
oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.jav
a:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.resource.ResourceException: Connection is already closed
at oracle.tip.adapter.brm.BRMInteraction.execute(Unknown Source)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.j
ava:485)
... 27 more
".

at
oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:535)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:430)
at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(WSIFInvoker.java:447)
at
oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(OutboundAdapterServ
ice.java:184)
at
oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(OutboundAd
apterService.java:112)
at
oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatch
er.java:106)
at
oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1418)
at
oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(EventOracleSoapProvider.j
ava:314)
at
oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(EventOracleSoapProvid
er.java:187)
at
oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:956)
at
oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at
oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:466)
at
oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
at
com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at
com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at
com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.jav
a:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException:
http://dna-d8:7777/AIAComponents/ApplicationObjectLibrary/Portal/BRM73/wsdls/BRMDNAInvPolServices.ws
dl [
BRMDNAINVService_ptt::PCM_OP_DNA_INV_ITEMISED_CALL(PCM_OP_DNA_INV_ITEMISED_CALL_inputFlist,PCM_OP_DN
A_INV_ITEMISED_CALL_outputFlist) ] - WSIF JCA Execute of operation 'PCM_OP_DNA_INV_ITEMISED_CALL'
failed due to: Connection is already closed; nested exception is:
javax.resource.ResourceException: Connection is already closed
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.j
ava:633)
at
oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(WSIFInvoker.java:507)
... 26 more
Caused by: javax.resource.ResourceException: Connection is already closed
at oracle.tip.adapter.brm.BRMInteraction.execute(Unknown Source)
at
oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.j
ava:485)
... 27 more
".</Cause>
</detail>
</env:Fault>
</env:Body>
</env:Envelope>

Changes

 

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