1 Reply Latest reply on Apr 18, 2013 7:41 AM by Keith Babo

    Is it possible to use jBoss AS 8.x (nightly) build with switchyard?

    Put Time Newbie

      This article explains how to use ActiveMQ with jBoss AS 7.



      In that article, it says:


      • JBoss AS 7.1.1 contains bug that prevents proper interpoperability - so the testing will be done with JBoss AS 7.2 nightly



      So I want to know if I can use Nightly 8.x builds with switchyard.



      I gave it a shot, and setup the 8.x server. And tried one of  my JMS based samples.

      I think HornetQ mix-in is specific to switchyard, and won't be available in the default AS.

      Because of that, I get this exception on the client, when I try to send a message to the queue:



      java.lang.RuntimeException: javax.jms.JMSException: Failed to create session factory

      at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:361)

      at com.example.switchyard.episode9_hornetq_test4.HornetQClientTest.main(HornetQClientTest.java:93)

      at com.example.switchyard.episode9_hornetq_test4.HornetQClientTest.defaultExecute(HornetQClientTest.java:106)

      at com.example.switchyard.episode9_hornetq_test4.HornetQClientTest.main(HornetQClientTest.java:86)

      Caused by: javax.jms.JMSException: Failed to create session factory

      at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:605)

      at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:119)

      at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:355)