You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henri Gomez <hg...@apache.org> on 2004/03/12 12:14:16 UTC

jk2 2.0.4 release

Hi,

We see many bug fixes in the last 2 weeks in jk2, and I wonder if
some of you still have some corrections to commit.

I plan to tag jk2 next Monday morning, and make the release on
monday afternoon.

If nobody object, I'll do like this

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk2 2.0.4 release

Posted by NormW <no...@bocnet.com.au>.
Good morning Henri.

1. I have tried your recently added <style> section for the jkstatus page,
and the dab of colour is a nice addition. Application of some more <P>'s and
<H?> to the output display would make a small refinement to the approach.
However, the notion that one has to recompile the module just to change the
colour scheme seems a little too heavyweight. An alternative I tried was to
embed a <LINK HREF= > [in jk_worker_status.c] to an external stylesheet in
/styles/jkstatus.css. While hard coding isn't always appreciated (I've seen
a few sites with this type of directory) the external file makes changing
colour combinations a _lot_ easier. While this might expose the colouring to
some tampering, the same is also true with Apache and Mod_Jk2 when external
config files are used.

2. A recent e-mail from me to TC-dev indicated a 'problem' with JkUriSet,
whereby the 'match_type' is being incorrectly set in the uri bean due to the
digits added to the uri passed to the jk_uriEnv_init function. Jean Clere
offered some feedback regarding this, but the question still remains. This
currently 'breaks' JkUriSet AFAICTest and it 'ought' to be working for the
2.0.4 release if possible. The 'primary key' for URI objects is the URI type
+ a name field made up of a possible host,port and context. If the same
values can be recovered for a particular <Location> entry in an Apache conf
file, then it makes sense to simply update an existing [matching] uri object
created through workers2.properties... in which case there is no point to
adding the extra numbers, which prevents identical uri keys from being
detected.

3. I recently suggested a patch for uriEnv.c to remove a duplicated field
from the uri runtime display in /jkstatus. While I can even stand a reply of
'Idiot - it can't be done because...', it's not polite to just ignore offers
of assistance to make the module better.

Thanks for the time and effort given,
Norm

> Hi,
>
> We see many bug fixes in the last 2 weeks in jk2, and I wonder if
> some of you still have some corrections to commit.
>
> I plan to tag jk2 next Monday morning, and make the release on
> monday afternoon.
>
> If nobody object, I'll do like this
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk2 2.0.4 release

Posted by Henri Gomez <hg...@apache.org>.
Mladen Turk wrote:

>  
> 
>>-----Original Message-----
>>From: Henri Gomez
>>
>>Did there is still things in the pipes which prevent the jk2 
>>2.0.4 release ?
>>
>>Mladen, Norm, Jean-Fred, Guenter ?
>>
> 
> 
> Have you (or pehaps others too) been able to test the new shm
> implementation?

I build it and noticed in init step :

[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_config.c(434): 
config.setConfig():  Creating channel.socket:localhost:8009
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(200): 
env.createBean2(): Create [channel.socket] localhost:8009
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(335): 
env.getByName(): Get by name workerEnv 8ad25a0
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(200): 
env.createBean2(): Create [ajp13] localhost:8009
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(200): 
env.createBean2(): Create [threadMutex] (null)
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(264): 
env.createBean2(): register threadMutex:5 8b228c8
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(335): 
env.getByName(): Get by name workerEnv 8ad25a0
[Mon Mar 15 12:14:55 2004] [debug] ../../common/jk_env.c(200): 
env.createBean2(): Create [threadMutex] (null)

....


[Mon Mar 15 12:14:56 2004] [debug] ../../common/jk_env.c(335): 
env.getByName(): Get by name status: 8b288b8
[Mon Mar 15 12:14:56 2004] [debug] ../../common/jk_env.c(325): 
env.getByName(): Can't find 8ac5130 lb
[Mon Mar 15 12:14:56 2004] [debug] ../../common/jk_env.c(325): 
env.getByName(): Can't find 8ac5130 lb
[Mon Mar 15 12:14:56 2004] [debug] ../../common/jk_env.c(325): 
env.getByName(): Can't find 8ac5130 lb
[Mon Mar 15 12:14:56 2004] [debug] ../../common/jk_env.c(325): 
env.getByName(): Can't find 8ac5130 lb


I'm using the Apache 2.0.47 from Fedora Core 1 which is multi-threaded

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: jk2 2.0.4 release

Posted by Mladen Turk <mt...@apache.org>.
I know where the bug is.
I'll drop the entire childGeneration stuff, it was anyhow a faulty attempt
to use inproc tomcat on forked servers.

Give me a hour or two.

MT.

> -----Original Message-----
> From: jean-frederic clere 
> [mailto:jfrederic.clere@fujitsu-siemens.com] 
> Sent: Monday, March 15, 2004 12:30 PM
> To: Tomcat Developers List
> Subject: Re: jk2 2.0.4 release
> 
> Mladen Turk wrote:
> >  
> > 
> >>-----Original Message-----
> >>From: Henri Gomez
> >>
> >>Did there is still things in the pipes which prevent the jk2
> >>2.0.4 release ?
> >>
> >>Mladen, Norm, Jean-Fred, Guenter ?
> >>
> > 
> > 
> > Have you (or pehaps others too) been able to test the new shm 
> > implementation?
> 
> I have a core in linux prefork (httpd-2.1).
> +++
> [Mon Mar 15 12:21:10 2004] [notice] jk2_init() Setting 
> scoreboard slot 0 for child 7104 [Mon Mar 15 12:21:10 2004] 
> [notice] Apache/2.0.47 (Unix) mod_ssl/2.0.47 OpenSSL/0.9.6l 
> DAV/2 mod_jk2/2.0.4-dev configured -- resuming normal 
> operations [Mon Mar 15 12:21:10 2004] [info] Server built: 
> Jan  7 2004 11:40:10 [Mon Mar 15 12:21:10 2004] [debug] 
> prefork.c(1037): AcceptMutex: sysvsem
> (default: sysvsem)
> [Mon Mar 15 12:21:10 2004] [notice] child pid 7104 exit 
> signal Segmentation fault (11)
> +++
> 
> > 
> > 
> > MT.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> > 
> > 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk2 2.0.4 release

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Mladen Turk wrote:
>  
> 
>>-----Original Message-----
>>From: Henri Gomez
>>
>>Did there is still things in the pipes which prevent the jk2 
>>2.0.4 release ?
>>
>>Mladen, Norm, Jean-Fred, Guenter ?
>>
> 
> 
> Have you (or pehaps others too) been able to test the new shm
> implementation?

I have a core in linux prefork (httpd-2.1).
+++
[Mon Mar 15 12:21:10 2004] [notice] jk2_init() Setting scoreboard slot 0 for 
child 7104
[Mon Mar 15 12:21:10 2004] [notice] Apache/2.0.47 (Unix) mod_ssl/2.0.47 
OpenSSL/0.9.6l DAV/2 mod_jk2/2.0.4-dev configured --
resuming normal operations
[Mon Mar 15 12:21:10 2004] [info] Server built: Jan  7 2004 11:40:10
[Mon Mar 15 12:21:10 2004] [debug] prefork.c(1037): AcceptMutex: sysvsem 
(default: sysvsem)
[Mon Mar 15 12:21:10 2004] [notice] child pid 7104 exit signal Segmentation 
fault (11)
+++

> 
> 
> MT.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Re: jk2 2.0.4 release

Posted by Kurt Miller <tr...@apache.org>.
From: "Mladen Turk" <mt...@apache.org>
> Have you (or pehaps others too) been able to test the new shm
> implementation?
>

I've tested it on FreeBSD Apache/2.0.48 prefork. anon is working ok,
but file is not. Looks like I've got a similar problem as Greg. I'm
getting permission errors (httpd runs as user/group www/www).

[Mon Mar 15 07:59:49 2004] [notice] shm.create() Created head 30048000
size 8192
[Mon Mar 15 07:59:50 2004] (debug ) [jk_shm.c (160)]  shm.init():
file=/var/log/jk2.shm size=2162688
[Mon Mar 15 07:59:50 2004] (error ) [jk_shm.c (102)]  shm.create():
error creating shm 13 Permission denied
[Mon Mar 15 07:59:50 2004] (error ) [jk_shm.c (168)]  shm.create():
error creating shm /var/log/jk2.shm
[Mon Mar 15 07:59:50 2004] (debug ) [jk_shm.c (160)]  shm.init():
file=/var/log/jk2.shm size=2162688
[Mon Mar 15 07:59:50 2004] (error ) [jk_shm.c (102)]  shm.create():
error creating shm 13 Permission denied
[Mon Mar 15 07:59:50 2004] (error ) [jk_shm.c (168)]  shm.create():
error creating shm /var/log/jk2.shm

-rw-r--r--  1 root  wheel  4 Mar 15 07:59 /var/log/jk2.shm

  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME
COMMAND
    0  4835     1   0   2  0  6916 3480 select Ss    ??    0:00.05
/usr/local/sbin/httpd -k start
   80  4836  4835   0   2  0  6924 3516 accept I     ??    0:00.02
/usr/local/sbin/httpd -k start
   80  4837  4835   0   2  0  6916 3492 accept I     ??    0:00.01
/usr/local/sbin/httpd -k start
   80  4838  4835   0   2  0  6916 3492 accept I     ??    0:00.01
/usr/local/sbin/httpd -k start
   80  4839  4835   0   2  0  6916 3492 accept I     ??    0:00.01
/usr/local/sbin/httpd -k start
   80  4840  4835   0   2  0  6916 3492 accept I     ??    0:00.01
/usr/local/sbin/httpd -k start
   80  4861  4835   0   2  0  6916 3492 accept I     ??    0:00.01
/usr/local/sbin/httpd -k start


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: jk2 2.0.4 release

Posted by Mladen Turk <mt...@apache.org>.
 
> -----Original Message-----
> From: Henri Gomez
> 
> Did there is still things in the pipes which prevent the jk2 
> 2.0.4 release ?
> 
> Mladen, Norm, Jean-Fred, Guenter ?
> 

Have you (or pehaps others too) been able to test the new shm
implementation?


MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk2 2.0.4 release

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Henri Gomez wrote:
> NormW wrote:
> 
>> Good morning again.
>> As a PS to my last message, while testing the new changes to Jk2 noted 
>> that,
>> in jk_worker_status.c the qry= option uses a plain/text coding rather 
>> than
>> plain/html, and as a consequence, the recently added <STYLE> block is 
>> shown
>> at the top of the page... it needs to be moved inside the if (qry=)/else
>> block.
>> Norm
>>
>>
>>> Hi,
>>>
>>> We see many bug fixes in the last 2 weeks in jk2, and I wonder if
>>> some of you still have some corrections to commit.
>>>
>>> I plan to tag jk2 next Monday morning, and make the release on
>>> monday afternoon.
>>>
>>> If nobody object, I'll do like this
> 
> 
> Did there is still things in the pipes which prevent the jk2 2.0.4 
> release ?
> 
> Mladen, Norm, Jean-Fred, Guenter ?

No. I am now checking old PR's to close them ;-)

> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Re: jk2 2.0.4 release

Posted by Henri Gomez <hg...@apache.org>.
NormW wrote:
> Good morning again.
> As a PS to my last message, while testing the new changes to Jk2 noted that,
> in jk_worker_status.c the qry= option uses a plain/text coding rather than
> plain/html, and as a consequence, the recently added <STYLE> block is shown
> at the top of the page... it needs to be moved inside the if (qry=)/else
> block.
> Norm
> 
> 
>>Hi,
>>
>>We see many bug fixes in the last 2 weeks in jk2, and I wonder if
>>some of you still have some corrections to commit.
>>
>>I plan to tag jk2 next Monday morning, and make the release on
>>monday afternoon.
>>
>>If nobody object, I'll do like this

Did there is still things in the pipes which prevent the jk2 2.0.4 release ?

Mladen, Norm, Jean-Fred, Guenter ?

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk2 2.0.4 release

Posted by NormW <no...@bocnet.com.au>.
Good morning again.
As a PS to my last message, while testing the new changes to Jk2 noted that,
in jk_worker_status.c the qry= option uses a plain/text coding rather than
plain/html, and as a consequence, the recently added <STYLE> block is shown
at the top of the page... it needs to be moved inside the if (qry=)/else
block.
Norm

> Hi,
>
> We see many bug fixes in the last 2 weeks in jk2, and I wonder if
> some of you still have some corrections to commit.
>
> I plan to tag jk2 next Monday morning, and make the release on
> monday afternoon.
>
> If nobody object, I'll do like this
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: jk2 2.0.4 release

Posted by Kurt Miller <tr...@apache.org>.
From: "Henri Gomez" <hg...@apache.org>
> Hi,
> 
> We see many bug fixes in the last 2 weeks in jk2, and I wonder if
> some of you still have some corrections to commit.
> 
> I plan to tag jk2 next Monday morning, and make the release on
> monday afternoon.
> 
> If nobody object, I'll do like this
> 

+1 as soon as Mladen is ready.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


RE: jk2 2.0.4 release

Posted by Mladen Turk <mt...@apache.org>.
 

> -----Original Message-----
> From: Henri Gomez
> Subject: jk2 2.0.4 release
> 
> Hi,
> 
> We see many bug fixes in the last 2 weeks in jk2, and I 
> wonder if some of you still have some corrections to commit.
> 

I'm working on a new shm implementation (as said couple of times during last
week).
Will be finished during weekend.
Perhaps to postpone that? But again we'll stil get those 'create slot
epStat.0 failed' messages.


MT.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org