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?