You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bob Plankers <pl...@doit.wisc.edu> on 2001/10/30 00:09:53 UTC

Tomcat 4.0, SSL, and IBM's JSSE

Hello all,

I'm somewhat new to Tomcat and am attempting to set up the SSL connector
with Tomcat 4.0.0 (a binary distribution I grabbed) on an IBM RS/6000
running AIX 4.3.3 and the IBM JDK 1.3.0 as available from their web page.
I uncomment the SSL connector in server.xml and when I attempt to start
Tomcat I get:

Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/sun/net/ssl/SSLContext
        at org.apache.catalina.net.SSLServerSocketFactory.initProxy(Unknown Source)
        at org.apache.catalina.net.SSLServerSocketFactory.initialize(Unknown Source)
        at org.apache.catalina.net.SSLServerSocketFactory.createSocket(Unknown Source)
        at org.apache.catalina.connector.http.HttpConnector.open(Unknown Source)
        at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source)
        at org.apache.catalina.core.StandardService.initialize(Unknown Source)
        at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

The thing that gets me is that if I look in the JSSE's ibmjsse.jar file
(at $JAVA_HOME/jre/lib/ext) those classes are there, just at
com/ibm/net/ssl/SSLContext instead.

Has anyone done this using IBM's JDK/JRE and can give me a hint or two? Do
I need to rebuild Tomcat from source, or is there an easy fix for this?

Thanks in advance. You have no idea how much I appreciate it.

...Bob

......................................................................
Bob Plankers                                    plankers@doit.wisc.edu
University of Wisconsin - Madison                      +1.608.262.7783
Division of Information Technology             http://bob.plankers.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 4.0, SSL, and IBM's JSSE

Posted by Ian Johnson <ij...@sympatico.ca>.
OK - Thought I would thow it out as a clue :)



-----Original Message-----
From: Bob Plankers [mailto:plankers@doit.wisc.edu]
Sent: Monday, October 29, 2001 7:07 PM
To: Tomcat Users List
Subject: RE: Tomcat 4.0, SSL, and IBM's JSSE


Ian,

I appreciate the response, but I'm using the IBM JDK under AIX, not
Windows. It doesn't appear to be an environment problem, though I may be
mistaken. Tomcat is finding the JSSE jar file fine, it just doesn't like
it. :-)

...Bob

On Mon, 29 Oct 2001, Ian Johnson wrote:

> Here is the answer I got - works now
>
>
> StartMenu shortcuts fail to launch Tomcat when SSL enabled - command line
> launch works
>
>
>
>
>
> ------- Additional Comments From remm@apache.org  2001-10-26 12:56 -------
> You need to put the JSSE JARs in common/lib for that to work (the
shortcuts
> will ignore the env variables). Or alternately, you can edit the
shortcuts,
> or
> add JSSE as a JRE extension.
>
>
>
>
> ************************
>
> -----Original Message-----
> From: Bob Plankers [mailto:plankers@doit.wisc.edu]
> Sent: Monday, October 29, 2001 6:10 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.0, SSL, and IBM's JSSE
>
>
> Hello all,
>
> I'm somewhat new to Tomcat and am attempting to set up the SSL connector
> with Tomcat 4.0.0 (a binary distribution I grabbed) on an IBM RS/6000
> running AIX 4.3.3 and the IBM JDK 1.3.0 as available from their web page.
> I uncomment the SSL connector in server.xml and when I attempt to start
> Tomcat I get:
>
> Exception during startup processing
> java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError:
> com/sun/net/ssl/SSLContext
>         at
org.apache.catalina.net.SSLServerSocketFactory.initProxy(Unknown
> Source)
>         at
org.apache.catalina.net.SSLServerSocketFactory.initialize(Unknown
> Source)
>         at
> org.apache.catalina.net.SSLServerSocketFactory.createSocket(Unknown
Source)
>         at org.apache.catalina.connector.http.HttpConnector.open(Unknown
> Source)
>         at
> org.apache.catalina.connector.http.HttpConnector.initialize(Unknown
Source)
>         at org.apache.catalina.core.StandardService.initialize(Unknown
> Source)
>         at org.apache.catalina.core.StandardServer.initialize(Unknown
> Source)
>         at org.apache.catalina.startup.Catalina.start(Unknown Source)
>         at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>         at org.apache.catalina.startup.Catalina.process(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
>
> The thing that gets me is that if I look in the JSSE's ibmjsse.jar file
> (at $JAVA_HOME/jre/lib/ext) those classes are there, just at
> com/ibm/net/ssl/SSLContext instead.
>
> Has anyone done this using IBM's JDK/JRE and can give me a hint or two? Do
> I need to rebuild Tomcat from source, or is there an easy fix for this?
>
> Thanks in advance. You have no idea how much I appreciate it.
>
> ...Bob
>
> ......................................................................
> Bob Plankers                                    plankers@doit.wisc.edu
> University of Wisconsin - Madison                      +1.608.262.7783
> Division of Information Technology             http://bob.plankers.com
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>

......................................................................
Bob Plankers                                    plankers@doit.wisc.edu
University of Wisconsin - Madison                      +1.608.262.7783
Division of Information Technology             http://bob.plankers.com



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 4.0, SSL, and IBM's JSSE

Posted by Bob Plankers <pl...@doit.wisc.edu>.
Ian,

I appreciate the response, but I'm using the IBM JDK under AIX, not
Windows. It doesn't appear to be an environment problem, though I may be
mistaken. Tomcat is finding the JSSE jar file fine, it just doesn't like
it. :-)

...Bob

On Mon, 29 Oct 2001, Ian Johnson wrote:

> Here is the answer I got - works now
>
>
> StartMenu shortcuts fail to launch Tomcat when SSL enabled - command line
> launch works
>
>
>
>
>
> ------- Additional Comments From remm@apache.org  2001-10-26 12:56 -------
> You need to put the JSSE JARs in common/lib for that to work (the shortcuts
> will ignore the env variables). Or alternately, you can edit the shortcuts,
> or
> add JSSE as a JRE extension.
>
>
>
>
> ************************
>
> -----Original Message-----
> From: Bob Plankers [mailto:plankers@doit.wisc.edu]
> Sent: Monday, October 29, 2001 6:10 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.0, SSL, and IBM's JSSE
>
>
> Hello all,
>
> I'm somewhat new to Tomcat and am attempting to set up the SSL connector
> with Tomcat 4.0.0 (a binary distribution I grabbed) on an IBM RS/6000
> running AIX 4.3.3 and the IBM JDK 1.3.0 as available from their web page.
> I uncomment the SSL connector in server.xml and when I attempt to start
> Tomcat I get:
>
> Exception during startup processing
> java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
> com/sun/net/ssl/SSLContext
>         at org.apache.catalina.net.SSLServerSocketFactory.initProxy(Unknown
> Source)
>         at org.apache.catalina.net.SSLServerSocketFactory.initialize(Unknown
> Source)
>         at
> org.apache.catalina.net.SSLServerSocketFactory.createSocket(Unknown Source)
>         at org.apache.catalina.connector.http.HttpConnector.open(Unknown
> Source)
>         at
> org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source)
>         at org.apache.catalina.core.StandardService.initialize(Unknown
> Source)
>         at org.apache.catalina.core.StandardServer.initialize(Unknown
> Source)
>         at org.apache.catalina.startup.Catalina.start(Unknown Source)
>         at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>         at org.apache.catalina.startup.Catalina.process(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
>
> The thing that gets me is that if I look in the JSSE's ibmjsse.jar file
> (at $JAVA_HOME/jre/lib/ext) those classes are there, just at
> com/ibm/net/ssl/SSLContext instead.
>
> Has anyone done this using IBM's JDK/JRE and can give me a hint or two? Do
> I need to rebuild Tomcat from source, or is there an easy fix for this?
>
> Thanks in advance. You have no idea how much I appreciate it.
>
> ...Bob
>
> ......................................................................
> Bob Plankers                                    plankers@doit.wisc.edu
> University of Wisconsin - Madison                      +1.608.262.7783
> Division of Information Technology             http://bob.plankers.com
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>

......................................................................
Bob Plankers                                    plankers@doit.wisc.edu
University of Wisconsin - Madison                      +1.608.262.7783
Division of Information Technology             http://bob.plankers.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Tomcat 4.0, SSL, and IBM's JSSE

Posted by Ian Johnson <ij...@sympatico.ca>.
Here is the answer I got - works now


StartMenu shortcuts fail to launch Tomcat when SSL enabled - command line
launch works





------- Additional Comments From remm@apache.org  2001-10-26 12:56 -------
You need to put the JSSE JARs in common/lib for that to work (the shortcuts
will ignore the env variables). Or alternately, you can edit the shortcuts,
or
add JSSE as a JRE extension.




************************

-----Original Message-----
From: Bob Plankers [mailto:plankers@doit.wisc.edu]
Sent: Monday, October 29, 2001 6:10 PM
To: tomcat-user@jakarta.apache.org
Subject: Tomcat 4.0, SSL, and IBM's JSSE


Hello all,

I'm somewhat new to Tomcat and am attempting to set up the SSL connector
with Tomcat 4.0.0 (a binary distribution I grabbed) on an IBM RS/6000
running AIX 4.3.3 and the IBM JDK 1.3.0 as available from their web page.
I uncomment the SSL connector in server.xml and when I attempt to start
Tomcat I get:

Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError:
com/sun/net/ssl/SSLContext
        at org.apache.catalina.net.SSLServerSocketFactory.initProxy(Unknown
Source)
        at org.apache.catalina.net.SSLServerSocketFactory.initialize(Unknown
Source)
        at
org.apache.catalina.net.SSLServerSocketFactory.createSocket(Unknown Source)
        at org.apache.catalina.connector.http.HttpConnector.open(Unknown
Source)
        at
org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source)
        at org.apache.catalina.core.StandardService.initialize(Unknown
Source)
        at org.apache.catalina.core.StandardServer.initialize(Unknown
Source)
        at org.apache.catalina.startup.Catalina.start(Unknown Source)
        at org.apache.catalina.startup.Catalina.execute(Unknown Source)
        at org.apache.catalina.startup.Catalina.process(Unknown Source)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

The thing that gets me is that if I look in the JSSE's ibmjsse.jar file
(at $JAVA_HOME/jre/lib/ext) those classes are there, just at
com/ibm/net/ssl/SSLContext instead.

Has anyone done this using IBM's JDK/JRE and can give me a hint or two? Do
I need to rebuild Tomcat from source, or is there an easy fix for this?

Thanks in advance. You have no idea how much I appreciate it.

...Bob

......................................................................
Bob Plankers                                    plankers@doit.wisc.edu
University of Wisconsin - Madison                      +1.608.262.7783
Division of Information Technology             http://bob.plankers.com



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Tomcat 4.0, SSL, and IBM's JSSE

Posted by "Craig R. McClanahan" <cr...@apache.org>.
Tomcat's current SSL implementation requires the Sun implementation of
JSSE.  It would probably be feasible to create a version based on IBM's
JSSE instead, but nobody has done so yet.

Craig McClanahan



On Mon, 29 Oct 2001, Bob Plankers wrote:

> Date: Mon, 29 Oct 2001 17:09:53 -0600 (CST)
> From: Bob Plankers <pl...@doit.wisc.edu>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: tomcat-user@jakarta.apache.org
> Subject: Tomcat 4.0, SSL, and IBM's JSSE
>
> Hello all,
>
> I'm somewhat new to Tomcat and am attempting to set up the SSL connector
> with Tomcat 4.0.0 (a binary distribution I grabbed) on an IBM RS/6000
> running AIX 4.3.3 and the IBM JDK 1.3.0 as available from their web page.
> I uncomment the SSL connector in server.xml and when I attempt to start
> Tomcat I get:
>
> Exception during startup processing
> java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: com/sun/net/ssl/SSLContext
>         at org.apache.catalina.net.SSLServerSocketFactory.initProxy(Unknown Source)
>         at org.apache.catalina.net.SSLServerSocketFactory.initialize(Unknown Source)
>         at org.apache.catalina.net.SSLServerSocketFactory.createSocket(Unknown Source)
>         at org.apache.catalina.connector.http.HttpConnector.open(Unknown Source)
>         at org.apache.catalina.connector.http.HttpConnector.initialize(Unknown Source)
>         at org.apache.catalina.core.StandardService.initialize(Unknown Source)
>         at org.apache.catalina.core.StandardServer.initialize(Unknown Source)
>         at org.apache.catalina.startup.Catalina.start(Unknown Source)
>         at org.apache.catalina.startup.Catalina.execute(Unknown Source)
>         at org.apache.catalina.startup.Catalina.process(Unknown Source)
>         at java.lang.reflect.Method.invoke(Native Method)
>         at org.apache.catalina.startup.Bootstrap.main(Unknown Source)
>
> The thing that gets me is that if I look in the JSSE's ibmjsse.jar file
> (at $JAVA_HOME/jre/lib/ext) those classes are there, just at
> com/ibm/net/ssl/SSLContext instead.
>
> Has anyone done this using IBM's JDK/JRE and can give me a hint or two? Do
> I need to rebuild Tomcat from source, or is there an easy fix for this?
>
> Thanks in advance. You have no idea how much I appreciate it.
>
> ...Bob
>
> ......................................................................
> Bob Plankers                                    plankers@doit.wisc.edu
> University of Wisconsin - Madison                      +1.608.262.7783
> Division of Information Technology             http://bob.plankers.com
>
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>