You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick Lutowski <ri...@jreality.com> on 2004/03/22 18:01:18 UTC

Connector build error

Am trying to build the .so connector to integrate tomcat 4.1.30
with apache 2.0.48 on debian linux.  Both tomcat and apache are
up and running just fine individually, but need a mod_jk2.so
Ajp13 connector to get a servlet working.

The current connectors source distribution 
jakarta-tomcat-connectors-jk2-2.0.2-src
fails as follows:

--------------

$ cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk
jk$ ant
Buildfile: build.xml

detect:
     [echo] -------- jakarta-tomcat-connectors --------

prepare:

BUILD FAILED
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:105: Warning: Could not find file
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomcat-coyote.jar to copy.

---------------

Sure enough, build/lib does not contain any tomcat-coyote.jar file.
In fact, lib is totally empty.  The current connector source distro
appears to be missing some needed files.

Well, all I need is the binary connector, so let's just try:

----------------

jk$ ant native
Buildfile: build.xml

jkant:

BUILD FAILED
/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:232: srcdir
"/fs/hdb9/hdc4/home/gnu/net/www/apache/connectors/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/jkant/java" does not exist!

----------------

Turns out it is looking for a file jkant/java/ant.tasks,
which also does not exist in the current distro.

Can anyone supply
1. tomcat-coyote.jar
2. ant.tasks
 
or, better stiil

3. A complete version of the connectors source distro that works?

Thanks very much.

PS: apache 2.0.48 built flawlessly using 'make' on debian.
Real slick!  The connectors source should do at least as
well since it is java-based (and java is less error prone 
than c ;-)

-- 
Rick Lutowski
Principal, JReality
rick@jreality.com
http://www.jreality.com

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