2 Replies Latest reply on Nov 29, 2013 9:00 AM by d.synchronized

    Standalone hornetQ problem

    d.synchronized

      Hi Fellas,

       

      I was trying to take a look at the hornetQ in standalone mode ,i am able to set up the standalone server,but when i try to create a connection it throws Null Pointer Exception

       

      Error is

       

      java.lang.NullPointerException

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

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

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

        at org.hornet.hornetq.HornetQDemo.connectAndCreateSession(HornetQDemo.java:33)

        at org.hornet.hornetq.HornetQDemo.main(HornetQDemo.java:45)

       

      Here i am also attaching my java file which is use to create the connection from,I hope the information is sufficent

       

      Regards

      d.synchronized