Symptom
- You are attempting to transport Process Integration (PI) objects and encounter errors like below:
- Cannot allocate connection
- Unable to connect to CTS system
- The stacktrace contains the following:
BC-XI-IBD com.sap.xi.util.misc
sap.com/com.sap.xi.services#com.sap.aii.ib.server.jms.AbstractMessageSender
JTA Transaction : Thread[HTTP Worker
[@885379276],5,Dedicated_Application_Thread]#Plain## exception
Thrown:
javax.jms.JMSException: Cannot allocate connection.
at com.sap.engine.services.jmsconnector.cci.ConnectionFactoryImpl.createQueueConnection(ConnectionFactoryImpl.java:187)
at com.sap.engine.services.jmsconnector.cci.ConnectionFactoryImpl.createQueueConnection(ConnectionFactoryImpl.java:160)
at com.sap.aii.ib.server.jms.QueueMessageSender.getJMSConnection(QueueMessageSender.java:47)
at com.sap.aii.ib.server.jms.AbstractMessageSender.getCachedConnection(AbstractMessageSender.java:614)...
... at com.sap.aii.ibrun.server.valueMapping.cache.VMC_JMSClient.sendMessage(VMC_JMSClient.java:37)
at com.sap.aii.ibrun.server.valueMapping.cache.HmiMethod_Invalidate.invalidate(HmiMethod_Invalidate.java:80)...
.......Caused by:
com.sap.engine.services.connector.exceptions.BaseResourceException:
Error in ResourceSet.addAndEnlist("com.sap.engine.services.connector.resource.impl.HandleWrapper@58ac2606[Hashcode:350442544
Real connection:com.sap.jms.client.connection.JMSXAQueueConnection@c931a41](delisted:false) -> com.sap.engine.services.connector.resource.impl.MCEventHandler@da0a7da
-> com.sap.engine.services.jmsconnector.spi.ManagedConnectionImpl@3a10a5da(locTrSupp:false )").
at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:353)...
Caused by: com.sap.engine.services.ts.exceptions.BaseSystemException:
at com.sap.engine.services.ts.jta.impl2.TXR_TransactionImpl.enlistResource(TXR_TransactionImpl.java:273)
at com.sap.engine.services.connector.resource.impl.MCEventHandler.enlistXAResourceIntoTransaction(MCEventHandler.java:195)
at com.sap.engine.services.connector.resource.impl.ResourceSetImpl.addAndEnlist(ResourceSetImpl.java:333)...
...Caused by: javax.jms.JMSException: Could not allocate JMS connection due to RMI error.
Read more...
Environment
- PI Release Independent
- SAP NetWeaver
- SAP Process Integration
Product
SAP NetWeaver all versions ; SAP Process Integration all versions ; SAP Solution Manager 7.1
Keywords
Process Integration 7.0, PI 7.0, PI 7.01, PI 7.02, Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.4, PI 7.4, PO 7.4, Process Orchestration 7.5, PI 7.5, PO 7.5, XI, AEX, Error during export, Error during import, Export configuration objects, CMS, JMS Adapter , KBA , BC-XI-IBF , Framework , BC-XI-IBC , Integration Builder - Configuration , BC-XI-IBD , Integration Builder - Design , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.