tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barr, Scott [IBM GSA]" <Scott.B...@team.telstra.com>
Subject RE: error compiling jakarta-tomcat-connectors
Date Mon, 02 Sep 2002 00:38:33 GMT

I had the same issue, so commented out all the exceptions in the throws
clause except for IOException. This allowed it to compile.
Still haven't got the connector to actually work though, getting "JkMount
not recognised", when starting. Same old, same old :]

Scott


> -----Original Message-----
> From:	Branko Kannenberg [SMTP:kannenbe@informatik.uni-kl.de]
> Sent:	Friday, August 30, 2002 11:45 PM
> To:	Tomcat Users List
> Subject:	error compiling jakarta-tomcat-connectors
> 
> 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/jak
> arta-tomcat-4.0.4.tar.gz
> and
> http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src/jak
> arta-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:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>

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


Mime
View raw message