Solved

java.lang.RuntimeException: Export restriction: SunJSSE only

Posted on 2002-04-30
6
1,369 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
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

Independent Software Vendors: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaFX TableView not displaying correctly 3 105
wild fly 8 startup error 2 40
restrict decimal places for double datatype 10 31
American Express @Work site and Java 4 64
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.

756 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