Hi there ! I'm trying to compile the tomcat connector package from the source, but I have a problem, here is what I did.
I downloaded http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/bin/jakarta-tomcat-4.0.4.tar.gz and http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/jakarta-tomcat-connectors-4.0.4-src.tar.gz and extracted them into a fresh directory. Then I followed exactly the instructions at http://www.pubbitch.org/jboss/mod_jk2.html (this is mainly editing the build.properties files) When it comes to building with ant, I get the following error message: compile.tomcat4: [javac] Compiling 12 source files to /home/kannenbe/klinform/software/fresh/jakarta-tomcat-connectors-4.0.4-src/coyote/build/classes [javac] /home/kannenbe/klinform/software/fresh/jakarta-tomcat-connectors-4.0.4-src/coyote/src/java/org/apache/coyote/tomcat4/CoyoteServerSocketFactory.java:102: createSocket(int,int,java.net.InetAddress) in org.apache.coyote.tomcat4.CoyoteServerSocketFactory cannot implement createSocket(int,int,java.net.InetAddress) in org.apache.catalina.net.ServerSocketFactory; overridden method does not throw java.security.KeyManagementException [javac] public class CoyoteServerSocketFactory [javac] ^ This happens with jdk-1.4 and jdk-1.3.1 (on linux, suse 8.0) Other people don't seem to have this problem, so what am I doing wrong? The problem comes from this line in CoyoteServerSocketFactory.java in the connectors-source-package: public class CoyoteServerSocketFactory implements org.apache.catalina.net.ServerSocketFactory { The Interface org.apache.catalina.net.ServerSocketFactory is located in catalina.jar in the binary distribution of jakarta-tomcat-4.0.4 So, this should fit... but it doesn't..... any ideas? Thanks a lot. Ciao, Branko. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
