* Ron Rademaker [2006-07-11 09:45:09 +0200]: > Thanks, that worked a little bit. But now I get a new error message > (after typing my kerberos password): > > Error opening connection: > null > > java.lang.NullPointerException > at com.ca.commons.jndi.JNDIOps.setContext(JNDIOps.java:1564) > at com.ca.commons.jndi.JNDIOps.setupKerberosContext(JNDIOps.java:131) > at com.ca.commons.jndi.JNDIOps.<init>(JNDIOps.java:97)
>From the line numbers you seem to be using the 3.1 release. It would appear that javax.security.auth.Subject.doAs(lc.getSubject(), new JndiAction(env)) is returning null; the question is why. The JndiAction(env) constructor returns whatever javax.naming.directory.InitialDirContext(env) returns. In other words, it's the LDAP connection establishment that's failing. Did you specify the right hostname and port number for your LDAP server? (I get the exact same error if I specify the wrong port number. Port 636 counts as "wrong" here for some reason, even though my LDAP server is SSL-enabled, but port 389 works for me.) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jxplorer-users mailing list Jxplorer-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jxplorer-users