Hi Ninjas,
I have a Java development for SAP NetWeaver Portal (a Portal Application Modulle / AbstractComponent), which creates a connection to the ECC using SAP Portal System.
The problem occurs when the user invokes the same application more than once ... If the first run has not yet been completed (disconnection System), the second generates an error JCO_ERROR_CONCURRENT_CALL (error below).
|
SAPCFConnectorManagedConnection.destroy [EXCEPTION] com.sap.mw.jco.JCO$Exception: (132) JCO_ERROR_CONCURRENT_CALL: Connection cannot be disconnected. Connection currently used in another thread. at com.sap.mw.jco.JCO$Client.disconnect(JCO.java:3321) at com.sap.mw.jco.JCO$Client.disconnect(JCO.java:3290) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.destroy(SAPCFConnectorManagedConnection.java:510) at com.sap.engine.services.connector.jca.ConnectionHashSet.destroy(ConnectionHashSet.java:440) at com.sap.engine.services.connector.resource.impl.MCEventHandler.cleanup(MCEventHandler.java:382) at com.sap.engine.services.connector.resource.impl.MCEventHandler.connectionErrorOccurred(MCEventHandler.java:696) at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.notifyEventToListener(SAPCFConnectorManagedConnection.java:809) at com.sapportals.connectors.SAPCFConnector.connection.ConnectionEntryPoint.notifyConnectionPoolEvent(ConnectionEntryPoint.java:18) at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.isConnectionBroken(SAPConnectorException.java:179) at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:405) at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:496) at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:520) at net.gerdau.et.ecc.ECCSystem.executeBapi_ZBRHR_Catalogo(ECCSystem.java:157) at net.gerdau.et.app.RetrieveDataJsonComp.doContent(RetrieveDataJsonComp.java:105) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) |
Has anyone experienced something similar? Tell me if you know any SAP Note comes on the subject?
I stress that, despite the use JCO System, I realize the connection through a system, and not through a JCO.
Best regards,
Angelo