Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jboss MQ ConnectionFactory being returned null  RSS feed

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

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?

[ April 14, 2008: Message edited by: Prashant Sehgal ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!