You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Kim Albee <mt...@gmail.com> on 2007/11/07 23:50:22 UTC

Issue finding Worker using mod_jk ...

We are having an issue when setting up integration between Apache 2.0.52 and
Tomcat 6.0.14...

Here are the mod_jk.log entries:

[Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (445)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (459)]: Attempting to map
URI '/'
[Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (473)]:
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ein1 -> /
[Wed Nov 07 14:31:25 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0
r->handler=jakarta-servlet r->notes=158639048 worker=ein1
[Wed Nov 07 14:31:25 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name
ein1
[Wed Nov 07 14:31:25 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done
did not find a worker

The workers.properties file looks like this:

workers.tomcat_home=/usr/local/tomcat6
workers.java_home=$JAVA_HOME
ps=/
worker.list=ein1


worker.ein1.port=8109
worker.ein1.host=localhost
worker.ein1.type=ajp13
worker.ein1.info=Ajp13 forwarding
worker.ein1.debug=2
worker.ein1.tomcatId=ein1

We have the jvmRoute set in the Engine parameter for the server.xml in
tomcat as well...

Any suggestions on how to get this working?

thanks,
Kim :-)

Re: Issue finding Worker using mod_jk ...

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
yep, re-reading the logs shows my ignorance :)

Filip

Kim Albee wrote:
> Filip,
>
> Yep, we're doing that...it's in the Virtual Host directive.
>
> Thanks,
> Kim ;-)
>
> On Nov 8, 2007 12:21 PM, Filip Hanik - Dev Lists <de...@hanik.com> wrote:
>   
>> you must define the JkMount directive inside your httpd.conf file to map
>> a worker to a  URL
>>
>> in this case I believe it would be
>>
>> JkMount / ein1
>> JkMount /* ein1
>>
>> Filip
>>
>>
>> Kim Albee wrote:
>>     
>>> We are having an issue when setting up integration between Apache 2.0.52 and
>>> Tomcat 6.0.14...
>>>
>>> Here are the mod_jk.log entries:
>>>
>>> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (445)]: Into
>>> jk_uri_worker_map_t::map_uri_to_worker
>>> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (459)]: Attempting to map
>>> URI '/'
>>> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (473)]:
>>> jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ein1 -> /
>>> [Wed Nov 07 14:31:25 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0
>>> r->handler=jakarta-servlet r->notes=158639048 worker=ein1
>>> [Wed Nov 07 14:31:25 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name
>>> ein1
>>> [Wed Nov 07 14:31:25 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done
>>> did not find a worker
>>>
>>> The workers.properties file looks like this:
>>>
>>> workers.tomcat_home=/usr/local/tomcat6
>>> workers.java_home=$JAVA_HOME
>>> ps=/
>>> worker.list=ein1
>>>
>>>
>>> worker.ein1.port=8109
>>> worker.ein1.host=localhost
>>> worker.ein1.type=ajp13
>>> worker.ein1.info=Ajp13 forwarding
>>> worker.ein1.debug=2
>>> worker.ein1.tomcatId=ein1
>>>
>>> We have the jvmRoute set in the Engine parameter for the server.xml in
>>> tomcat as well...
>>>
>>> Any suggestions on how to get this working?
>>>
>>> thanks,
>>> Kim :-)
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.503 / Virus Database: 269.15.25/1118 - Release Date: 11/8/2007 9:29 AM
>>>
>>>       
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Issue finding Worker using mod_jk ...

Posted by Kim Albee <mt...@gmail.com>.
Filip,

Yep, we're doing that...it's in the Virtual Host directive.

Thanks,
Kim ;-)

On Nov 8, 2007 12:21 PM, Filip Hanik - Dev Lists <de...@hanik.com> wrote:
> you must define the JkMount directive inside your httpd.conf file to map
> a worker to a  URL
>
> in this case I believe it would be
>
> JkMount / ein1
> JkMount /* ein1
>
> Filip
>
>
> Kim Albee wrote:
> > We are having an issue when setting up integration between Apache 2.0.52 and
> > Tomcat 6.0.14...
> >
> > Here are the mod_jk.log entries:
> >
> > [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (445)]: Into
> > jk_uri_worker_map_t::map_uri_to_worker
> > [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (459)]: Attempting to map
> > URI '/'
> > [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (473)]:
> > jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ein1 -> /
> > [Wed Nov 07 14:31:25 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0
> > r->handler=jakarta-servlet r->notes=158639048 worker=ein1
> > [Wed Nov 07 14:31:25 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name
> > ein1
> > [Wed Nov 07 14:31:25 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done
> > did not find a worker
> >
> > The workers.properties file looks like this:
> >
> > workers.tomcat_home=/usr/local/tomcat6
> > workers.java_home=$JAVA_HOME
> > ps=/
> > worker.list=ein1
> >
> >
> > worker.ein1.port=8109
> > worker.ein1.host=localhost
> > worker.ein1.type=ajp13
> > worker.ein1.info=Ajp13 forwarding
> > worker.ein1.debug=2
> > worker.ein1.tomcatId=ein1
> >
> > We have the jvmRoute set in the Engine parameter for the server.xml in
> > tomcat as well...
> >
> > Any suggestions on how to get this working?
> >
> > thanks,
> > Kim :-)
> >
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.503 / Virus Database: 269.15.25/1118 - Release Date: 11/8/2007 9:29 AM
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Issue finding Worker using mod_jk ...

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
you must define the JkMount directive inside your httpd.conf file to map 
a worker to a  URL

in this case I believe it would be

JkMount / ein1
JkMount /* ein1

Filip

Kim Albee wrote:
> We are having an issue when setting up integration between Apache 2.0.52 and
> Tomcat 6.0.14...
>
> Here are the mod_jk.log entries:
>
> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (445)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (459)]: Attempting to map
> URI '/'
> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (473)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ein1 -> /
> [Wed Nov 07 14:31:25 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0
> r->handler=jakarta-servlet r->notes=158639048 worker=ein1
> [Wed Nov 07 14:31:25 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name
> ein1
> [Wed Nov 07 14:31:25 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done
> did not find a worker
>
> The workers.properties file looks like this:
>
> workers.tomcat_home=/usr/local/tomcat6
> workers.java_home=$JAVA_HOME
> ps=/
> worker.list=ein1
>
>
> worker.ein1.port=8109
> worker.ein1.host=localhost
> worker.ein1.type=ajp13
> worker.ein1.info=Ajp13 forwarding
> worker.ein1.debug=2
> worker.ein1.tomcatId=ein1
>
> We have the jvmRoute set in the Engine parameter for the server.xml in
> tomcat as well...
>
> Any suggestions on how to get this working?
>
> thanks,
> Kim :-)
>
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.503 / Virus Database: 269.15.25/1118 - Release Date: 11/8/2007 9:29 AM
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Issue finding Worker using mod_jk ...

Posted by Rainer Jung <ra...@kippdata.de>.
Hi Kim,

as Filip indicated it would be helpful, to also see your other JK
configuration options, i.e. the JK Apache directives you used.

Fron the log output I guess, that your JK version is something around
1.2.6. We are now at 1.2.25, so I would suggest to do an update before
into digging into the problem (I'm not saying your problem comes from
the old version).

Your log output looks, like the JkMount worked, but the
workers.properties entry didn't work. Are you sure, that you configured
the workers.properties correctly in your httpd.conf?

Newer versions of mod_jk log quite a lot of details in debug level
during startup and configuration parsing, so it would be easier for us
to find out the reason for your problem.

Regards,

Rainer

Kim Albee schrieb:
> We are having an issue when setting up integration between Apache 2.0.52 and
> Tomcat 6.0.14...
> 
> Here are the mod_jk.log entries:
> 
> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (445)]: Into
> jk_uri_worker_map_t::map_uri_to_worker
> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (459)]: Attempting to map
> URI '/'
> [Wed Nov 07 14:31:25 2007]  [jk_uri_worker_map.c (473)]:
> jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ein1 -> /
> [Wed Nov 07 14:31:25 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0
> r->handler=jakarta-servlet r->notes=158639048 worker=ein1
> [Wed Nov 07 14:31:25 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name
> ein1
> [Wed Nov 07 14:31:25 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done
> did not find a worker
> 
> The workers.properties file looks like this:
> 
> workers.tomcat_home=/usr/local/tomcat6
> workers.java_home=$JAVA_HOME
> ps=/
> worker.list=ein1
> 
> 
> worker.ein1.port=8109
> worker.ein1.host=localhost
> worker.ein1.type=ajp13
> worker.ein1.info=Ajp13 forwarding
> worker.ein1.debug=2
> worker.ein1.tomcatId=ein1
> 
> We have the jvmRoute set in the Engine parameter for the server.xml in
> tomcat as well...
> 
> Any suggestions on how to get this working?
> 
> thanks,
> Kim :-)
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org