Configuration: apache-1.3.24, tomcat 4.1.3, jdk 1.4, gcc 3.1, solaris8,
apr (solo install)

Some questions: I want to use mod_jk with tomcat 4.1.3 via the ajp 1.4
protocol.  
All I can see is that by default, tomcat 4.1.3 has a connector for
Coyote/JK2 AJP 1.4 Connector on port 8009.  The
jakarta-tomcat-connector/jk directory has multiple "hints" as to
building with "ant native" or going to native and doing the buildconf.sh
dance to get a configuration file. But the native/apache-1.3 shows only
how to use ajp1.3.  How do I tell the compile to add "-DEAPI"?

How do I compile mod_jk for apache-1.3 using ajp1.4?  
My build.conf =
tomcat41.home=/opt/jakarta-tomcat
apache13.home=/opt/apache13
apr.home=/opt/apr
apr.include=${apr.home}/include
apr-util.include=${apr.home}/include
apr.lib=${apr.home}/lib
apr-util.lib=${apr.home}/lib
so.debug=true
so.optimize=false
so.profile=false

Doing "ant native" produces a "BUILD SUCCESSFUL", but where is the
mod_jk.so?

Ok, so I cd into jk/native.  sh ./buildconf.sh, then do
./configure --with-apxs=/opt/apache/bin/apxs
--with-java-home=${JAVA_HOME} --with-java-platform=2
--with-apr-include=/opt/apr/include --with-apr-lib=/opt/apr/lib
--enable-EAPI --with-tomcat41=/opt/jakarta-tomcat

make && make install

which compiles and gives me a libjk.so, but how do I configure the
module?  Is it the same as mod_jk?

Thanks.
-- 
Brian Millett                    
Enterprise Consulting Group   "Shifts in paradigms
(314) 205-9030               often cause nose bleeds."
[EMAIL PROTECTED]                           Greg Glenn


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

Reply via email to