A new comment was posted on JDF Project site


Dalí Freire

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, clos ing 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

10:36 a.m., Monday June 17

 
  Reply to Dalí Freire  
 
 
 
 

Moderate this comment by email

Email address: dalifreire@gmail.com | IP address: 189.112.5.149

Reply to this email with “Delete”, “Approve”, or “Spam”, or moderate from the Disqus moderation panel.