0 Replies Latest reply on Jul 2, 2010 1:47 PM by jreim

    new MQConnectionFactory throwing null pointer in jboss

    jreim

      Hello all,

       

      I am getting a null pointer when i try to run the command new MQConnectionFactory(); within jboss...

       

      stack trace..

       


      java.lang.NullPointerException
      at  com.ibm.msg.client.jms.internal.JmsFactoryFactoryImpl.getInstance(JmsFactoryFactoryImpl.java:169)
      at  com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.setProviderFactory(JmsConnectionFactoryImpl.java:165)
      at  com.ibm.mq.jms.MQConnectionFactory.<init>(MQConnectionFactory.java:271)

      ...

      I decompiled the method that was throwing the exception and can include it if someone wants to see it

       

      ....

       

      i am fairly new to jboss and i can only assume that some jboss setting is taking precedents. I am trying to hook up as a consumer off an IBM MQ...

      I have been working at this for several days now and cant figure this one out...any help would be greatly appreciated.