RE: mod_jk2 hangs?!

2003-10-02 Thread Dean Searle
You're missing the jk2.shm file. This file should be created using notepad or vi 
(depending on your OS)and placed in a folder. That folder can be determined by looking 
into jk2.properties in the {TOMCAT_HOME}/conf and workers2.properties in 
{APACHE_HOME}/conf. Or you can specify where it needs to go. Just make sure that both 
files point to the same place.

Dean


-Original Message-
From:   Christian Traber [mailto:[EMAIL PROTECTED]
Sent:   Thu 10/2/2003 3:43 AM
To: Tomcat Users List
Cc: 
Subject:mod_jk2 hangs?!
Hi,

I use apache 2.0.46, mod_jk2, tomcat4.1.18 (the standard versions 
shipped with Suse 8.2).

Sometimes the apache-tomcat connection seems to hang. After restarting 
apache (or I think
waiting for a few minutes) everything works again.

There are a lot of such messages in my apache errorlog:
...
[Wed Oct 01 20:38:11 2003] [error] mod_jk child init 1 -2
[Wed Oct 01 20:38:11 2003] [error] jk2_init() Can't find child 14357 in 
scoreboard
[Wed Oct 01 20:38:11 2003] [notice] workerEnv.init() ok 
/srv/www/conf/workers2.properties
[Wed Oct 01 20:38:11 2003] [error] mod_jk child init 1 -2
[Wed Oct 01 20:38:11 2003] [error] jk2_init() Can't find child 14358 in 
scoreboard
[Wed Oct 01 20:38:11 2003] [notice] workerEnv.init() ok 
/srv/www/conf/workers2.properties
[Wed Oct 01 20:38:11 2003] [error] mod_jk child init 1 -2
[Wed Oct 01 20:38:27 2003] [notice] mod_jk2 Shutting down
[Wed Oct 01 20:38:28 2003] [notice] mod_jk2 Shutting down
[Wed Oct 01 20:38:29 2003] [notice] mod_jk2 Shutting down
[Wed Oct 01 20:38:30 2003] [notice] mod_jk2 Shutting down


Whar means [error] mod_jk child init 1 -2 ?

Please tell me if you need further information about my configuration.

Thanks,
Christian



-
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]



Re: mod_jk2 hangs?!

2003-10-02 Thread Christian Traber
Dean Searle wrote:

You're missing the jk2.shm file. This file should be created using notepad or vi (depending on your OS)and placed in a folder. That folder can be determined by looking into jk2.properties in the {TOMCAT_HOME}/conf and workers2.properties in {APACHE_HOME}/conf. Or you can specify where it needs to go. Just make sure that both files point to the same place.

Dean

 

I have a shm file for mod_jk2 but didn't change the tomcat jk2.properties.
Does this mean I have to use the same shm file for tomcat and mod_jk2?
I thought they will just use socket for communication!?
However, I can't use the same file, because apache is in the DMZ and 
tomcat in another net segment and I can't share a disk...

Thanks,
Christian


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


RE: mod_jk2 hangs?!

2003-10-02 Thread Dean Searle
I'm not to sure of the purpose of the jk2.shm file except that it is a
scoreboard file. Its main purpose is to collect stats on the JK2
connector. I'm not too sure how to read the stats just yet. I'm not sure
if by having two separate jk2.shm files will cause any problems. I would
guess no since it only collects information and has no bearing on
performance. So I suppose you could create two and try that. Let me know
if that works for you.

Dean Searle
Computing Oasis
989.245.7369 (p)
989.921.3904 (f)

-Original Message-
From: Christian Traber [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 02, 2003 3:16 PM
To: Tomcat Users List
Cc: Dean Searle
Subject: Re: mod_jk2 hangs?!

Dean Searle wrote:

You're missing the jk2.shm file. This file should be created using
notepad or vi (depending on your OS)and placed in a folder. That folder
can be determined by looking into jk2.properties in the
{TOMCAT_HOME}/conf and workers2.properties in {APACHE_HOME}/conf. Or you
can specify where it needs to go. Just make sure that both files point
to the same place.

Dean

  

I have a shm file for mod_jk2 but didn't change the tomcat
jk2.properties.
Does this mean I have to use the same shm file for tomcat and mod_jk2?
I thought they will just use socket for communication!?
However, I can't use the same file, because apache is in the DMZ and 
tomcat in another net segment and I can't share a disk...

Thanks,
Christian



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