JBoss deployed application throws Exception Export restriction SunJSSE only
Issue
- While running a simple Web Application running on HTTPS ports on EAP6 throws the following error when application tries to access a HTTPS URL.
14:59:00,611 ERROR [stderr] (http-/0.0.0.0:443-7) java.lang.RuntimeException: Export restriction: SunJSSE only
14:59:00,614 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.checkCreate()
14:59:00,616 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect()
14:59:00,617 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer()
14:59:00,619 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l()
14:59:00,621 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>()
14:59:00,623 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>()
14:59:00,625 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a()
14:59:00,626 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a()
14:59:00,628 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect()
14:59:00,630 ERROR [stderr] (http-/0.0.0.0:443-7) at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOutputStream()
- The JBoss is running on the JDK
"1.7.0_07"(Oracle Corporation)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
