You don't need to build the connector JARs. They are already built for you (check a binary install package of Tomcat). The only thing you need to build is the Apache side (the Apache module) of the connector, and even then you can probably get a binary from the Jakarta site or even my own site at:
http://www.johnturner.com/howto That said, building the Apache side of the connectors is fairly straight-forward, assuming a GNU build environment. It's very similar to building Apache itself: Locahost #: ./configure --with-apxs=/some/path/to/apache/bin/apxs --with-java=${JAVA_HOME} Localhost #: make Localhost #: make install You may need to run buildconf.sh prior to configure, I don't remember. John -----Original Message----- From: Joseph Shraibman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 11, 2002 8:17 PM To: [EMAIL PROTECTED] Subject: How to build jk2? On http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html it talks about configure scripts, but the actual source I downloaded from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0. 2/src/ doesn't have configure scripts. It does have README.txt that says: * Copy build.properties.sample to build.properties * Edit build.properties to taste. In particular it's important to set the paths to tomcat and apache. But when I do that I get: detect: [echo] -------- jakarta-tomcat-connectors -------- prepare: [mkdir] Created dir: /local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/conf [mkdir] Created dir: /local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/clas ses [mkdir] Created dir: /local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/clas ses/META-INF [mkdir] Created dir: /local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/lib [copy] Copying 8 files to /local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build/conf BUILD FAILED file:/local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/jk/build .xml:105: Warning: Could not find file /local/download/apache/jakarta-tomcat-connectors-jk2-2.0.2-src/coyote/build/ lib/tomcat-coyote.jar to copy. Total time: 5 seconds This source package doesn't seem to be release quality. The README.txt has: Setting tomcat 4.1 ================== Restart tomcat. ( XXX this is not completely implemented. For now we'll use the same mechanism as in 4.0 - i.e. add <Connector> in server.xml. ) Configuring JK1 =============== Configuring JK2 =============== and the build.properties.sample has: # 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 So how do I get a connector? Does 2.0.1 work? Should I just use jk? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
