DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15185>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15185

problem with SSL and jdk1.4

           Summary: problem with SSL and jdk1.4
           Product: Tomcat 4
           Version: 4.0.6 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Connector:HTTP/1.1 (deprecated)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Hi, 
I have reported the following problem to Sun and they have answered this:


Hi Thomas,

This appears to be a problem with Tomcat.  Could you please forward this
bug to the jakarta bug database at http://jakarta.apache.org/site/bugs.html?
They will analyze the problem and alert us if there is a bug in the jdk.

Regards,
Nathanael
----------------- Original Bug Report-------------------

category : java
release : 1.4.1
subcategory : classes_security
type : bug
synopsis : NoSuchMethodError using JSEE provided with jsdk1.4.1 and Tomcat4
description : FULL PRODUCT VERSION :
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

FULL OPERATING SYSTEM VERSION :Windows NT Version 4.0


A DESCRIPTION OF THE PROBLEM :
Dear Sirs,

I have tried to use Tomcat 4.6.0 with https and j2sdk1.4.1.
The following problem occurs:

java.lang.NoSuchMethodError:
java.security.interfaces.RSAPrivateCrtKey.getPrivateExponent
()Ljava/math/BigInteger;
    at com.sun.net.ssl.internal.ssl.SunJSSE_bl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_be.<init>(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at
org.apache.catalina.connector.http.SocketInputStream.fill
(SocketInputStream.java:593)
    at
org.apache.catalina.connector.http.SocketInputStream.read
(SocketInputStream.java:530)
    at
org.apache.catalina.connector.http.SocketInputStream.readReq
uestLine(SocketInputStream.java:199)
    at
org.apache.catalina.connector.http.HttpProcessor.parseReques
t(HttpProcessor.java:710)
    at
org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:974)
    at
org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)

With j2sdk1.3 and the same configuration there are no
problems.

REGRESSION.  Last worked in version 1.3.1

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.Install js2dk1.4.1
2.Install jakarta-tomcat-4.0.6-LE-jdk14.zip
3.Configure a https connector
4.Generate a key with the keytool as described in the manual
5.Run Tomcat
6.Start a Browser and use this URL https://localhost:8443

EXPECTED VERSUS ACTUAL BEHAVIOR :
You should get the welcome site of Tomcat4, but you get
nothing because the connention hangs. In the catlina_log
you get the entry above

ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.NoSuchMethodError:
java.security.interfaces.RSAPrivateCrtKey.getPrivateExponent()
Ljava/math/BigInteger;
    at com.sun.net.ssl.internal.ssl.SunJSSE_bl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_be.<init>(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_aw.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SunJSSE_ax.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA6275)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA6275)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(DashoA6275)
    at org.apache.catalina.connector.http.SocketInputStream.fill
(SocketInputStream.java:593)
    at org.apache.catalina.connector.http.SocketInputStream.read
(SocketInputStream.java:530)
    at org.apache.catalina.connector.http.SocketInputStream.readRequestLine
(SocketInputStream.java:199)
    at org.apache.catalina.connector.http.HttpProcessor.parseRequest
(HttpProcessor.java:710)
    at org.apache.catalina.connector.http.HttpProcessor.process
(HttpProcessor.java:974)
    at org.apache.catalina.connector.http.HttpProcessor.run
(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Please get the source from the jakarta project.
---------- END SOURCE ----------
workaround : 
suggested_val : 
cust_name : Thomas Thomas
cust_email : [EMAIL PROTECTED]
jdcid : tmaesing1
keyword : webbug
company : BGS Systemplanung AG
hardware : x86
OSversion : win_nt_4.0
bugtraqID : 0
dateCreated : 2002-11-21 03:38:13.0
dateEvaluated : 2002-12-06 15:33:03.935

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to