Unable to establish JMS connectivity to T24 using an external JMS RAR

Solution Verified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 7.2.0

Issue

  • The following warning message was thrown when attempting to obtain a connection from T24 provided by Temenos. What could be the reason for this?
WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (AAA_BBB_TEST_123456789) IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException
        at com.sun.genericra.util.ExceptionUtils.newResourceException(ExceptionUtils.java:63)
        at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:117)
        at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1325)
        at org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.getConnection(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:499)
        at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getSimpleConnection(AbstractPool.java:632)
        at org.jboss.jca.core.connectionmanager.pool.AbstractPool.getConnection(AbstractPool.java:604)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:624)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:597)
        at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:789)
        at com.sun.genericra.outbound.ConnectionFactory.createConnection(ConnectionFactory.java:66)
        at com.temenos.tafj.jms.JMSUtilities.setupPTP(JMSUtilities.java:647)
        at com.temenos.tafj.jms.JMSUtilities.sendMessage(JMSUtilities.java:229)
        at com.temenos.tafj.runtime.jRunTime.CALLJEE(jRunTime.java:14712)
        at com.temenos.t24.SCB_JMS_TEST_cl.main(Unknown Source)
        at com.temenos.t24.SCB_JMS_TEST_cl.invoke(Unknown Source)
        at com.temenos.t24.SCB_JMS_TEST_cl.invoke(Unknown Source)
        at com.temenos.tafj.runtime.statements.jStatements.reflexion(jStatements.java:262)
        at com.temenos.tafj.runtime.jRunTime.RUN(jRunTime.java:9823)
        at com.temenos.tafj.runtime.trun.run(trun.java:716)
        at com.temenos.tafj.runtime.trun.run(trun.java:943)
        at com.temenos.tafj.sb.TRunProcessingBean.trun(TRunProcessingBean.java:190)
        at com.temenos.tafj.sb.TRunProcessingBean.trunAsync(TRunProcessingBean.java:124)
.....
.....
Caused by: javax.resource.spi.InvalidPropertyException  <!-- HERE --->
        at com.sun.genericra.util.ExceptionUtils.newInvalidPropertyException(ExceptionUtils.java:33)
        at com.sun.genericra.util.ObjectBuilderFactory$JndiObjectBuilder.createObject(ObjectBuilderFactory.java:133)
        at com.sun.genericra.util.ObjectBuilder.build(ObjectBuilder.java:86)
        at com.sun.genericra.outbound.AbstractManagedConnectionFactory.initializeConnectionFactory(AbstractManagedConnectionFactory.java:180)
        at com.sun.genericra.outbound.AbstractManagedConnectionFactory.createManagedConnection(AbstractManagedConnectionFactory.java:109)
        ... 93 more

Resolution

  • The warning has not been thrown by the default JMS broker embedded in the JBoss EAP 7.2. The provided WARN message indicates you're using a generic resource adapter (RAR) provided by Sun/Oracle to connect to T24, an external EIS. The InvalidPropertyException had been thrown by Sun/Oracle's generic RAR while attempting to obtain a connection. You need to consult T24 or the resource adapter provider to diagnose this further. Please note, T24 hasn't been tested against JBoss EAP 7.21 using Sun/Oracle generic RAR, hence we cannot assure that configuration works with JBoss EAP 7.2. It would be best to contact Temenos to have their thoughts on how to configure their EIS with JBoss EAP 7.2. That said JBoss EAP 7.2 offers a generic RAR to communicate to external JMS providers and we offer customers with commercially viable assistance to configure JBoss EAP 7.2's generic resource adapter with external JMS providers2.

Diagnostic Steps

  • Please verify the JMS RAR being used to perform the configuration between JBoss EAP and T24.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments