I am having a problem trying to figure out how to get a client to
connect to Glassfish in order send/receive messages using JMS. I have
tried to use different parameters for the Context Properties and have
not gotten the right combination. I have tried the following and it
does not work.
props.setProperty("java.naming.factory.initial",
"com.sun.jndi.cosnaming.CNCtxFactory");
Also, I am not sure what the URL should be for:
props.setProperty("java.naming.provider.url", XXX);
Any help would be greatly appreciated.
Thanks