Solved

java.lang.RuntimeException: Export restriction: SunJSSE only

Posted on 2002-04-30
6
1,380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
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…
Suggested Courses

636 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