RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection

2003-10-27 Thread Mario Juric
Hi,

FYI

I have found the error in server.xml. The following attribute value was
missing from the Connector element:

protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"

Not all JK2 setup instructions mention this.

However, the error messages in /var/log/httpd/error_log persist, but it does
not seem to affect the apache/tomcat connection.

Thanks a lot.

Cheers
Mario

-Original Message-
From: Klaus Wienert [mailto:[EMAIL PROTECTED] 
Sent: 22. oktober 2003 18:18
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
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:





Klaus

- Original Message - 
From: "Mario Juric" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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



Re: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection

2003-10-23 Thread Klaus Wienert
I could not find any mistake. It should work fine.

The connection is not in errorState and the scoreBoard seems to work.

Sorry, no idea


Klaus

- Original Message - 
From: "Mario Juric" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Thursday, October 23, 2003 9:04 AM
Subject: RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2
connection


Sorry,

It looks as if html attachements are not accepted by the list server. I try
to attach it as a zip-file.


-Original Message-
From: Mario Juric [mailto:[EMAIL PROTECTED]
Sent: 23. oktober 2003 08:59
To: 'Tomcat Users List'
Subject: RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2
connection

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:[EMAIL PROTECTED]
Sent: 22. oktober 2003 18:18
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
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:





Klaus

- Original Message - 
From: "Mario Juric" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
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: [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]



RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection

2003-10-23 Thread Mario Juric
Sorry,

It looks as if html attachements are not accepted by the list server. I try
to attach it as a zip-file.


-Original Message-
From: Mario Juric [mailto:[EMAIL PROTECTED] 
Sent: 23. oktober 2003 08:59
To: 'Tomcat Users List'
Subject: RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2
connection

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:[EMAIL PROTECTED] 
Sent: 22. oktober 2003 18:18
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
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:





Klaus

- Original Message - 
From: "Mario Juric" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



jkstatus.zip
Description: Zip compressed data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

RE: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection

2003-10-22 Thread Mario Juric
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:[EMAIL PROTECTED] 
Sent: 22. oktober 2003 18:18
To: Tomcat Users List
Cc: [EMAIL PROTECTED]
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:





Klaus

- Original Message - 
From: "Mario Juric" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

Re: shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection

2003-10-22 Thread Klaus Wienert
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:





Klaus

- Original Message - 
From: "Mario Juric" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



shared memory problem in Tomcat 4.1.24/Apache 2.0.47/mod_jk2 connection

2003-10-21 Thread Mario Juric
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