Hi all, I have the similar problem. According to this URL: 
http://www.johnturner.com/howto/apache-tomcat-howto.html

there's a link to download mod_jk-2.0.43.so, but not mod_jk.so

I've been trying to build a copy of mod_jk.so by using the tomcat source
connector file but can't get it to work. 


How I build the file are listed here:


I've downloaded jakarta-tomcat-connectors-4.1.24-src, untarz it and run
the following commond: 
/jakarta-tomcat-connects-4.1.24-src/jk/native/buildconf.sh, 
followed by: 
./configure --with-apxs=/usr/sbin/apxs 

Everything is fine at this point but when i try to run make, 
it gave me this error: 
libtoold: link: '../common/jk_ajp12_worker.lo' is not a valid libtool
object 
make[1]: *** [mod_jk.la] Error 1 
make[1]: Leaving directory
'/usr/local/jakarta-tomcat-connectors-4.1.24-src/jk/native/apache2.0' 
make: *** [all-recursive] Error 1



Regards,
Joe


-----Original Message-----
From: Jason Bainbridge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 29, 2003 3:54 PM
To: Tomcat Users List
Subject: Re: Tomcat / Apache / JK2 impossible??

It is very possible, many of us are doing it as we speak...

Check out:

http://www.johnturner.com/howto/apache-tomcat-howto.html
and
http://tomcatfaq.sourceforge.net

Then go from there, if you still have problems then let us know.

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
[EMAIL PROTECTED] 

On Thu, 29 May 2003 15:29, David Reche Martinez wrote:
> Hi All,
>
> I'm trying to integrate Apache and Tomcat using jk2 but I can't reach
it
>
> This is my configuration:
>     Apache 2.0.45
>     Tomcat 4.1.24
>     JK2 (2.0.1)
>
> This are each configuration file:
>
> ***httpd.conf***
> ...
> LoadModule jk2_module modules/mod_jk2.so
> ...
>
> ***jk2.properties***
> All the file is commented
>
> ***workers2.properties***
>
> # Define the communication channel
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*]
> info=Map the whole webapp
>
> ***server.xml***
> ...
>
> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>
> port="8009" minProcessors="5" maxProcessors="75"
>
> enableLookups="true" redirectPort="8443"
>
> acceptCount="10" debug="0" connectionTimeout="0"
>
> useURIValidationHack="false"
>
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>
> ...
>
>
> When I try to access http:/server/examples Apache throw an error.
> This is all the error message in the error_log:
>
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [notice] Apache/2.0.45 (Unix) mod_jk2/2.0.0
> configured -- resuming normal operations
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:21 2003] [error] shm.init(): No file
> [Wed May 28 16:05:26 2003] [error] shm.init(): No file
> [Wed May 28 16:05:34 2003] [error] workerEnv.init() create slot
epStat.0
> failed
> [Wed May 28 16:05:34 2003] [error] lb.service() worker failed
> ajp13:localhost:8009
> [Wed May 28 16:05:34 2003] [error] lb.service() unrecoverable error...
> [Wed May 28 16:05:34 2003] [error] mod_jk.handler() Error connecting
to
> tomcat 120000
> [Wed May 28 16:06:24 2003] [error] workerEnv.init() create slot
epStat.2
> failed
> [Wed May 28 16:06:24 2003] [error] lb.service() worker failed
> ajp13:localhost:8009
> [Wed May 28 16:06:24 2003] [error] lb.service() unrecoverable error...
> [Wed May 28 16:06:24 2003] [error] mod_jk.handler() Error connecting
to
> tomcat 120000
>
> I hope you can help me in this trouble.
>
> Thank you.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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




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

Reply via email to