Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

java.lang.RuntimeException: Export restriction: SunJSSE only

Posted on 2002-04-30
6
Medium Priority
?
1,398 Views
Last Modified: 2008-03-04
In my program i am getting this exception
java.lang.RuntimeException: Export restriction: SunJSSE only  

can somebody tell me what could be reason for the same
0
Comment
Question by:anuj_roy
6 Comments
 
LVL 2

Expert Comment

by:userquin
ID: 6980491
Hi:

If you are not in US or Canada (JSSE domestic) you cannot put your own classes such as SSLSocket. Next text is extracted from JSSE 1.0.2 (JDK1.3) documentation:

JSSE 1.0.2 is designed to allow other implementations of certain classes to be plugged in seamlessly, thus providing alternate protocol and Public Key Infrastructure (PKI) implementations. (Note: there are currently a number of restrictions on pluggability, especially for non-domestic users. Basically, it is not possible for global users to use SSLSocketFactory, or SSLServerSocketFactory implementations other than the ones supplied by the SunJSSE provider.

Hope this help.

Bye.

J.
0
 

Author Comment

by:anuj_roy
ID: 6980560
hi,
i am using only the default classes .in my case i am trying to make a connection from a iPlanet portal server to weblogic server.Is it because of the key size that is there in the certificate.i beleive the key size is 512bit.do u have any idea about it.
anuj
0
 
LVL 2

Expert Comment

by:userquin
ID: 6980592
Hi:

Could you send full stack trace?

Bye.

J.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:anuj_roy
ID: 6981017
i am including the full stack trace

java.lang.RuntimeException: Export restriction: SunJSSE only
     at java.lang.Throwable.fillInStackTrace(Native Method)
     at java.lang.Throwable.fillInStackTrace(Compiled Code)
     at java.lang.Throwable.<init>(Compiled Code)
     at java.lang.Exception.<init>(Compiled Code)
     at java.lang.RuntimeException.<init>(RuntimeException.java:47)
     at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.checkCreate([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.doConnect([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.NetworkClient.openServer([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpClient.l([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpClient.<init>([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.<init>([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpsClient.a([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.connect([DashoPro-V1.2-120198])
     at com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnection.getOutputStream([DashoPro-V1.2-120198])
     at com.oneport.connector.https.Connector.getOS(Connector.java:118)
     at com.oneport.connector.https.MessageHandler.sendMessage(MessageHandler.java:55)
     at OnlineMessageHandler.sendMessage(OnlineMessageHandler.java:83)
     at OfflineListener_Svt.doPost(OfflineListener_Svt.java:64)
     at javax.servlet.http.HttpServlet.service(Compiled Code)
     at javax.servlet.http.HttpServlet.service(Compiled Code)
     at com.netscape.server.http.servlet.NSServletRunner.Service(Compiled Code)
0
 
LVL 9

Expert Comment

by:Venci75
ID: 7992736
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
PAQ'd and pts refunded
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venci75
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8048329
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question