You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Orgil Tulga <or...@yahoo.com> on 2011/06/14 13:07:34 UTC
mod_jk problem
Hello All,
I am using apache and tomcat with mod_jk.
apache version : 2.2.19
tomcat version : 6.0
mod_jk version : 1.2.30
My web runs through servlet.
http://domainname:8080/contact.shtml - is working
http://domainname/contact.shtml - is not working
mod_jk log :
[debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/contact.shtml' from 4 maps
[trace] find_match::jk_uri_worker_map.c (839): enter
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlets/*=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*=ajp13'
[trace] find_match::jk_uri_worker_map.c (866): exit
[trace] map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit
[trace] map_uri_to_worker_ext::jk_uri_worker_map.c (951): enter
[debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/404.shtml' from 4 maps
[trace] find_match::jk_uri_worker_map.c (839): enter
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlets/*=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*=ajp13' source 'JkMount'
[debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*=ajp13'
[trace] find_match::jk_uri_worker_map.c (866): exit
[trace] map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit
Why jk connector not converting to servlet? any idea?
Re: mod_jk problem
Posted by Rainer Jung <ra...@kippdata.de>.
On 14.06.2011 13:07, Orgil Tulga wrote:
> Hello All,
>
> I am using apache and tomcat with mod_jk.
> apache version : 2.2.19
> tomcat version : 6.0
> mod_jk version : 1.2.30
>
> My web runs through servlet.
>
> http://domainname:8080/contact.shtml - is working
> http://domainname/contact.shtml - is not working
>
> mod_jk log :
>
> [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/contact.shtml' from 4 maps
> [trace] find_match::jk_uri_worker_map.c (839): enter
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlets/*=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*=ajp13'
> [trace] find_match::jk_uri_worker_map.c (866): exit
> [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit
> [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (951): enter
> [debug] map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI '/404.shtml' from 4 maps
> [trace] find_match::jk_uri_worker_map.c (839): enter
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlets/*=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (850): Attempting to map context URI '/*=ajp13' source 'JkMount'
> [debug] find_match::jk_uri_worker_map.c (863): Found a wildchar match '/*=ajp13'
> [trace] find_match::jk_uri_worker_map.c (866): exit
> [trace] map_uri_to_worker_ext::jk_uri_worker_map.c (1065): exit
>
> Why jk connector not converting to servlet? any idea?
In addition to the questions concrning your configuration: could it be
some other module in Apache already handles "*.shtml"?
Do you get error messages during startup of mod_jk in the mod_jk log
file? Or any errors in the Apache ErrorLog?
Regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: mod_jk problem
Posted by Calum <ca...@gmail.com>.
On 14 June 2011 12:49, Orgil Tulga <or...@yahoo.com> wrote:
> No. I am testing on local domain.
I don't understand this. The ajp13 bit in your jkmount.conf needs to
refer to a worker in workers.properties.
We would need to see it to understand what's happening.
This might help you a little?
http://tomcat.apache.org/connectors-doc/reference/workers.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: mod_jk problem
Posted by Orgil Tulga <or...@yahoo.com>.
No. I am testing on local domain.
--- On Tue, 6/14/11, Calum <ca...@gmail.com> wrote:
From: Calum <ca...@gmail.com>
Subject: Re: mod_jk problem
To: "Tomcat Users List" <us...@tomcat.apache.org>
Date: Tuesday, June 14, 2011, 4:35 AM
On 14 June 2011 12:28, Orgil Tulga <or...@yahoo.com> wrote:
> My jk connector config is below.
>
> Below is jk.conf:
> ========================
> JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties
Can we see this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: mod_jk problem
Posted by Calum <ca...@gmail.com>.
On 14 June 2011 12:28, Orgil Tulga <or...@yahoo.com> wrote:
> My jk connector config is below.
>
> Below is jk.conf:
> ========================
> JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties
Can we see this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: mod_jk problem
Posted by Orgil Tulga <or...@yahoo.com>.
My jk connector config is below.
Below is jk.conf:
========================
JkWorkersFile /usr/local/jakarta/tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel trace
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
=========================
Below is jkmount.conf :
=========================
<IfModule mod_jk.c>
JkMount /* ajp13
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
JkMount /servlets/* ajp13
</IfModule>
=========================
I inserted below lines in httpd.conf
LoadModule jk_module modules/mod_jk.so
Include "/usr/local/apache/conf/jk.conf"
Include "/usr/local/apache/conf/jkmount.conf"
--- On Tue, 6/14/11, Calum <ca...@gmail.com> wrote:
From: Calum <ca...@gmail.com>
Subject: Re: mod_jk problem
To: "Tomcat Users List" <us...@tomcat.apache.org>
Date: Tuesday, June 14, 2011, 4:20 AM
On 14 June 2011 12:07, Orgil Tulga <or...@yahoo.com> wrote:
> Hello All,
>
> I am using apache and tomcat with mod_jk.
> apache version : 2.2.19
> tomcat version : 6.0
> mod_jk version : 1.2.30
>
> My web runs through servlet.
>
> http://domainname:8080/contact.shtml - is working
> http://domainname/contact.shtml - is not working
>
> Why jk connector not converting to servlet? any idea?
I imagine people will ask to see your jk config.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: mod_jk problem
Posted by Calum <ca...@gmail.com>.
On 14 June 2011 12:07, Orgil Tulga <or...@yahoo.com> wrote:
> Hello All,
>
> I am using apache and tomcat with mod_jk.
> apache version : 2.2.19
> tomcat version : 6.0
> mod_jk version : 1.2.30
>
> My web runs through servlet.
>
> http://domainname:8080/contact.shtml - is working
> http://domainname/contact.shtml - is not working
>
> Why jk connector not converting to servlet? any idea?
I imagine people will ask to see your jk config.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org