Java Class Path

I have a piece of code in Java that does an SSL lookup of an external database -using a certificate. I can get it to work on both test servers but is refusies to work on the production server.The error message is:

: javax.naming.CommunicationException: LDAPVIC1.core.dir.telstra.com:636. Root exception is

23/03/2005 10:28:14 AM HTTP JVM: java.lang.ClassNotFoundException: javax/net/ssl/SSLSocketFactory

23/03/2005 10:28:14 AM HTTP JVM: at java.lang.Class.forName0(Native Method)

23/03/2005 10:28:14 AM HTTP JVM: at java.lang.Class.forName(Class.java:220)

23/03/2005 10:28:14 AM HTTP JVM: at com.sun.jndi.ldap.VersionHelper12.loadClass(VersionHelper12.java:47)

23/03/2005 10:28:14 AM HTTP JVM: at com.sun.jndi.ldap.Connection.(Connection.java:197)

23/03/2005 10:28:14 AM HTTP JVM: at com.sun.jndi.ldap.LdapClient.(LdapClient.java:127)

23/03/2005 10:28:14 AM HTTP JVM: at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2398)

23/03/2005 10:28:14 AM HTTP JVM: at com.sun.jndi.ldap.LdapCtx.(LdapCtx.java:258)

23/03/2005 10:28:14 AM HTTP JVM: at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:91)

23/03/2005 10:28:14 AM HTTP JVM: at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)

23/03/2005 10:28:14 AM HTTP JVM: at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:255)

23/03/2005 10:28:14 AM HTTP JVM: at javax.naming.InitialContext.init(InitialContext.java:231)

23/03/2005 10:28:14 AM HTTP JVM: at javax.naming.InitialContext.(InitialContext.java:207)

23/03/2005 10:28:14 AM HTTP JVM: at javax.naming.directory.InitialDirContext.(InitialDirContext.java:92)

23/03/2005 10:28:14 AM HTTP JVM: at JavaAgent.NotesMain(JavaAgent.java:79)

23/03/2005 10:28:14 AM HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown Source)

23/03/2005 10:28:14 AM HTTP JVM: at lotus.domino.NotesThread.run(NotesThread.java:215)

Dropping into Java forums the suggestions are the class path is note set up properly. How do you do this in Domino 6.5.2 server running under Win 2000 - or is their another issue that I cannot see.

Subject: Java Class Path

This error: java.lang.ClassNotFoundException means that a class can’t be found.

  1. It can’t find the class path for the SSL, which would need to be added to JavaUserClasses line in the notes.ini

OR

  1. Try a Recompile All to rebuild all your references(and make sure to delete any cache file like a cache.ndk).