It turns out we were missing 5722SS1 Option 35. It works now.

Mike Wills
Lawson Programmer/Administrator


-----Original Message-----
From: Wills, Mike N. (TC) [mailto:MNWills@xxxxxxxxxxxxxx] 
Sent: Friday, November 07, 2003 11:04 AM
To: java400-l@xxxxxxxxxxxx
Subject: SSL error in Java program

I am getting this error in my java program:
java.lang.NoClassDefFoundError: javax/net/ssl/SSLSocket  at
java/lang/Throwable.<init>(Throwable.java:195)
 at java/lang/Error.<init>(Error.java:49)
 at java/lang/NoClassDefFoundError.<init>(NoClassDefFoundError.java:40)
 at sun/net/www/http/HttpClient.parseHTTP(HttpClient.java:705)
 at
sun/net/www/protocol/http/HttpURLConnection.getInputStream(HttpURLConnection
.java:583)
 at java/net/HttpURLConnection.getResponseCode(HttpURLConnection.java:238)
 at com/taylor/docgate/DocgateDAOAImpl.Login(DocgateDAOAImpl.java:31)
 at com/taylor/docgate/Docprocess.Login(Docprocess.java:30)
 at UploadDoc.uploadDoc(UploadDoc.java:46)
 at UploadDoc.<init>(UploadDoc.java:16)
 at UploadDoc.main(UploadDoc.java:25)


How do I tell if the SSL classes are installed? We will also have to import
a certificate, how would we do that?

Mike Wills
Lawson Programmer/Administrator
Taylor Corporation
Email: mnwills AT taylorcorpNOSPAM DOT com
AIM: iSeriesCodePoet
_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/java400-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.