Hi.

Despite the subject, I think the Jk Connectors help is here, isn't it ?

I am installing/configuring a server for a customer, remotely.
The choice of OS or versions and packages is not mine, it is generally mandated, with just a little leeway for small things.

My problem is this, as soon as I invoke a link that should be re-directed by the Jk connector (Apache error log) :

[Wed Dec 17 15:39:44 2008] [notice] child pid 19144 exit signal Segmentation fault (11)

The Tomcat logfiles do not show anything, leading me to believe that the issue is not there (I can also access some static pages via Tomcat directly). The mod_jk logfile does not *seem* to me to contain definite error messages, but I cannot really interpret it (see below).

Anyone has an idea ?
Thanks in advance.


System and version data :

OS : Suse Enterprise Linux 10.1
Linux qs1 2.6.16.60-0.33-bigsmp #1 SMP Fri Oct 31 14:24:07 UTC 2008 i686 i686 i386 GNU/Linux Apache : Apache/2.2.3 (Linux/SUSE) mod_jk/1.2.27 configured -- resuming normal operations mod_jk : as per above, from the Connectors download page at tomcat.apache.org, and also tried recompiling it locally from source
Tomcat : tomcat 5.0

This is the Jk config in Apache :
    JkWorkersFile /etc/apache2/conf.d/workers.properties
    JkShmFile     /var/log/apache2/mod_jk.shm
    JkLogFile     /var/log/apache2/mod_jk.log
    JkLogLevel    debug
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

workers.properties (comments removed) :
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13

The re-direction in Apache is done as follows :

<LocationMatch "/servlet\.starweb$">
 SetHandler jakarta-servlet
 SetEnvIf REQUEST_URI "\.(htm|web|css|gif|jpg|js|html?)$" no-jk
</LocationMatch>


mod_jk logfile :
[Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] jk_translate::mod_jk.c (3244): missing uri map for cuadrastar1.waw.tvp.pl:/starweb/Tutorial/servlet.starweb [Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] jk_map_to_storage::mod_jk.c (3404): missing uri map for cuadrastar1.waw.tvp.pl:/starweb/Tutorial/servlet.starweb [Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] jk_handler::mod_jk.c (2288): Single worker (ajp13) configuration for /starweb/Tutorial/servlet.starweb [Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] jk_handler::mod_jk.c (2320): Into handler jakarta-servlet worker=ajp13 r->proxyreq=0 [Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] wc_get_worker_for_name::jk_worker.c (116): found a worker ajp13 [Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] wc_maintain::jk_worker.c (339): Maintaining worker ajp13 [Wed Dec 17 15:52:36 2008] [3519:3081501472] [debug] wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13' [Wed Dec 17 15:52:36 2008] [4084:3081501472] [debug] do_shm_open::jk_shm.c (550): Attached shared memory /var/log/apache2/mod_jk.shm.3517 [8] size=320 free=192 addr=0xb7fa5000 [Wed Dec 17 15:52:36 2008] [4084:3081501472] [debug] do_shm_open::jk_shm.c (564): Resetting the shared memory for child 8 [Wed Dec 17 15:52:36 2008] [4084:3081501472] [debug] do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock /var/log/apache2/mod_jk.shm.3517.lock [Wed Dec 17 15:52:36 2008] [4084:3081501472] [debug] jk_child_init::mod_jk.c (2903): Initialized mod_jk/1.2.27

and so on..

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to