[jdf-users] New comment posted on JBoss Developer Framework

Disqus notifications at disqus.net
Mon Jun 17 10:36:42 EDT 2013



Dalí Freire <dalifreire at gmail.com> wrote:

I am trying execute this example but an JMSException occurs... can anybody help me?

INFO: Attempting to acquire connection factory "jms/RemoteConnectionFactory"
17/06/2013 11:29:00 org.jboss.as.quickstarts.jms.HelloWorldJMSClient main
INFO: Found connection factory "jms/RemoteConnectionFactory" in JNDI
17/06/2013 11:29:00 org.jboss.as.quickstarts.jms.HelloWorldJMSClient main
INFO: Attempting to acquire destination "jms/queue/test"
17/06/2013 11:29:00 org.jboss.as.quickstarts.jms.HelloWorldJMSClient main
INFO: Found destination "jms/queue/test" in JNDI
17/06/2013 11:29:00 org.jboss.as.quickstarts.jms.HelloWorldJMSClient main
SEVERE: Failed to create session factory
17/06/2013 11:29:00 org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1$MessageReceiver handleEnd
ERROR: Channel end notification received, closing channel Channel ID c687ec19 (outbound) of Remoting connection 871686bc to localhost/127.0.0.1:4447
Exception in thread "main" 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.jboss.as.quickstarts.jms.HelloWorldJMSClient.main(HelloWorldJMSClient.java:77)

Caused by: java.lang.NullPointerException

	at org.hornetq.core.client.impl.ServerLocatorImpl.assertOpen(ServerLocatorImpl.java:1951)

	at org.hornetq.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:772)

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

	... 2 more

IP address: 189.112.5.149
Link to comment: http://redirect.disqus.com/url?url=http%3A%2F%2Fjboss.org%2Fjdf%2Fquickstarts%2Fjboss-as-quickstart%2Fhelloworld-jms%2F%23comment-933126917%3ACJ5nYI2xL-vXVr54CsU75NGgkOc&impression=5393686c-d75b-11e2-a5b4-003048dfbae6&type=notification.post.moderator&event=email&behavior=click

-----
Options: You can moderate through email. Respond in the body with "Delete". Reply with "Like" to like this comment, or respond with anything else to approve this comment and post your message as a reply comment.

Or use the moderate panel: http://jdf.disqus.com/admin/moderate/#/pending


Stop receiving notifications when new comments are posted:
http://disqus.com/account/#notifications
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jdf-users/attachments/20130617/d2d47099/attachment-0001.html 


More information about the jdf-users mailing list