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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
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
[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]



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



Reply via email to