You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Koop <tv...@hotmail.com> on 2002/08/23 17:08:17 UTC

JVM crashes when using JSSE

I have Tomcat working fine, but when I try to get the SSL working using
JSSE, by uncommenting the lines in server.xml, Java crashes on me.

I installed Tomcat 4.0.4 with the tomcat4-4.0.4-full.2jpp.noarch.rpm rpm.
I installed Java SDK 1.3.1 with the IBMJava2-SDK-1.3.1-2.0.i386.rpm rpm.

It all works fine till here.

Then I found the following files and put them in
/opt/IBMJava2-131/jre/lib/ext/
jcert.jar
jnet.jar
jsse.jar

Then I ran the keytool, just like the instructions said and put the
.keystore file in the tomcat4 directory.

Then I uncommented the following lines in /var/tomcat4/conf/server.xml
    <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8443" minProcessors="5" maxProcessors="75"
               enableLookups="true"
               acceptCount="10" debug="0" scheme="https" secure="true">
      <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
               clientAuth="false" protocol="TLS"/>
    <keystoreFile>/var/tomcat4/</keystoreFile>
    </Connector>


When I restart at this point, I get the following error, which I concluded
was a JVM core dump:
        stackpointer=0xbfffeda8
Writing Java core file ....
Written Java core to /tmp/javacore9253.1030108102.txt

I'm using a fresh install of Linux Red Hat 7.3

Can anyone give me any ideas on how to get this working?

Thanks in advance.

Tim Koop






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


Re: JVM crashes when using JSSE

Posted by Tim Koop <tv...@hotmail.com>.
In case you're curious, I tried it with Sun's Java SDK 1.4.1 and all works
fine.

Tim Koop
www.timkoop.com

----- Original Message -----
From: "Tim Koop" <tv...@hotmail.com>
To: <to...@jakarta.apache.org>
Sent: Friday, August 23, 2002 4:08 PM
Subject: JVM crashes when using JSSE


> I have Tomcat working fine, but when I try to get the SSL working using
> JSSE, by uncommenting the lines in server.xml, Java crashes on me.
>
> I installed Tomcat 4.0.4 with the tomcat4-4.0.4-full.2jpp.noarch.rpm rpm.
> I installed Java SDK 1.3.1 with the IBMJava2-SDK-1.3.1-2.0.i386.rpm rpm.
>
> It all works fine till here.
>
> Then I found the following files and put them in
> /opt/IBMJava2-131/jre/lib/ext/
> jcert.jar
> jnet.jar
> jsse.jar
>
> Then I ran the keytool, just like the instructions said and put the
> .keystore file in the tomcat4 directory.
>
> Then I uncommented the following lines in /var/tomcat4/conf/server.xml
>     <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
>     <Connector
className="org.apache.catalina.connector.http.HttpConnector"
>                port="8443" minProcessors="5" maxProcessors="75"
>                enableLookups="true"
>                acceptCount="10" debug="0" scheme="https" secure="true">
>       <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
>                clientAuth="false" protocol="TLS"/>
>     <keystoreFile>/var/tomcat4/</keystoreFile>
>     </Connector>
>
>
> When I restart at this point, I get the following error, which I concluded
> was a JVM core dump:
>         stackpointer=0xbfffeda8
> Writing Java core file ....
> Written Java core to /tmp/javacore9253.1030108102.txt
>
> I'm using a fresh install of Linux Red Hat 7.3
>
> Can anyone give me any ideas on how to get this working?
>
> Thanks in advance.
>
> Tim Koop
>
>
>
>
>
>
> --
> 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>