[jboss-user] [JNDI/Naming/Network] - Re: Java API

PeterJ do-not-reply at jboss.com
Tue May 27 13:18:16 EDT 2008


Unfortunately, I have no idea what com.filenet.api.util.UserContext.createSubject() does, but it is apparently using the URI passed as the JNDI host name.

A typical JNDI lookup, using the jndi.properties file you gave (porvided that properties file is in the classpath) looks like:

javax.naming.Context ctx = new javax.naming.InitialContext();
Object obj = ctx.lookup("some-jndi-name");

Nothing in your code looks like this.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153725#4153725

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153725



More information about the jboss-user mailing list