0 Replies Latest reply on Jul 8, 2013 11:23 AM by overattribution

    DummySSLSocketFactory class not found?

    overattribution

      I'm getting a ClassNotFoundException on com.jivesoftware.util.ssl.DummySSLSocketFactory when trying to open an HTTPS connection within a custom plugin.  This has worked previously on the same server, it seems to have suddenly started throwing this exception:

      Caused by: com.vistage.village.webex.client.exception.WebExException: java.net.SocketException: java.lang.ClassNotFoundException: com.jivesoftware.util.ssl.DummySSLSocketFactory

              at com.vistage.village.webex.client.WebExClient.execute(WebExClient.java:66)

              at com.vistage.village.webex.client.WebExClientManagerImpl.createMeeting(WebExClientManagerImpl.java:29)

              at com.vistage.village.webex.local.WebExManagerCache.createMeeting(WebExManagerCache.java:27)

              at com.vistage.village.webex.eventtype.WebExEventTypeManager.create(WebExEventTypeManager.java:17)

              at com.vistage.village.event.eventtype.module.EventTypeManagerProcessor.create(EventTypeManagerProcessor.java:22)

              at com.jivesoftware.community.ext.event.impl.EventManagerImpl.doSaveEvent(EventManagerImpl.java:195)

              ... 142 more

      Caused by: java.net.SocketException: java.lang.ClassNotFoundException: com.jivesoftware.util.ssl.DummySSLSocketFactory

              at javax.net.ssl.DefaultSSLSocketFactory.throwException(SSLSocketFactory.java:179)

              at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:186)

              at sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:362)

              at sun.net.NetworkClient.doConnect(NetworkClient.java:145)

              at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)

              at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)

              at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:272)

              at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:329)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:172)

              at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)

              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:158)

              at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1014)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)

              at com.vistage.village.webex.client.WebExClient.execute(WebExClient.java:46)

              ... 147 more

      Caused by: java.lang.ClassNotFoundException: com.jivesoftware.util.ssl.DummySSLSocketFactory

              at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

              at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:85)

              at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:327)

              at javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:285)

              at sun.net.www.protocol.https.HttpsURLConnectionImpl.<init>(HttpsURLConnectionImpl.java:65)

              at sun.net.www.protocol.https.Handler.openConnection(Handler.java:42)

              at sun.net.www.protocol.https.Handler.openConnection(Handler.java:37)

              at java.net.URL.openConnection(URL.java:945)

              at com.vistage.village.webex.client.WebExClient.execute(WebExClient.java:42)

       

      I see this issue has come up a few times in the past but I don't see a resolution:

      https://community.jivesoftware.com/casethread/94081

      https://community.jivesoftware.com/message/95085

       

      Any ideas?

       

      Thanks,
      Corey