Help with Labs from Sumbit2013
magick93 Sep 29, 2013 3:36 AMHi
I'm working my way through the labs, and have having a few problems.
Lab1
After completing all steps in the Lab, I then run the MortgageClient.java and get the following:
09:31:01,498 INFO [org.switchyard.component.test.mixins.http.HTTPMixIn] Received response header:[Server=Apache-Coyote/1.1]
09:31:01,498 INFO [org.switchyard.component.test.mixins.http.HTTPMixIn] Received response header:[Content-Type=text/html;charset=utf-8]
09:31:01,498 INFO [org.switchyard.component.test.mixins.http.HTTPMixIn] Received response header:[Content-Length=1102]
09:31:01,498 INFO [org.switchyard.component.test.mixins.http.HTTPMixIn] Received response header:[Date=Sun, 29 Sep 2013 07:31:01 GMT]
09:31:01,499 INFO [org.switchyard.component.test.mixins.http.HTTPMixIn] Received response body:[HTTP/1.1 404 Not Found [Server: Apache-Coyote/1.1, Content-Type: text/html;charset=utf-8, Content-Length: 1102, Date: Sun, 29 Sep 2013 07:31:01 GMT]]
Lab2
And then when I run QualifyServiceClient in Lab2 I get the following (all unit tests pass):
Exception in thread "main" java.lang.RuntimeException: javax.jms.JMSException: Failed to create session factory
at org.switchyard.component.test.mixins.hornetq.HornetQMixIn.createJMSSession(HornetQMixIn.java:356)
at mortgages.QualifyServiceClient.main(QualifyServiceClient.java:28)
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)
... 1 more
Caused by: HornetQException[errorType=NOT_CONNECTED message=HQ119026: Cannot connect to server(s). Tried with all available servers.]
at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:850)
at org.hornetq.jms.client.HornetQConnectionFactory.createConnectionInternal(HornetQConnectionFactory.java:583)
... 3 more
I've double-checked that I added the user to Jboss.
Thanks