You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hans Schmid <Ha...@einsurance.de> on 2001/09/06 18:56:51 UTC

worker.properties swallows my first worker (mod_jk)

Hello,

This is about mod_jk in Tomcat 3.3b1 on Solaris with Apache 1.3.19

It seems to me that the first worker found in the worker.list always gets
created as ajp12 on port 8007
regardless what i configure.

The following worker.list entry
worker.list=worker.list=ajp12-01, ajp12-02, ajp13-01, ajp13-02

produces 4 workers:
ajp12-01 on port 8007  ajp12
ajp12-02 on port 9017  ajp12
ajp13-01 on port 9009  ajp13
ajp13-02 on port 9019  ajp13

instead of the expected:
ajp12-01 on port 9007  ajp12
ajp12-02 on port 9017  ajp12
ajp13-01 on port 9009  ajp13
ajp13-02 on port 9019  ajp13

Please note the ajp12-01 worker points to port 8007 instead of 9007.

When I put a space in front of the first worker I get my expected 4 workers
pointing to the correct ports
plus a 5th worker ('' on port 8007)


The following entry in workers.properties
worker.list=worker.list= ajp12-01, ajp12-02, ajp13-01, ajp13-02

produces 5 workers instead of 4
Please note the port 8007 for the first worker named worker.list= of ajp12
I do not have a worker assigned to this port (greped through all config
files).


[Thu Sep 06 18:26:17 2001]  [jk_worker.c (207)]: Into build_worker_map,
creating 5 workers
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
worker worker.list=
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
create instance worker.list= of ajp12
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (264)]: Into
ajp12_worker_factory
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init worker.list=
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (182)]: Into
jk_worker_t::validate
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (194)]: In
jk_worker_t::validate for worker worker.list= contact is localhost:8007
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
old worker.list= worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp12-01
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp12-01 of ajp12
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (264)]: Into
ajp12_worker_factory
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp12-01
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (182)]: Into
jk_worker_t::validate
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (194)]: In
jk_worker_t::validate for worker ajp12-01 contact is localhost:9007
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
old ajp12-01 worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp12-02
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp12-02 of ajp12
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (264)]: Into
ajp12_worker_factory
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp12-02
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (182)]: Into
jk_worker_t::validate
[Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (194)]: In
jk_worker_t::validate for worker ajp12-02 contact is localhost:9017
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
old ajp12-02 worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13-01
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
create instance ajp13-01 of ajp13
[Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (882)]: Into
ajp13_worker_factory
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
validate and init ajp13-01
[Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (412)]: Into
jk_worker_t::validate
[Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (425)]: In
jk_worker_t::validate for worker ajp13-01 contact is localhost:9009
[Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (451)]: Into
jk_worker_t::init
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
old ajp13-01 worker
[Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
worker ajp13-02

and one ajp13-02 on port 9019


My questions:
1.) Why gets this hardcoded worker on port 8007 created?
2.) Is this a Bug I shall report?

Since I have a work around by putting this space in front of my first
worker, I can live with this.

Is this a Bug I should put into Bigzilla?


Hans Schmid

einsurance Agency AG
Information Technology
Bayerstraße 33
80335 München

Tel: +49-89-55292- 860
Fax: +49-89-55292- 855

eMail: Hans.Schmid@einsurance.de
http://www.einsurance.de


Re: worker.properties swallows my first worker (mod_jk)

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Hans Schmid wrote:
> 
> Hello,
> 
> This is about mod_jk in Tomcat 3.3b1 on Solaris with Apache 1.3.19
> 
> It seems to me that the first worker found in the worker.list always gets
> created as ajp12 on port 8007
> regardless what i configure.
> 
> The following worker.list entry
> worker.list=worker.list=ajp12-01, ajp12-02, ajp13-01, ajp13-02
--------------! TYPO!!!

> 
> produces 4 workers:
> ajp12-01 on port 8007  ajp12
> ajp12-02 on port 9017  ajp12
> ajp13-01 on port 9009  ajp13
> ajp13-02 on port 9019  ajp13
> 
> instead of the expected:
> ajp12-01 on port 9007  ajp12
> ajp12-02 on port 9017  ajp12
> ajp13-01 on port 9009  ajp13
> ajp13-02 on port 9019  ajp13
> 
> Please note the ajp12-01 worker points to port 8007 instead of 9007.
> 
> When I put a space in front of the first worker I get my expected 4 workers
> pointing to the correct ports
> plus a 5th worker ('' on port 8007)
> 
> The following entry in workers.properties
> worker.list=worker.list= ajp12-01, ajp12-02, ajp13-01, ajp13-02
> 
> produces 5 workers instead of 4
> Please note the port 8007 for the first worker named worker.list= of ajp12
> I do not have a worker assigned to this port (greped through all config
> files).
> 
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (207)]: Into build_worker_map,
> creating 5 workers
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
> worker worker.list=
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
> create instance worker.list= of ajp12
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (264)]: Into
> ajp12_worker_factory
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
> validate and init worker.list=
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (182)]: Into
> jk_worker_t::validate
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (194)]: In
> jk_worker_t::validate for worker worker.list= contact is localhost:8007
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
> old worker.list= worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
> worker ajp12-01
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
> create instance ajp12-01 of ajp12
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (264)]: Into
> ajp12_worker_factory
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
> validate and init ajp12-01
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (182)]: Into
> jk_worker_t::validate
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (194)]: In
> jk_worker_t::validate for worker ajp12-01 contact is localhost:9007
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
> old ajp12-01 worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
> worker ajp12-02
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
> create instance ajp12-02 of ajp12
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (264)]: Into
> ajp12_worker_factory
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
> validate and init ajp12-02
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (182)]: Into
> jk_worker_t::validate
> [Thu Sep 06 18:26:17 2001]  [jk_ajp12_worker.c (194)]: In
> jk_worker_t::validate for worker ajp12-02 contact is localhost:9017
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
> old ajp12-02 worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
> worker ajp13-01
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (138)]: Into wc_create_worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (152)]: wc_create_worker, about to
> create instance ajp13-01 of ajp13
> [Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (882)]: Into
> ajp13_worker_factory
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (161)]: wc_create_worker, about to
> validate and init ajp13-01
> [Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (412)]: Into
> jk_worker_t::validate
> [Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (425)]: In
> jk_worker_t::validate for worker ajp13-01 contact is localhost:9009
> [Thu Sep 06 18:26:17 2001]  [jk_ajp13_worker.c (451)]: Into
> jk_worker_t::init
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (177)]: wc_create_worker, done
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (223)]: build_worker_map, removing
> old ajp13-01 worker
> [Thu Sep 06 18:26:17 2001]  [jk_worker.c (213)]: build_worker_map, creating
> worker ajp13-02
> 
> and one ajp13-02 on port 9019
> 
> My questions:
> 1.) Why gets this hardcoded worker on port 8007 created?
> 2.) Is this a Bug I shall report?
> 
> Since I have a work around by putting this space in front of my first
> worker, I can live with this.
> 
> Is this a Bug I should put into Bigzilla?
> 
> Hans Schmid
> 
> einsurance Agency AG
> Information Technology
> Bayerstraße 33
> 80335 München
> 
> Tel: +49-89-55292- 860
> Fax: +49-89-55292- 855
> 
> eMail: Hans.Schmid@einsurance.de
> http://www.einsurance.de

Re: does tomcat have the cajones?

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Rick Mann wrote:
> 
> on 9/6/01 11:24 AM, Denis Haskin at Denis@HaskinFerguson.net wrote:
> 
> > Er... I think you mean "cojones".  A cajon is a kind of percussion instrument.
> 
> Actually, a "cajon" is a drawer. "Caja" is box, so "cajon" could be a big
> box (colloquial).

Look to http://members.nbci.com/speaker6/jokes/cojones.html

> :-)
> 
> ------------------------------------------------------------
> Roderick Mann               rmann @ latencyzero.com.sansspam

Re: does tomcat have the cajones?

Posted by Mike Wright <to...@theorb.net>.
Perhaps there is some relevance here. A cajon is also a container.

Mike Wright



Rick Mann wrote:

> on 9/6/01 11:24 AM, Denis Haskin at Denis@HaskinFerguson.net wrote:
> 
> 
>>Er... I think you mean "cojones".  A cajon is a kind of percussion instrument.
>>
> 
> Actually, a "cajon" is a drawer. "Caja" is box, so "cajon" could be a big
> box (colloquial).
> 
> :-)
> 
> ------------------------------------------------------------
> Roderick Mann               rmann @ latencyzero.com.sansspam
> 
> 
> 
> 
> 



Re: does tomcat have the cajones?

Posted by Rick Mann <rm...@latencyzero.com>.
on 9/6/01 11:24 AM, Denis Haskin at Denis@HaskinFerguson.net wrote:

> Er... I think you mean "cojones".  A cajon is a kind of percussion instrument.

Actually, a "cajon" is a drawer. "Caja" is box, so "cajon" could be a big
box (colloquial).

:-)

------------------------------------------------------------
Roderick Mann               rmann @ latencyzero.com.sansspam



Re: does tomcat have the cajones?

Posted by Denis Haskin <De...@HaskinFerguson.net>.
alex reuter wrote:

> Hello Everyone,
>
> I have a general question about tomcat's cajones.

Er... I think you mean "cojones".  A cajon is a kind of percussion instrument.

But we know what you mean <grin>...

Okay, back on topic.


does tomcat have the cajones?

Posted by alex reuter <ar...@monsterdaata.com>.
Hello Everyone,

I have a general question about tomcat's cajones.  What does everyone think
about using tomcat as a mission critical servelet container?  What version
is best?  What are its limitations? Performance issues?  What kind of
stability can be expected?

We are currently using a commercial application server and have been having
a hell of a time with stability and performance and lately have taken to
breaking modular pieces out and running them along side as servlets inside
tomcat.  If not tomcat, then what?


Thanks for any replies.

Alex