Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss MQ ConnectionFactory being returned null

 
Prashant Sehgal
Ranch Hand
Posts: 56
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My connection factory is setup in my Jboss 4.0.4 server like this:



I'm accessing this from outside of Jboss, using a stand alone client with from it's main method like so:



The connection factory is being returned as null. I read somewhere that this might be because my connection factory is setup using jboss-ra and in such cases standalone clients cant access connection factories. One needs to access them from inside the server.

a) Is this correct?
b) If I want to retain my stand-alone client, how should I setup my connection factories?

Thanks,
Prashant.
[ April 14, 2008: Message edited by: Prashant Sehgal ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic