tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: JSSE13SocketFactory in a 1.5 JVM and SUN-SPECIFIC classes
Date Fri, 19 May 2006 03:40:38 GMT

"Joe Bohn" <joe.bohn@earthlink.net> wrote in message 
news:446CB17D.2080803@earthlink.net...
>
> I'm trying to build Tomcat 5.5.15 using the IBM 1.5 JDK.
>
> Why?  Because I'm working with a user that wants to run with the IBM 1.5 
> JDK in production.  They want to build Tomcat with the IBM JDK for 2 
> reasons:
> 1)  To ensure that they can build if they have to fix/change something 
> (and this is their JDK of choice).
> 2)  To preempt any potential runtime problems with missing classes in the 
> JVM by catching and fixing them at build time rather than runtime.
>
> I'm having problems building JSSE13SocketFactory because of references to 
> SUN-SPECIFIC classes in packages like com.sun.net.ssl.internal.ssl.*
>
> Am I correct in understanding that this class only exists for 
> compatibility with 1.3 JVMs and will never be executed in a 1.5 JVM?  If 
> so, then that should address #2 above (we'll never execute the class. I 
> could then address #1 by either changing the class or possibly even 
> removing it and all references.
>

Yes, that class is only for compatibility with 1.3 JVMs.  It will never be 
loaded by a 1.4+ JVM.  Personally, I think that it is easier to simply grap 
JSSE 1.0 (the one for 1.3 JVMs) from Sun and set jsse.home in your 
build.properties file to wherever you unpack it.  However, either of your 
options will work as well, provided that you remember to repeat it whenever 
you upgrade.

> Have other folks built Tomcat using JDKs other than Sun's?  How do you 
> work around problems like this?
>

Gump has built Tomcat regularly with Kaffe by having the JSSE 1.0 jars 
installed.

> Thanks for the help!
> Joe
>
>
> -- 
> Joe Bohn
> joe.bohn at earthlink.net
>
> "He is no fool who gives what he cannot keep, to gain what he cannot 
> lose."   -- Jim Elliot 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message