Thank you for your reply.
How do I find out which port is the naming service using?
Yes, I am running my Java class in the Glassfish application client. I have previously used it to create bpel processes that work fine connecting to JMS as well. Would that mean it should have been configured properly?
[Message sent by forum member 'tpauline' (tanylp_at_stee.stengg.com)]
http://forums.java.net/jive/thread.jspa?messageID=365202