When I execute the following code in a jsp:
DirContext context = new InitialDirContext(env);
if( context instanceof DirContext )
System.out.println("context instanceof DirContext");
DirContext schema =
context.getSchema("jnp://localhost:1099");
I get the following exception:
QueryLdap failed: javax.naming.NotContextException:
Not an instance of DirContext
Even though the instanceof statement above printed that is was a DirContext.
Has anyone tried this or know what's going on?
Thanks - Richard Chandler
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user