"Connection Already Closed" Error While Calling Brm Opcode using BPEL (Doc ID 1087896.1)

Last updated on OCTOBER 20, 2016

Applies to:

Oracle Communications Integration Pack for Order to Billing - Version 2.0.1 to 11.1 [Release 2.0.0 to 11.1]
Information in this document applies to any platform.

Symptoms

Custom BPEL processes, not AIA BPEL Processes, are getting an intermittent error "javax.resource.ResourceException: Connection is already closed" while calling BRM custom opcodes using the BRM adapter.  The BPEL is working fine except for this intermittent issue "Connection is already closed" coming in this process sometimes.

Extract from failing BPEL Process:

....
<event sid="BpSeq6.6" cat="2" type="4" label="Invoke_PL_BRMCustomCreditLimitService" wikey="400414-BpInv5-BpSeq6.6-2" partnerWSDL="http://host.port/AIAComponents/ApplicationObjectLibrary/Portal/BRM73/wsdls/BRMCustomCreditLimitServices.wsdl" n="16" date="2010-04-05T15:27:39.681+00:00">
  <message>
    <![CDATA[Faulted while invoking operation "ETG_PCM_OP_SET_CREDIT_PROFILE" on provider "PL_BRMCustomCreditLimitService".]]>
  </message>
  <details>
    <![CDATA[<messages>
      <input>
        <gvarinvokeBRMCustomCreditLimitServiceInput>
          <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="ETG_PCM_OP_SET_CREDIT_PROFILE_inputFlist">
            <ETG_PCM_OP_SET_CREDIT_PROFILE_inputFlist xmlns:etgaia="http://www.oracle.com/XSL/Transform/java/com.infosys.aia.etgtelco.xpathfunction.GetProductPropertyValue" xmlns:brm="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes" xmlns="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes">
              <brm:POID>0.0.0.1 /account 133440361 0</brm:POID>
              <brm:DEVICE_ID>233286006084</brm:DEVICE_ID>
              <brm:PAY_TYPE>10000</brm:PAY_TYPE>
            </ETG_PCM_OP_SET_CREDIT_PROFILE_inputFlist>
          </part>
        </gvarinvokeBRMCustomCreditLimitServiceInput>
      </input>
      <fault>
        <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
          <part name="summary">
            <summary>http://10.196.190.52:7777/AIAComponents/ApplicationObjectLibrary/Portal/BRM73/wsdls/BRMCustomCreditLimitServices.wsdl [ BRMCUSTService_ptt::ETG_PCM_OP_SET_CREDIT_PROFILE(ETG_PCM_OP_SET_CREDIT_PROFILE_inputFlist,ETG_PCM_OP_SET_CREDIT_PROFILE_outputFlist) ] - WSIF JCA Execute of operation 'ETG_PCM_OP_SET_CREDIT_PROFILE' failed due to: Connection is already closed; nested exception is:
javax.resource.ResourceException: Connection is already closed
            </summary>
          </part>  
          <part name="detail">
            <detail>javax.resource.ResourceException: Connection is already closed</detail>
          </part>
        </bindingFault>
      </fault>
    </messages>]]>
  </details>
</event>
....

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