tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5295] New: - Error building Catalina when optional build.jsse Ant property not used
Date Wed, 05 Dec 2001 22:35:39 GMT
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=5295>.
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=5295

Error building Catalina when optional build.jsse Ant property not used

           Summary: Error building Catalina when optional build.jsse Ant
                    property not used
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ruvinsky@yahoo.com


JSSE is not a required library in order to build Catalina.  However, if in the
build.properties file, jsse.home and other JSSE-related properties are not
defined (hence the build.jsse won't be defined in the Ant build script), javac
gives a compiler error.

Here is the problem:

In the Ant build script, if build.jsse is not defined, javac is told to exclude
the class "org.apache.catalina.net.SSLServerSocketFactory" from its FileSet. 
However, since there are other Java class files that reference
SSLServerSocketFactory, javac attempts to compile it but fails when it cannot
import the dependent JSSE-related classes.
Suggested solution:

The Catalina class "org.apache.catalina.startup.Embedded" references class
SSLServerSocketFactory, so it must be patched to no longer import the class. 
Also it must be updated to not explicity create an instance of
SSLServerSocketFactory but perhaps use the
Class.forName(...)/clazz.newInstance() mechanism.

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message