SSL Access and Certificates

I have Java SDK loaded on 3 different server. I an accessing a database on our internal network via SSL using Java code and a cerificate. I can get this secure access working on my two test servers but I get the followng message on my production server and the access fails:19/03/2005 07:13:18 PM HTTP JVM: java.lang.NoClassDefFoundError: com/sun/jndi/toolkit/url/Uri

19/03/2005 07:13:18 PM HTTP JVM: at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:58)

19/03/2005 07:13:18 PM HTTP JVM: at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)

19/03/2005 07:13:18 PM HTTP JVM: at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:250)

19/03/2005 07:13:18 PM HTTP JVM: at javax.naming.InitialContext.init(InitialContext.java:226)

19/03/2005 07:13:18 PM HTTP JVM: at javax.naming.InitialContext.(InitialContext.java:202)

19/03/2005 07:13:18 PM HTTP JVM: at javax.naming.directory.InitialDirContext.(InitialDirContext.java:87)

19/03/2005 07:13:18 PM HTTP JVM: at JavaAgent.NotesMain(JavaAgent.java:79)

19/03/2005 07:13:18 PM HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown Source)

19/03/2005 07:13:18 PM HTTP JVM: at lotus.domino.NotesThread.run(NotesThread.java:215)

With both my test servers I log in with my network user id and password -which has access to the internet via through out filrewall. The production server does not have such access and is logged in with an Administrator ID.

Does using the Java runtime for SSL access require internet access to function.

Subject: SSL Access and Certificates

  • This says what the problem is … it can’t find the “Uri” class in com.sun.jndi.toolkit.url package. Probably a classpath issue.- We use BouncyCastle for our SSL needs. Many more encryption schemes available, supports n-length keys, and has versions for JVMs back to 1.1. Just a thought. They’re at bouncycastle.org if you’re interested.

  • Hope this helps…

Subject: RE: SSL Access and Certificates

I have the same software loaded on a test server and it works fine. Is it something to do with a ClassPath issue. On a Java forum I dropped in on that was a suggestion. How do you resolve a classpath issue in Domino.