Hi All,
I am having trouble installing jk2. Here are the steps I have taken:
1) Download jk2 source (I couldn't find a RedHat binary?)
2) Unpack to /opt/jakarta/jakarta-tomcat-connectors-jk2-2.0.2-src
3) Edit the build.properties file as follows:
a) my tomcat home directory is /opt/jakarta/jakarta/tomcat
b) my apache home directory is /usr/local/apache2
<build.properties>
#
# sample build.properties for ajp connector.
# edit to taste...
#
# Directory where tomcat5 is installed
#tomcat5.home= ../../jakarta-tomcat-5/build
# Directory where catalina is installed. It can
# be either 4.0 or 4.1
tomcat41.home=/opt/jakarta/jakarta-tomcat
# If you want to build/install on both 4.0
# and 4.1, set this to point to 4.0 and 'catalina.home'
# to point to 4.0
# ( most people need only the first, but developers should
# have both )
#tomcat41.home=../../jakarta-tomcat-4.1/build
# Directory where tomcat3.3 is installed
#tomcat33.home= ../../jakarta-tomcat/build/tomcat
# Location of Apache2, Apache1.3, Netscape, IIS
apache2.home=/usr/local/apache2
#apache13.home=/opt/apache13
#iplanet.home=/opt/iplanet6
# iplanet.home=d:/tools/sdk/netscape
# iis.home=e:/
# APR location - by default the version included in Apache2 is used.
# Don't edit unless you install 'standalone' apr.
apr.home=${apache2.home}
apr.include=${apr.home}/include
apr-util.include=${apr.home}/include
apr.lib=${apr.home}/lib
apr-util.lib=${apr.home}/lib
apache2.lib=${apache2.home}/lib
# Compile-time options for native code
so.debug=true
so.optimize=false
so.profile=false
# tools for other directories
# Metrowerks and novel ndk
#mw.home=d:/tools/mw/6.0
#novellndk.home=d:/tools/novell/ndk/nwsdk
# MSVC
#mssdk.home=c:/Program Files/Microsoft Visual Studio/VC98
</build.properties>
4) run ant with the following error:
Buildfile: build.xml
detect:
[echo] -------- jakarta-tomcat-connectors --------
prepare:
BUILD FAILED
file:/opt/jakarta/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build.xml:105:
Warning: Could not find file
/opt/jakarta/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/lib/tomcat
-coyote.jar to copy.
Total time: 0 seconds
5) Now I am confused. There is not even a coyote directory in either of
$TOMCAT_HOME or the connectors dirs. There is, however a tomcat-coyote.jar
file in $TOMCAT_HOME/server/lib. Am I supposed to link to that in
build.xml? How?
I have seen a lot about this in the archives, but none of the suggestions
that I tried from there helped. I hope that one of you know what is
happening and how I can get past it.
Thanks in advance,
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]