Problem with QuickStarts 'camel-jms-binding'
swheater Jul 25, 2013 5:56 AMHi, I have been trying to learn about SwitchYard by looking at the QuickStarts, but I have run into problems with 'camel-jms-binding'.
Any suspicions what I am doing wrong?
I have stopped filewalld, and no error in JBoss AS's logs.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Quickstart : Camel JMS Binding 1.0.0.Final
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (default-cli) @ switchyard-quickstart-camel-jms-binding >>>
[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (default-cli) @ switchyard-quickstart-camel-jms-binding <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (default-cli) @ switchyard-quickstart-camel-jms-binding ---
[WARNING]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.RuntimeException: javax.jms.JMSException: Failed to create session factory
at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:356)
at org.switchyard.quickstarts.camel.jms.binding.HornetQClient.main(HornetQClient.java:63)
... 6 more
Caused by: javax.jms.JMSException: Failed to create session factory
at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:587)
at org.hornetq.jms.client.HornetQConnectionFactory.createConnection(HornetQConnectionFactory.java:107)
at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:350)
... 7 more
Caused by: HornetQException[errorType=CONNECTION_TIMEDOUT message=HQ119032: Timed out waiting to receive cluster topology. Group:null]
at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:884)
at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:583)
... 9 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 51.317s
[INFO] Finished at: Thu Jul 25 10:22:46 BST 2013
[INFO] Final Memory: 25M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (default-cli) on project switchyard-quickstart-camel-jms-binding: An exception occured while executing the Java class. null: InvocationTargetException: javax.jms.JMSException: Failed to create session factory: HQ119032: Timed out waiting to receive cluster topology. Group:null -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Environment:
- Fadora 19
- OpenJDK Runtime Environment (fedora-2.3.10.4.fc19-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
- SwitchYard QuickStarts 1.0.0.Final
- JBoss AS 7.1.1.Final
Stuart Wheater