You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matt Koss <m....@open.ac.uk> on 2003/05/21 17:20:50 UTC

Re: mod_jk2 question (New to Tomcat)

I had to add these lines into workers2.properties :

[shm]
file=/tmp/shm.file

I guess you should use something else on Windows like c:\tmp\shm or similar

I still wonder why did I have to do it, when the docs say that this property 
is set to /tmp/shm as a default.

Cheers

Mat

On Wednesday 21 May 2003 4:24 pm, P. Dwayne Miller wrote:
> I'm using Apache 2.0.45, SSL and Tomcat 4.1.24 on a Win2K system.
> Tomcat is working fine with its internal web server on port 8080.  All
> of the examples run as they should.
>
> I'm trying to set up a system that uses only the Apache web server to
> serve JSP pages.  I've installed the mod_jk2 dll (2.0.2), followed the
> basic setup/configuration steps I found on the Tomcat web server, but I
> still get the following errors in my Apache log:
>
>  [error] shm.init(): No file
>  [error] mod_jk child init 1 0
>  [error] workerEnv.init() create slot epStat.0 failed
>  [error] lb.service() worker failed 120000 for ajp13:localhost:8009
>  [error] lb.service() unrecoverable error...
>  [error] mod_jk.handler() Error connecting to tomcat 120000
>
> my workers2.properties file is:
> # 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
>
> my j2k.properties is all commented out (hopefully using defaults for
> everything)
>
> Question is... what am I missing?  And does the mod_jk2.so work with
> Apache 2.0.45? (docs say only 2.0.43, but not sure if that applies to
> more recent versions).
>
> Thanks,
> Dwayne
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

-- 
Matt Koss
Knowledge Media Institute
Open University
tel: +44 1908 659399

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