Breaking News
Home / ServerSide / Weblogic / What are the common SSL Exception StackTraces?

What are the common SSL Exception StackTraces?

The common SSL Exception Stack Traces are:

Trace1

2012-01-25 17:16:09,570[main]DEBUG SSLTestForDB -processInputStringWithWLS2012-01-25 17:16:09,570[main]DEBUG SSLTestForDB -Target url : https://localhost:7502/adapter/DBUtilityFrontServlet
Exception in thread “main” java.lang.NoClassDefFoundError: weblogic/utils/io/UnsyncByteArrayOutputStream
        at com.vmu.tests.SSLTestForDB.processInputStringWithWLS(SSLTestForDB.java:215)
        at com.vmu.tests.SSLTestForDB.main(SSLTestForDB.java:80)
Caused by: java.lang.ClassNotFoundException: weblogic.utils.io.UnsyncByteArrayOutputStream
        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:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
TestForDB.main(SSLTestForDB.java:80)

<!>

Trace2

main, called closeInternal(true)
Exception in thread “main” javax.net.ssl.SSLException: Received fatal alert: protocol_version
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
        at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1694)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:939)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1120)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:623)
        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
        at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202)
        at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272)
        at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276)
        at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122)
        at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212)
        at com.vmu.tests.SSLTestForDB.main(SSLTestForDB.java:364)

Trace3

2012-01-25 18:30:37,092 [main] DEBUG (SingleClientConnManager) – Releasing connection org.apache.http.impl.conn.SingleClientConnManager$ConnAdapter@1b64e6a
2012-01-25 18:30:37,093 [main] ERROR (SSLTestForDB) – Ex:peer not authenticated
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
     at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:345)
     at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
     at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
     at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
     at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
     at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
     at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
     at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:754)
     at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:732)
     at SSLTestForDB.testViaApache(SSLTestForDB.java:289)
     at SSLTestForDB.main(SSLTestForDB.java:263)

[pb_builder]

Check Also

Sample Interview for Porting Applciation from Weblogic Server to Jboss

As talked in the last post Porting Application from Weblogic Server to Jboss Questionaire the …

Leave a Reply