-
Bug
-
Resolution: Done
-
Critical
-
None
-
AMQ 7.2.2.GA
-
-
+
-
Previously, a JMS bridge between JBoss EAP and a TIBCO broker produced an exception while stopping. As a result of this exception, neither the EAP server nor the JMS bridge could successfully stop. This issue is now resolved.
-
Verified in a release
-
- Configure a JMS Bridge
- start up EAP instance and try to stop a the above bridge
Trying to stop JMS bridge between TIBCO EMS and Jboss EAP fails with error:
/subsystem=messaging-activemq/jms-bridge=pushBridge:stop()
{
"outcome" => "failed",
"failure-description" => "com.tibco.tibjms.TibjmsXAResource cannot be cast to org.apache.activemq.artemis.core.client.impl.ClientSessionInternal",
"rolled-back" => true
}
After that it is impossible to shutdown EAP. The server has to be kill -9. The same operation works in JBoss EAP 7.1.z and 7.0.z.
14:55:17,286 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://192.168.1.109:9990 14:55:17,286 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.2.0.GA (WildFly Core 6.0.11.Final-redhat-00001) started in 3668ms - Started 621 of 808 services (366 services are lazy, passive or on-demand) 14:55:55,631 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("stop") failed - address: ([ ("subsystem" => "messaging-activemq"), ("jms-bridge" => "pushBridge") ]) - failure description: "com.tibco.tibjms.TibjmsXAResource cannot be cast to org.apache.activemq.artemis.core.client.impl.ClientSessionInternal" 14:55:55,703 INFO [org.wildfly.extension.messaging-activemq] (management-handler-thread - 1) WFLYMSGAMQ0011: Started JMS Bridge pushBridge ^C14:56:17,360 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0236: Suspending server with no timeout. 14:56:17,362 INFO [com.arjuna.ats.jbossatx] (Thread-2) ARJUNA032034: Suspending transaction recovery manager 14:56:17,383 INFO [org.jboss.as.ejb3] (Thread-2) WFLYEJB0493: EJB subsystem suspension complete 14:56:17,385 INFO [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal 14:56:17,399 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-6) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/tibco/jms/cf/XATopicConnectionFactory] 14:56:17,401 INFO [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0002: Unbound mail session [java:jboss/mail/Default] 14:56:17,402 INFO [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 88) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:/ConnectionFactory 14:56:17,415 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 94) WFLYUT0022: Unregistered web context: '/jboss-generic-jms-ra-web' from server 'default-server' 14:56:17,418 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/tibco/jms/cf/XAQueueConnectionFactory] 14:56:17,420 INFO [org.wildfly.extension.messaging-activemq] (MSC service thread 1-8) WFLYMSGAMQ0006: Unbound messaging object to jndi name java:jboss/DefaultJMSConnectionFactory 14:56:17,420 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-7) WFLYJCA0011: Unbound JCA ConnectionFactory [java:/JmsXA] 14:56:17,420 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS] 14:56:17,422 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) WFLYJCA0019: Stopped Driver service with driver-name = h2 14:56:17,423 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0019: Host default-host stopping 14:56:17,435 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 94) WFLYCLINF0003: Stopped client-mappings cache from ejb container 14:56:17,440 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTPS listener https suspending 14:56:17,441 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 192.168.1.109:8443 14:56:17,442 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: jboss-generic-jms-ra-web-1.0.war) in 53ms 14:56:17,442 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0208: Stopped subdeployment (runtime-name: jboss-generic-jms-ra-mdb-1.0.jar) in 53ms 14:56:17,442 INFO [org.apache.activemq.artemis.ra] (ServerService Thread Pool -- 88) AMQ151003: resource adaptor stopped 14:56:17,445 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment jboss-generic-jmsra-ear-1.0.ear (runtime-name: jboss-generic-jmsra-ear-1.0.ear) in 57ms 14:56:17,742 WARN [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 90) WFLYMSGAMQ0004: Failed to destroy JMS Bridge: pushBridge 14:56:18,074 WARN [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 80) WFLYMSGAMQ0004: Failed to destroy JMS Bridge: pullBridge
- is cloned by
-
JBEAP-16371 [GSS](7.2.z) ARTEMIS-2291 JMSBridge fails to stop
- Closed