Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

NullPointerException while creating JMS connection

 
Ali Gohar
Ranch Hand
Posts: 572
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've slimlined jboss-5.1.0.GA's default configuration and removed ejb/jms etc stuff from it and it currently supports web applications only. My web application is trying to send a message to a remote jboss queue but it fails when it tries to create a jms session. I can lookup the initial context and can create the connection but when i try to create session using my connection object, i get NullPointerException. My connection object is definately not null, I print it on console. I've not removed any libraries from client/ and common/lib directories though. Here is the stack trace:



Doesn't give much information

Any idea what am i doing wong?

Thank you.
 
incandescent light gives off an efficient form of heat. You must be THIS smart to ride this ride. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!