tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Juric" <mario.ju...@privat.tdcadsl.dk>
Subject RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection
Date Thu, 23 Oct 2003 06:59:24 GMT
I still have the same problem. This time I attached the status HTML page. It
may provide a clue to the source of the problem. I thank you for the help.

Cheers
Mario

-----Original Message-----
From: Klaus Wienert [mailto:wienert@rheinland-online.com] 
Sent: 22. oktober 2003 18:18
To: Tomcat Users List
Cc: mario.juric@privat.tdcadsl.dk
Subject: Re: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2
connection

Try the following:

# workers2.properties
[shm]
file=/var/log/httpd/jk2.shm
size=1048576

[channel.socket:localhost:8009]
tomcatId=tomcat1

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[status:status]

[uri:/examples/*]
group=ajp13:localhost:8009

[uri:/jkstatus/*]
group=status:status

----------------------

# jk2.properties
# no entries here

----------------------

In server.xml add jvmRoute in Engine-Tag like this:

<Engine jvmRoute="tomcat1" name="Standalone" defaultHost="localhost"
debug="0">



Klaus

----- Original Message ----- 
From: "Mario Juric" <mario.juric@privat.tdcadsl.dk>
To: "Tomcat User" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, October 22, 2003 8:20 AM
Subject: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2
connection


> I need some help in solving the following problem.
>
>
>
> I am trying to establish a simple Tomcat 4.1.24/Apache 2.0.47/mod_jk2
> connection using the standard Tomcat examples webapp. The browser waits
> forever when I try to access http://localhost/examples/. I also get the
the
> following errors two times in my /var/lo/httpd/error_log:
>
>
>
> [error] jk2_init() Can't find child XXX in scoreboard
>
> [error] mod_jk child init 1 -2
>
>
>
> Similar problem descriptions I found in the Tomcat User mailing archive
> indicate that this may have something to do with the shared memory file
> (shm). I have setup up read/write permission for this file.
>
>
>
> Note that http://localhost/ (Apache default page) and
> http://localhost:8009/examples/ (Tomcat examples) work as expected.
>
>
>
> My OS is Mandrake Linux 9.1 and I use the following setup files:
>
>
>
> # workers2.properties
>
>
>
> [shm]
>
> file=/var/log/httpd/jk2.shm
>
> size=1048576
>
>
>
> [channel.socket:localhost:8009]
>
> tomcatId=localhost:8009
>
> port=8009
>
> host=127.0.0.1
>
>
>
> [ajp13:localhost:8009]
>
> channel=channel.socket:localhost:8009
>
>
>
> [uri:/examples/*]
>
> worker=ajp13:localhost:8009
>
>
>
> # jk2.properties
>
>
>
> handler.list=request,container,channelSocket
>
>
>
> channelSocket.port=8009
>
>
>
> shm.file=/var/log/httpd/jk2.shm
>
>


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


Mime
View raw message