David, JDK1.4 includes the JSSE libraries, whereas 1.3 does not. Hence showing that it works in 1.4 does not prove it will work in 1.3. Probably, someone made a separate installation on your IBM 1.2, some time in the past.
Download the JSSE implementation from "http://java.sun.com/products/jsse/". You have to follow the JSSE installation instructions including placing the JAR files in the JVM jre/lib/ext directory and then adding the security provider to the jre/lib/security/java.security file. That should fix your problem. Alexander On Wed, Dec 04, 2002 at 05:38:09PM +0100, David Tonhofer wrote: > Hello, > > I have run into a little snag with the blackdown 1.3.1 02b on RedHat > Linux 7.3, just the facts: > > 1) I can't get the 'https' URL scheme to work with my code, > i.e. new URL("https",...) throws an exception: > > java.net.MalformedURLException: unknown protocol: https > > Note that this is not done in a standalone application, but in a > Tomcat 4.1 servlet container (but that does not change anything, > does it?) > > 2) I have followed all the readme files concerning configuration, > JSSE setup etc, and indeed: > > 3) It works on the olden IBM 1.2 VisualAge JVM (on W2K) > > 4) It works on the SUN 1.4.1 JVM (on RH7.3) > > I conclude that there is no error in the Tomcat setup or the > code. JSSE is available (and SSL sockets can be opened w/o > problem) I haven't tried Blackdown 1.4.1 yet. > > 5) Setting "-verbose" on the JVM, we see the following Tomcat log: > > In Blackdown 1.3.1: > > Ajp13Processor[8009][4] > INFO > m3p.utils.ssl.SSLSetup.setUpSSLFunctionality > 00>Successfully set the 'https' handler base name > > (this is my class logging through Log4J, the thread name is in the > first line, the log level in the second, the category in the 3rd, > the message in the 4th & subsequent lines) > > In Sun 1.4.1: > > Ajp13Processor[8009][4] > INFO > m3p.utils.ssl.SSLSetup.setUpSSLFunctionality > 00>Successfully set the 'https' handler base name > [Loaded sun.net.www.protocol.http.Handler from > /usr/java-prod/j2sdk-1.4.1-fcs-sun/jre/lib/rt.jar] > [Loaded sun.net.www.protocol.https.Handler from > /usr/java-prod/j2sdk-1.4.1-fcs-sun/jre/lib/jsse.jar] > [Loaded com.sun.net.ssl.internal.www.protocol.https.Handler from > /usr/java-prod/j2sdk-1.4.1-fcs-sun/jre/lib/jsse.jar] > > (Here we see 3 additional lines generated by the JVM saying that indeed > the com.sun.net.ssl.internal.www.protocol.https.Handler has been loaded; > these lines do not show up in Blackdown 1.3.1) > > > So...is this problem known? Is it a fluke? I didn't find any mention > on the web, Usenet or in jitterbug concerning this.... > > Best regards, > > -- David Tonhofer > > > > ---------------------------------------------------------------------- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]