JBoss Community

new MQConnectionFactory throwing null pointer in jboss

created by Jesse Reim in JBoss Messaging - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JBoss Messaging at Community