cspit; When you access the JNDI context from a remote JVM, you need to provide a few extra parameters when you create the initial context.
Example: Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); | p.put(Context.PROVIDER_URL, "jnp://myhost:1099"); | Context ctx = new InitialContext(p); Also put <jboss-home>/client/jbossall-client.jar in your client's classpath. //Nicholas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841568#3841568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841568 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
