You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@apache.org> on 2010/02/27 12:14:51 UTC

[VOTE] Release Tomcat Connectors 1.2.30

Hi,

We have one serious bug with 1.2.29 that causes IIS to
crash on POST request.
http://issues.apache.org/bugzilla/show_bug.cgi?id=48826

Other web connectors are not affected by that bug

Please test the provided release so we can replace the
existing 1.2.29 ASAP.

http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/

Sources can be found at:
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/source/jk-1.2.30/
I have made windows binaries available at:
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/win32/jk-1.2.30/
http://tomcat.apache.org/dev/dist/tomcat-connectors/jk/binaries/win64/jk-1.2.30/

Documentation is available at:
http://people.apache.org/~mturk/connectors-doc-1.2.30/
and a changelog is:
http://people.apache.org/~mturk/connectors-doc-1.2.30/miscellaneous/changelog.html

The vote will be closed as soon enough votes are encountered.

Apache Tomcat Connectors 1.2.30 is:

[ ] Stable - no major issues, no regressions
[ ] Beta   - at least one significant issue -- tell us what it is
[ ] Alpha  - multiple significant issues -- tell us what they are




Regards
-- 
^TM

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


Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Mladen Turk <mt...@apache.org>.
On 02/28/2010 11:57 PM, Rainer Jung wrote:
>
> One addition: the combination of the a+c mode and fflush() shows the
> problem. As soon as I remove one of the two, perforemance is fine.
>

What 'c' flag does is to actually call _commit (FlushFileBuffers)
on fflush(). Without that the fflush is called when the stream
buffer is full. That makes problems if used from multiple
processes since it can create complete garbage in the log.

> It's unfortunate, that the OS doesn ot allow to specify a fflush
> interval, e.g. the file should be flushed every 500 ms. There's a
> flushall() call, that could be used for something like that...
>

AFAICT a+c does what a+ does on posix on fflush()


Regards
-- 
^TM

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


Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Rainer Jung <ra...@kippdata.de>.
On 28.02.2010 23:18, Rainer Jung wrote:
> 1) Logging Performance on ISAPI/Windows
>
> The logging changes for Windows seem to dramatically slow down log
> performance. That's not a problem when having only occasional info etc.,
> but when switching to debug or trace log operation ow gets really slow.
> E.g. shutting down takes about 5 minutes, one jkstatus call more than a
> minute. I did not built with explicit JK_LOG_LOCKING define, so maybe
> it's the mode 'a+c' change. Didn't have time for one more test. 1.2.28
> does not show that behaviour. There we can log about 20 lines before the
> clock advances by one 15ms tick, with 1.2.30 each log line takes between
> 15 and 200 ms.

One addition: the combination of the a+c mode and fflush() shows the 
problem. As soon as I remove one of the two, perforemance is fine.

It's unfortunate, that the OS doesn ot allow to specify a fflush 
interval, e.g. the file should be flushed every 500 ms. There's a 
flushall() call, that could be used for something like that...

Regards,

Rainer

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


Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Mladen Turk <mt...@apache.org>.
On 02/28/2010 11:18 PM, Rainer Jung wrote:
> On 27.02.2010 12:14, Mladen Turk wrote:
>> Apache Tomcat Connectors 1.2.30 is:
>>
>> [X] Stable - no major issues, no regressions
>> [ ] Beta - at least one significant issue -- tell us what it is
>> [ ] Alpha - multiple significant issues -- tell us what they are
>
> Thanks for RMing and producing the Windows binaries.
>
> A couple of test result, none of them showstoppers:
>
> 1) Logging Performance on ISAPI/Windows
>
>
> As said: not a problem as lng as we have usual operation.
>

But now there should be no problems with cross worker
logging content for IIS6+.


  >
> 5) ISAPI build
>
> MS VC does support cross compilation, e.g. preparing bins for AMD64 or
> IA64 on a 32 Bit environment.

???
I'm building on win32 box.
You have done something wrong with setting the environment.
Use the Server 2003 SDK then
SetEnv.cmd /XP64 /RETAIL
nmake -f Makefile.amd64
and
SetEnv.cmd /SRV64 /RETAIL
nmake -f Makefile.ia64

>
> The 2010 news page is only part of the main menu, but missing from the
> menus on the other pages (various project.xml files). The index and 2010
> news page still refer to 1.2.29 as being released.
>

Right, I cannot say in 1.2.30 it was released before releasing it.

Thanks for thorough testing

Regards
-- 
^TM

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


Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Tim Whittington <ti...@apache.org>.
> 1) Logging Performance on ISAPI/Windows
> The logging changes for Windows seem to dramatically slow down log
performance.

I'm not seeing this on Windows XP - I get many logs per clock slice. (I
tried it with my builds, and Mladen's 1.2.27/28/30 builds).

Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Rainer Jung <ra...@kippdata.de>.
On 27.02.2010 12:14, Mladen Turk wrote:
> Apache Tomcat Connectors 1.2.30 is:
>
> [X] Stable - no major issues, no regressions
> [ ] Beta - at least one significant issue -- tell us what it is
> [ ] Alpha - multiple significant issues -- tell us what they are

Thanks for RMing and producing the Windows binaries.

A couple of test result, none of them showstoppers:

1) Logging Performance on ISAPI/Windows

The logging changes for Windows seem to dramatically slow down log 
performance. That's not a problem when having only occasional info etc., 
but when switching to debug or trace log operation ow gets really slow. 
E.g. shutting down takes about 5 minutes, one jkstatus call more than a 
minute. I did not built with explicit JK_LOG_LOCKING define, so maybe 
it's the mode 'a+c' change. Didn't have time for one more test. 1.2.28 
does not show that behaviour. There we can log about 20 lines before the 
clock advances by one 15ms tick, with 1.2.30 each log line takes between 
15 and 200 ms.

As said: not a problem as lng as we have usual operation.

2) Chunking ISAPI/Windows

I observed, that recent Firefox doesn't finish receiving jkstatus 
response. Although the full page is shown, the browser status shows it 
is waiting for more. The same was true already for 1.2.28. I didn't test 
any other browser, nor any other dynamic content page. Unfortunately I 
couldn't do a network trace today, because Browser and server were on 
the same box.

3) URL to worker mapping

My test comfiguration contained a mapping for /* and another one for 
/jkstatus. When sending a request for /jkstatus, the /* map was chosen. 
It seems the plugin should have chosen the /jkstatus map, because it is 
more precise. Did not yet check, whether that's new.

4) Libtool 2 and old Solaris, mod_jk for Apache 1.3

You prepared the source using libtool 2. Unfortunatly libttol 2 contains 
shell constructs, that do not work with each shell. On Solaris 8 /bin/sh 
throws errors on the libtool script. Ususally one chooses 
CONFIG_SHELL=/bin/ksh, but our Makefiles do not fully support that and 
nevertheless choose SHELL, which is /bin/sh. Will fix next week.

5) ISAPI build

MS VC does support cross compilation, e.g. preparing bins for AMD64 or 
IA64 on a 32 Bit environment. What goes wrong here is, that ISAPI needs 
PCRE, and during PCRE build we compile a binary dftables and then run 
it. So when you compile e.g. for 64 Bits, dftables will also be compiled 
for 64 Bits and then it will not run. You wont notice, if you first 
compile for your build platform, because then dftables works and 
produces the needed output file and afterwards you can build for other 
target environments. Not optimal.

6) Docs

The 2010 news page is only part of the main menu, but missing from the 
menus on the other pages (various project.xml files). The index and 2010 
news page still refer to 1.2.29 as being released.

Regards,

Rainer

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


Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Tim Whittington <ti...@apache.org>.
I've noticed an issue with the IIS shutdown being blocked, but I'm pretty
sure it's not a regression.

https://issues.apache.org/bugzilla/show_bug.cgi?id=48830

cheers
tim

On Mon, Mar 1, 2010 at 9:03 PM, Tim Whittington <ti...@apache.org> wrote:

> >
> > Apache Tomcat Connectors 1.2.30 is:
> >
> > [x] Stable - no major issues, no regressions
>
> > [ ] Beta   - at least one significant issue -- tell us what it is
> > [ ] Alpha  - multiple significant issues -- tell us what they are
> >
> >
> Tested with some RIA apps that utilise POST heavily, replicated the 1.2.29
> issue and verified 1.2.30 resolves it.
>
> (I sent this earlier, but I'm getting mail delivery and receiving failures
> today)
>
> cheers
> tim

Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Tim Whittington <ti...@apache.org>.
>
> Apache Tomcat Connectors 1.2.30 is:
>
> [x] Stable - no major issues, no regressions
> [ ] Beta   - at least one significant issue -- tell us what it is
> [ ] Alpha  - multiple significant issues -- tell us what they are
>
>
Tested with some RIA apps that utilise POST heavily, replicated the 1.2.29
issue and verified 1.2.30 resolves it.

(I sent this earlier, but I'm getting mail delivery and receiving failures
today)

cheers
tim

Re: [VOTE] Release Tomcat Connectors 1.2.30

Posted by Yoav Shapira <yo...@apache.org>.
On Sat, Feb 27, 2010 at 6:14 AM, Mladen Turk <mt...@apache.org> wrote:
> Apache Tomcat Connectors 1.2.30 is:
>
> [ X ] Stable - no major issues, no regressions
> [ ] Beta   - at least one significant issue -- tell us what it is
> [ ] Alpha  - multiple significant issues -- tell us what they are

I don't test with IIS, though ;)

Yoav

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