Hi, could someone please point me to a reference on how to make these
three work neatly together? Apache 2.0.44 is nice up and running on
FreeBSD 4.7, and even Tomcat makes its purring sound. No JK, though.

I found a binary for jk 1.2 that was compiled for Apache 2.0.42, and it
gave me some unresolved references when starting. Dropping that I went to
compile up JK 1.2.2. The compile goes well, but I get

Syntax error on line 1 of /usr/local/apache2/conf/mod_jk.conf:
Cannot load /usr/local/apache2/modules/mod_jk.so into server:
/usr/local/apache2/modules/mod_jk.so: Undefined symbol
"pthread_mutex_unlock"

Apparently I need to add a -lpthread to some Makefile statement, but I
cannot figure out where to put it? Suggestions?


So I head for JK2 2.0.2, which misses coyote, http11, lib, util  (Why does
a distribution come without this? (I'm referring to:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.2/src/jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz
)
ant just gives up:

Buildfile: build.xml

coyote:

BUILD FAILED
file:/usr/server-src/jakarta-tomcat-connectors-jk2-2.0.2-src/build.xml:11:
Basedir /usr/server-src/jakarta-tomcat-connectors-jk2-2.0.2-src/util does
not exist

Total time: 1 second



So I figure out I need more source, and get a CVS of
jakarta-tomcat-connectors   Here ant gives me the following errors:

compile-only:
    [javac] Compiling 14 source files to
/usr/server-src/jakarta/jakarta-tomcat-connectors/http11/build/classes
    [javac]
/usr/server-src/jakarta/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java:72:
package org.apache.commons.modeler does not exist
    [javac] import org.apache.commons.modeler.Registry;
    [javac]                                   ^
    [javac]
/usr/server-src/jakarta/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java:166:
cannot resolve symbol
    [javac] symbol  : variable Registry
    [javac] location: class org.apache.coyote.http11.Http11Protocol
    [javac]                 Registry.getRegistry().registerComponent(tp,
domain,"ThreadPool",
    [javac]                 ^
    [javac]
/usr/server-src/jakarta/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java:387:
cannot resolve symbol
    [javac] symbol  : variable Registry
    [javac] location: class
org.apache.coyote.http11.Http11Protocol.Http11ConnectionHandler
    [javac]
Registry.getRegistry().registerComponent( global,
    [javac]                         ^
    [javac]
/usr/server-src/jakarta/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http11/Http11Protocol.java:393:
cannot resolve symbol
    [javac] symbol  : variable Registry
    [javac] location: class
org.apache.coyote.http11.Http11Protocol.Http11ConnectionHandler
    [javac]                     Registry.getRegistry().registerComponent(
rp,
    [javac]                     ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 4 errors

BUILD FAILED
file:/usr/server-src/jakarta/jakarta-tomcat-connectors/http11/build.xml:160:
Compile failed; see the compiler error output for details.



So please guys, can you give me advise on how to get a JK working so I can
connect my httpd and tomcat?

Cheers

  Nik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to