You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/05/11 20:44:40 UTC
DO NOT REPLY [Bug 39562] New: - Tomcat depends on Sun SSL classes, won't compile with IBM JDK 1.4.2.04
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39562>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39562
Summary: Tomcat depends on Sun SSL classes, won't compile with
IBM JDK 1.4.2.04
Product: Tomcat 5
Version: Unknown
Platform: Other
URL: http://www.phpfi.com/117365
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: support@obsidian-studios.com
If possible would really be nice if Tomcat did not depend on these classes as
they are not available in all JDK's.
It fails on
tomcat-util.jar:
[echo] ----- Java-utils -----
[echo] -- puretls.present = ${puretls.present}
[echo] -- jsse.present = true
/var/tmp/portage/tomcat-5.5.17/temp/jsse-1.0.3/lib/jsse.jar
[echo] -- commons-logging = true
[echo] -- jmx = true /usr/share/mx4j-3.0/lib/mx4j.jar
[echo] -- modeler = true /usr/share/commons-modeler/lib/commons-modeler.jar
[echo] -- skip.digester = ${skip.digester}
[echo] -- JDK14 = true
[echo] -- JDK15 = ${jdk1.5.present}
[javac] Compiling 92 source files to
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/build/build/classes
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:76:
package com.sun.net.ssl.internal.ssl does not exist
[javac] Security.addProvider (new
com.sun.net.ssl.internal.ssl.Provider());
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:94:
package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.KeyManagerFactory kmf =
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:95:
package com.sun.net.ssl does not exist
[javac]
com.sun.net.ssl.KeyManagerFactory.getInstance(algorithm);
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:105:
package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.TrustManager[] tm = null;
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:112:
package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.TrustManagerFactory tmf =
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:113:
package com.sun.net.ssl does not exist
[javac]
com.sun.net.ssl.TrustManagerFactory.getInstance("SunX509");
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:119:
package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.SSLContext context =
[javac] ^
[javac]
/var/tmp/portage/tomcat-5.5.17/work/apache-tomcat-5.5.17-src/connectors/util/java/org/apache/tomcat/util/net/jsse/JSSE13SocketFactory.java:120:
package com.sun.net.ssl does not exist
[javac] com.sun.net.ssl.SSLContext.getInstance(protocol);
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 8 errors
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39562] - Tomcat depends on Sun SSL classes, won't compile with IBM JDK 1.4.2.04
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39562>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39562
------- Additional Comments From support@obsidian-studios.com 2006-05-11 21:06 -------
Good news about Tomcat 6.
Ok, Blackdown JDK 1.4.2.03 works fine, as well as Sun's without that package.
It's just IBM's jdk. Also it's not a direct easy fix since, on Gentoo, a user
can use a variety of different jdks. Would would have to have a dependency that
existing only for a subset (or one) of the available jdks. I will see about
making a work around for Tomcat 5.5.x. Since it's likely to remain in use for a
little while, even once 6.x is released.
Also I do not believe it was a problem with Jikes either, some users used that
recently to compile Tomcat.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39562] - Tomcat depends on Sun SSL classes, won't compile with IBM JDK 1.4.2.04
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39562>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39562
william.barker@wilshire.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From william.barker@wilshire.com 2006-05-11 18:59 -------
The reference to the Sun classes is to allow support for JSSE 1.0 on pre-1.4
JVMs. You'll be happy to know that these dependancies have been removed from
Tomcat 6 :).
The simple work-around is to download JSSE 1.0 and set the property jsse.home
in your build.properties to point the the directory where it lives.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 39562] - Tomcat depends on Sun SSL classes, won't compile with IBM JDK 1.4.2.04
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39562>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39562
------- Additional Comments From support@obsidian-studios.com 2006-05-11 18:50 -------
Ideas for replacement
com.sun.net.ssl.SSLContex -> javax.net.ssl.SSLContext
com.sun.net.ssl.KeyManagerFactory -> javax.net.ssl.KeyManagerFactory
com.sun.net.ssl.internal.ssl.Provider -> ???
com.sun.net.ssl.TrustManagerFactory -> javax.net.ssl.TrustManagerFactory
the Provider might be java.security.Provider
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org