-
1. Re: WIldfly 9.0.2 + Activemq 5.13.0 (External) integration
mayerw01 Jan 20, 2016 7:26 AM (in response to matt_madhavan)This might be of help https://developer.jboss.org/message/938817?et=watches.email.thread#938817
-
2. Re: WIldfly 9.0.2 + Activemq 5.13.0 (External) integration
matt.madhavan Jan 20, 2016 5:28 PM (in response to mayerw01)Hi Wolfgang,
Thanks for the reply and I appreciate it!
I followed the link and everything seem to work up to a point!
13:15:02,201 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0007: Registered connection factory java:/activemq/xaConnectionFactory 13:15:02,203 WARN [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020016: Missing <recovery> element. XA recovery disabled for: java:/activemq/xaConnectionFactory 13:15:02,205 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0006: Registered admin object at java:/queue/HELLOWORLDMDBQueue 13:15:02,208 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0006: Registered admin object at java:/topic/HELLOWORLDMDBTopic 13:15:02,213 WARN [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020017: Invalid archive: file:/C:/devtools/jboss/wildfly-9.0.2.Final/standalone/tmp/vfs/temp/tempc4bad6e404e8852a/content-42fc9985de0b442e/contents/ 13:15:02,214 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-1) IJ020002: Deployed: file:/C:/devtools/jboss/wildfly-9.0.2.Final/standalone/tmp/vfs/temp/tempc4bad6e404e8852a/content-42fc9985de0b442e/contents/ 13:15:02,217 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-2) WFLYJCA0002: Bound JCA AdminObject [java:/topic/HELLOWORLDMDBTopic] 13:15:02,217 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-5) WFLYJCA0002: Bound JCA AdminObject [java:/queue/HELLOWORLDMDBQueue] 13:15:02,217 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-7) WFLYJCA0002: Bound JCA ConnectionFactory [java:/activemq/xaConnectionFactory]
This tells me the ActiveMQ is configured and running OK (external activeMQ).
But when I get a connection Im getting the following exceptions - Seems like some kinda classloading issues! Any ideas please?
java.lang.ClassCastException:
org.apache.activemq.transport.tcp.TcpTransportFactory cannot be cast to
org.apache.activemq.transport.TransportFactory
Caused by: javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Transport scheme NOT recognized: [tcp] at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:36) at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:335) at org.apache.activemq.ActiveMQSslConnectionFactory.createTransport(ActiveMQSslConnectionFactory.java:120) ... 66 more Caused by: java.io.IOException: Transport scheme NOT recognized: [tcp] at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27) at org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:189) at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:68) at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:333) ... 67 more Caused by: java.lang.ClassCastException: org.apache.activemq.transport.tcp.TcpTransportFactory cannot be cast to org.apache.activemq.transport.TransportFactory at org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:186) ... 69 more
Any ideas please? Been stuck on this issue for couple of months!
Thanks in advance!
Matt'M
-
3. Re: WIldfly 9.0.2 + Activemq 5.13.0 (External) integration
mayerw01 Jan 21, 2016 3:54 AM (in response to matt.madhavan)Did you also make all the changes mentioned in Comparing wildfly:10.x...jmesnil:helloworld-mdb-activemq-ra · wildfly/quickstart · GitHub?
I get also the 2 warnings above in my environment but the example should be working fine anyway.
-
4. Re: WIldfly 9.0.2 + Activemq 5.13.0 (External) integration
matt_madhavan Jan 22, 2016 2:53 PM (in response to mayerw01)HI Wolfgang,
Yes I have made the changes and I am getting the same errors. My application ( I am creating Camel routes) doesn't work at all.
Any other ideas please?
Thanks
Matt
-
5. Re: WIldfly 9.0.2 + Activemq 5.13.0 (External) integration
mayerw01 Jan 23, 2016 4:16 AM (in response to matt_madhavan)Did you also check the Camel route configuration camel-activemq | WildFly Camel?