Using test-connection-in-pool on an amq connection-definition produce a warning

Solution Unverified - Updated -

Issue

  • When I issue a call like :
 /host=xyz/server=abc/subsystem=resource-adapters/resource-adapter=activemq.rar/connection-definitions=\/lq\/pol\/agl\/jms\/cf\/amq:test-connection-in-pool
{
    "outcome" => "success",
    "result" => [true]
}

I get this kind of warning in the corresponding jvm/server :

2015-05-06 18:03:43,483 WARN  [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (host-controller-connection-threads - 18) IJ000612: Destroying connection that could not be successfully matched: org.jboss.jca.core.connectionmanager.listener.TxConnectionListener@52be2d2e[state=NORMAL managed connection=org.apache.activemq.ra.ActiveMQManagedConnection@6ce8c9f connection handles=0 lastUse=1430949810389 trackByTx=false pool=org.jboss.jca.core.connectionmanager.pool.strategy.OnePool@4cd3d613 pool internal context=SemaphoreArrayListManagedConnectionPool@7fe9e62f[pool=/lq/pol/agl/jms/cf/amq] xaResource=XAResourceWrapperImpl@62721e36[xaResource=org.apache.activemq.ra.ActiveMQManagedConnection$1@321d9db8 pad=false overrideRmValue=null productName=ActiveMQ productVersion=5.9.0.redhat-611423 jndiName=java:/aa/aal/aal/jms/cf/amq] txSync=null]

Can we safely avoid this message from being produced in the logs ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content