users@glassfish.java.net

Re: Accessing a JMS Resource on a Remote Server

From: rdblaha1 <rd_blaha_at_hotmail.com>
Date: Tue, 8 Jan 2008 12:02:44 -0800 (PST)

glassfish wrote:
>
> According to the error message, initial context property
> "java.naming.factory.initial" is not set. It should be set automatically,
> but it isn't so i think the program can't find the file in which some
> default values like this are stored. It's name is "jndi.properties" and it
> should be included in appserv-rt.jar. Look through your jar files which
> are referenced by the manifest file and search for this file.
>

Here is the non-commented portion of the referenced jndi.properties file
that I believe is being used:

java.naming.factory.initial=com.sun.enterprise.naming.SerialInitContextFactory
java.naming.factory.url.pkgs=com.sun.enterprise.naming
# Required to add a javax.naming.spi.StateFactory for CosNaming that
# supports dynamic RMI-IIOP.
java.naming.factory.state=com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl

I am not sure if this is what I should be using or what. Hopefully it may
point to the problem area in my setup.

Thanks again.

-- 
View this message in context: http://www.nabble.com/Accessing-a-JMS-Resource-on-a-Remote-Server-tp14580977p14697576.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.