You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Reche Martinez <dr...@novasoft.es> on 2003/05/29 09:29:59 UTC

Tomcat / Apache / JK2 impossible??

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat / Apache / JK2 impossible??

Posted by David Reche Martinez <dr...@novasoft.es>.
WONDERFULL!!!!!

Thanks!! Thanks!! Thanks!!
I love you !!!!!!!!!

You don't know how many time i have spent in this...

Thank you again.

----- Original Message -----
From: "Vincent J. Buonassisi" <vj...@vuit.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, May 29, 2003 4:28 PM
Subject: Re: Tomcat / Apache / JK2 impossible??


try putting the following line in your workers2.properties:

[shm]
file=/etc/httpd/logs/shm.file
size=1048576


On Giovedì, mag 29, 2003, at 03:27 US/Pacific, David Reche Martinez
wrote:

> Hi again,
>
> Your first link don't tell anything about jk2 configuration and the
> faq's
> don't say anything new.
>
> I had been doing all LIKE they say. But don't work. Help me please. :-(
>
> ----- Original Message -----
> From: "Jason Bainbridge" <ja...@jblinux.org>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Thursday, May 29, 2003 9:53 AM
> 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
>> webmaster@kde.org
>>
>> 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: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat / Apache / JK2 impossible??

Posted by "Vincent J. Buonassisi" <vj...@vuit.com>.
try putting the following line in your workers2.properties:

[shm]
file=/etc/httpd/logs/shm.file
size=1048576


On Giovedì, mag 29, 2003, at 03:27 US/Pacific, David Reche Martinez 
wrote:

> Hi again,
>
> Your first link don't tell anything about jk2 configuration and the 
> faq's
> don't say anything new.
>
> I had been doing all LIKE they say. But don't work. Help me please. :-(
>
> ----- Original Message -----
> From: "Jason Bainbridge" <ja...@jblinux.org>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Thursday, May 29, 2003 9:53 AM
> 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
>> webmaster@kde.org
>>
>> 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: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat / Apache / JK2 impossible??

Posted by David Reche Martinez <dr...@novasoft.es>.
Hi again,

Your first link don't tell anything about jk2 configuration and the faq's
don't say anything new.

I had been doing all LIKE they say. But don't work. Help me please. :-(

----- Original Message -----
From: "Jason Bainbridge" <ja...@jblinux.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Thursday, May 29, 2003 9:53 AM
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
> webmaster@kde.org
>
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: Tomcat / Apache / JK2 impossible??

Posted by Joe <jo...@sgweb.com.sg>.
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:jason@jblinux.org] 
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 
webmaster@kde.org 

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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: Tomcat / Apache / JK2 impossible??

Posted by Jason Bainbridge <ja...@jblinux.org>.
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 
webmaster@kde.org 

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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org