Bugs item #1720156, was opened at 2007-05-16 09:44 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=480577&aid=1720156&group_id=55394
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: doesn't fully support Java 6: exception on connect Initial Comment: OS: MS Windows Vista Enterprise jre: java 1.6.0 an exception occurs when connecting to an LDAP server using Java 6.0. On the same machine with the same connection parameters, just switching to the 1.4.2 VM allowed the connection to work properly. connection information: protocol: LDAP v3 port: 636 level: SSL + User + Password note: after pressing 'ok' on the connect screen, I was presented with a "Server CA Certficate missing" dialog: "The ldap server you are connecting to is using an unknown security certificate." However, I don't believe this has anything to do with the exception (the same dialog appears when using the 1.4.2 VM and is just a symptom of the way the ldap server is setup). stack trace when using the Java 6 VM: javax.naming.CommunicationException: simple bind failed: uisldap2.lsu.edu:636 [Root exception is javax.net.ssl.SSLKeyException: RSA premaster secret error] at com.sun.jndi.ldap.LdapClient.authenticate(Unknown Source) at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source) at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source) at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source) at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.<init>(Unknown Source) at javax.naming.directory.InitialDirContext.<init>(Unknown Source) at com.ca.commons.jndi.JNDIOps.openContext(JNDIOps.java:504) at com.ca.commons.jndi.JNDIOps.<init>(JNDIOps.java:105) at com.ca.commons.jndi.BasicOps.<init>(BasicOps.java:53) at com.ca.commons.jndi.AdvancedOps.<init>(AdvancedOps.java:56) at com.ca.commons.naming.DXOps.<init>(DXOps.java:39) at com.ca.directory.jxplorer.broker.CBGraphicsOps.<init>(CBGraphicsOps.java:45) at com.ca.directory.jxplorer.broker.JNDIBroker.openConnection(JNDIBroker.java:395) at com.ca.directory.jxplorer.broker.JNDIBroker.processRequest(JNDIBroker.java:360) at com.ca.directory.jxplorer.broker.Broker.processQueue(Broker.java:158) at com.ca.directory.jxplorer.broker.JNDIBroker.processQueue(JNDIBroker.java:829) at com.ca.directory.jxplorer.broker.Broker.run(Broker.java:124) at java.lang.Thread.run(Unknown Source) Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error at com.sun.net.ssl.internal.ssl.RSAClientKeyExchange.<init>(Unknown Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(Unknown Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source) at java.io.BufferedOutputStream.flushBuffer(Unknown Source) at java.io.BufferedOutputStream.flush(Unknown Source) at com.sun.jndi.ldap.Connection.writeRequest(Unknown Source) at com.sun.jndi.ldap.LdapClient.ldapBind(Unknown Source) ... 24 more Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not available at javax.crypto.KeyGenerator.<init>(DashoA13*..) at javax.crypto.KeyGenerator.getInstance(DashoA13*..) at com.sun.net.ssl.internal.ssl.JsseJce.getKeyGenerator(Unknown Source) ... 37 more ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=480577&aid=1720156&group_id=55394 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jxplorer-devel mailing list Jxplorer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jxplorer-devel