users@glassfish.java.net

Re: JMS lookup problem

From: <glassfish_at_javadesktop.org>
Date: Sun, 10 Feb 2008 09:33:33 PST

Is your property "java.naming.factory.url.pkgs" really correct ? I just checked in https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#AppClientDef and they use the following:
Properties props = new Properties();
props.setProperty("java.naming.factory.initial",
                             "com.sun.enterprise.naming.SerialInitContextFactory");
props.setProperty("java.naming.factory.url.pkgs",
                             "com.sun.enterprise.naming");
props.setProperty("java.naming.factory.state",
                             "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
[Message sent by forum member 'ewernli' (ewernli)]

http://forums.java.net/jive/thread.jspa?messageID=258246