Actually, during init of InitialContext object it trying to find address and
port where to connect in order to recieve access JNDI server.
You can see description here:
http://java.sun.com/j2se/1.4.1/docs/api/javax/naming/InitialContext.html Usually you have to set up two properties (
java -D<prop_name>=<prop_value> .....)
java.naming.provider.url - URL of the server like
tcp://localhost:3035 java.naming.factory.initial - Class name of JNDI factory like org.exolab.jms.jndi.InitialContextFactory
Br
Renat