aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss MQ ConnectionFactory being returned null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss MQ ConnectionFactory being returned null" Watch "Jboss MQ ConnectionFactory being returned null" New topic
Author

Jboss MQ ConnectionFactory being returned null

Prashant Sehgal
Ranch Hand

Joined: Jun 20, 2003
Posts: 56
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
 
subject: Jboss MQ ConnectionFactory being returned null