PI Adapter applications locked during startup

Symptom
Synchronous message processing for RFC, JMS or SOAP Sender Adapters fails with the error messages below. The problem occurs only once after a system or a service restart.
Example error message for RFC Adapter:
com.sap.engine.interfaces.messaging.api.exception.MessagingException:
com.sap.engine.services.jndi.persistent.exceptions.NamingException:
Exception during lookup operation of object with name
localejbs/RfcAFBean, cannot resolve object reference.
[Root exception is javax.naming.NamingException: Error occurs while
the EJB Object Factory trying to resolve JNDI reference Reference
Class Name: Type: clientAppName Content:
sap.com/com.sap.aii.adapter.rfc.app Type: interfaceType Content:
local Type: ejb-link Content: RfcAFBean Type: jndi-name Content:
RfcAFBean Type: local-home Content:
com.sap.aii.af.lib.mp.module.ModuleLocalHome Type: local Content
com.sap.aii.af.lib.mp.module.ModuleLocal javax.ejb.EJBException:
nested exception is: java.rmi.RemoteException: [ERROR CODE DPL.DS.6125]
Error occurred while starting application locally and wait.; nested
exception is:
com.sap.engine.services.deploy.exceptions.ServerDeploymenException: [ERROR CODE DPL.DS.5070] Already started operation with
application sap.com/com.sap.aii.adapter.rfc.app in the cluster. No
other operation with this application is allowed at the moment, becau
it is locked in the enqueue server or the lock from there has been
manually removed.

Reason and Prerequisites
The affected Adapter tries to send a message while the application that contains the Adapter’s “message listener” is in startup mode. For synchronous message processing this can lead to failed messages. To avoid this behaviour the startup mode of the relevant application has been changed.
Solution
The problem is solved with the following Support Package and Patch Level of Software Component “XI ADAPTER FRAMEWORK” (SAPXIAF):
SAP NetWeaver 7.10 SP5
XI ADAPTER FRAMEWORK 7.10 : SAPXIAF05 – Patch ??

SAP NetWeaver 7.10 SP6
XI ADAPTER FRAMEWORK 7.10 : SAPXIAF06 – Patch 25

SAP NetWeaver 7.10 SP7
XI ADAPTER FRAMEWORK 7.10 : SAPXIAF07 – Patch 14

SAP NetWeaver 7.10 SP8
XI ADAPTER FRAMEWORK 7.10 : SAPXIAF08 – Patch ??

SAP NetWeaver 7.10 SP9 and higher

SAP NetWeaver 7.11 SP1
XI ADAPTER FRAMEWORK 7.11 : SAPXIAF01 – Patch 13

SAP NetWeaver 7.11 SP2
XI ADAPTER FRAMEWORK 7.11 : SAPXIAF02 – Patch 02

SAP NetWeaver 7.11 SP3 and higher.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

Leave a Comment