This works for me:
Properties props = new Properties();
props.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL, "venus:1099");
props.put(Context.URL_PKG_PREFIXES, "org.jnp.interfaces");
InitialContext jndiContext = new InitialContext(props);
The URL_PKG_PREFIXES is different, but yours looks consistent with
the properties file you posted.
The problem I had was finding out where to put the client jar files. Found
that the only place that worked for me was the tomcat/lib directory (NOT
the WEB-INF/lib). I do not seem to be alone:
http://w6.metronet.com/~wjm/tomcat/2000/Sep/msg00028.html
Has anyone yet managed to use jnp-client.jar and others from WEB-INF/lib?
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user