This content has been marked as final. Show 1 reply
To access JNDI, you will need to include the client/jbossall-client.jar file in your client's classpath. And use this jndi.properties file:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://hostname:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
No username or password are required, unless you changed the JBossAS configuration to require them.