I have seen a lot of places define the JNDI naming context like this (Websphere for example):
java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory
java.naming.factory.url.pkgs=com.ibm.ws.naming
java.naming.provider.url=iiop://localhost:2809
and in JBoss it is
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
But I have no idea where these value come from or anywhere in the application server I CAN LOOKUP
and MAKE A CHANGE
, especially to the url
. Any hint is appreciated.