I'm having a problem doing a lookup in a QueueConnectionFactory from a remote client application. The jndi name is found but the lookup method always returns null. I'm using JBoss 4.2.2GA, integrating with WebsphereMQ 6.0.
How did you setup WebSphereMQ with JBoss? You might find this useful.
Looks like you are doing a lookup of the connection factory from a standalone client (i.e. a remote client). Based on what i have seen in one of the discussion in the forums, the reason why you might be getting a NULL connection factory maybe because the connection factory is meant to be used only in a managed environment and not through remote standalone client. Try looking up this connection factory from a servlet and see if you get the connection factory.