I think JkSet config.file needs a full path.  You can't short cut it like
you can with a LoadModule.

JkSet config.file /path/to/apache/conf/workers2.properties.

I think right now it's not seeing your config file.

Dunno...  try it.

-e

On Wed, 2 Jul 2003, Yishay Mor wrote:

> I've read the thread(s), gone through the jakarta docs, read a dozen
> how-tos, still no go.
>
> Platform:
> ========
> * RedHat 8, with its -
> * custom Apache (2.0.4 w/ modifications?)
> * Tomcat 4.1
> * mod_jk2  binaries for RH from http://www.jpackage.org/rpm.php?id=1133
>
> Situation:
> =======
> Tomcat works, on 8080 (although the  admin app is bogus, but that's on
> another thread)
> Apache identifies mod_jk2, but then fails on
>     [error] shm.init(): No file
>     [error] jk2_init() Can't find child 3993 in scoreboard
>
> I've actually managed to hook them up using ProxyPass, but that's too
> crude a hack to satisfy me,
>
> Analysis
> ======
> If  I could get the shm to work, my life will be given back to me.
>
> I've cut & paste relevant sections of our config files on the admin wiki:
> http://www.weblabs.eu.com/cgi-bin/wiki.pl?AdminPage/Scratch
>
> Here's a summary:
> -------- httpd.conf: ---------------
> LoadModule jk2_module modules/mod_jk2.so
> JkSet config.file conf/workers2.properties
>
> -------- jk2.properties: -----------
> handler.list=channelSocket,request
> channelSocket.port=8009
> shm.file=/etc/httpd/logs/jk2.shm
>
> ------- workers2.properties: -----
> [shm]
> file=/etc/httpd/logs/shm.file
> size=1048576
>
> # Example socket channel, override port and host.
> [channel.socket:localhost:8009]
> port=8009
> host=localhost
>
> # define the worker
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
>
> # Uri mapping
> [uri:*.jsp]
> worker=ajp13:localhost:8009
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*]
> info=Map the whole webapp worker=ajp13:localhost:8009
>
>
> ------- server.xml: ------------
>
>     <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
>     <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
>                port="8009" minProcessors="5" maxProcessors="75"
>                enableLookups="true" redirectPort="8443"
>                acceptCount="10" debug="0" connectionTimeout="200000"
>                useURIValidationHack="false"
>                protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
>
>     <!-- Define an AJP 1.3 Connector on port 8007 -->
>
>     <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>                port="8007" minProcessors="5" maxProcessors="75"
>                acceptCount="10" debug="0"/>
>
>
> ------ error.log ------------
>
> [error] shm.init(): No file
> [error] jk2_init() Can't find child 3993 in scoreboard
> [error] shm.init(): No file
> [error] mod_jk child init 1 -2
> [error] jk2_init() Can't find child 3994 in scoreboard
> :
> [error] mod_jk child init 1 -2
> [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal
> operations
>
>
> - Yishay
>
> --
> **********************************************************************
> Yishay Mor
>          http://ioewebserver.ioe.ac.uk/ioe/cms/get.asp?cid=4381&4381_0=7303
>          [EMAIL PROTECTED]  Ph +44(0)20 7612 6963 F +44(0)20 7612 6964
>          AIM,Yahoo: yishaym; Jabber: [EMAIL PROTECTED]; ICQ: 179772099
>
>          If this helped you, please take the time to rate the value of this post:
>          http://svcs.affero.net/rm.php?r=yishaym
> **********************************************************************
> celebrating 100 years of excellence in education
>               www.ioe.ac.uk/centenary
>
>
>
>
> ---------------------------------------------------------------------
> 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