Accessing JNDI over HTTP
Using the standard JBoss configuration, only the client side JNDI configuration has to be changed
(see JNDI client configuration for the default):
JNDI Properties
java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory java.naming.provider.url=http://localhost:8080/invoker/JNDIFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
Change the according to the configuration of the below
(host name, port, servlet path).
the .sar can be a file or a directory name, it is treated alike in JBOSS.
Configuring the
How the JNDI access over HTTP works
Referenced by:
Comments