Hi all,

I'm develping a site using cocoon 2. It is deployed inside tomcat 4.1 and it connected to apache 2 using mod_jk2.

This cocoon application works normally if accessed through Coyote HTTP1.1 Connnector, but if i try it using mod_jk2 i got sometime an error page:


-------------- error page starts -----------------------


Internal Server Error

The server encountered an internal error or
misconfiguration and was unable to complete
your request.

Please contact the server administrator,
[EMAIL PROTECTED] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.

More information about this error may be available
in the server error log.

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

Apache/2.0.48 (Unix) mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.3 mod_jk2/2.0.2 Server at localhost Port 80

-------------- error page ends -----------------------


it is to be said that this applicarion works only some times,and i can't find out a logic in this.



this is the apache 2 error log at startup of the server :


----------------- log starts ----------------------------------------------------
[Fri Jan 30 15:43:21 2004] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] mod_jk child init 1 0
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] jk2_init() Can't find child 7086 in scoreboard
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] mod_jk child init 1 -2
[Fri Jan 30 15:43:21 2004] [notice] Apache/2.0.48 (Unix) mod_ssl/2.0.48 OpenSSL/0.9.7c PHP/4.3.3 mod_jk2/2.0.2 configured -- resuming normal operations
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
[Fri Jan 30 15:43:21 2004] [error] shm.init(): No file
----------------- log ends ------------------------------------------------------


this is the apache 2 error log when the error page above show (i tried many time, is is always the same, only numbers and time changes):

----------------- log starts ----------------------------------------------------
[Fri Jan 30 15:50:42 2004] [error] workerEnv.init() create slot epStat.4 failed
[Fri Jan 30 15:50:42 2004] [error] lb.service() worker failed 120000 for ajp13:localhost:10249
[Fri Jan 30 15:50:42 2004] [error] lb.service() unrecoverable error...
[Fri Jan 30 15:50:42 2004] [error] mod_jk.handler() Error connecting to tomcat 120000
----------------- log ends ------------------------------------------------------



more in depth informations about my configuration follows:


software used:
- sun sdk se 1.4.2_03
- cocoon 2.1.3
- tomcat 4.1.29
- mod_jk2 2.0.2
- apache 2.0.48
- kernel 2.4.22-10mdk (linux mandrake 9.2)
all are built from source (no distro default fo apache).

For apache i use the default name virtual server on my machine ad the host to connect to tomcat.


my jk2.properties file is very simple (i only changed the ajp port, ad i use no default 8009):
----------------- jk2.properites starts ----------------------------------------------------
channelSocket.port=10249
----------------- jk2.properties ends ----------------------------------------------------



while workers2.properties is also very simple:
----------------- workers2.properties starts ----------------------------------------------------
[channel.socket:localhost:10249]
info=Ajp13 forwarding over socket
tomcatId=localhost:10249


[uri:/*]
info=Map the whole wepap
----------------- workers2.properties ends ----------------------------------------------------


thanks in advance for the help!

bye,

Matteo


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



Reply via email to