You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Violeta Georgieva <mi...@gmail.com> on 2013/10/16 21:33:48 UTC

[VOTE] Release Apache Tomcat 7.0.46

The proposed Apache Tomcat 7.0.46 release is now available for voting.
This release candidate contains JSR-356 Java WebSocket 1.0 implementation.
Note that use of this functionality requires Java 7.

It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.46/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-189/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_46/

The proposed 7.0.46 release is:
[ ] Broken - do not release
[ ] Stable - go ahead and release as 7.0.46 Stable

Regards
Violeta

Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Mark Thomas <ma...@apache.org>.
On 17/10/2013 11:35, Konstantin Kolinko wrote:
> 2013/10/17 Violeta Georgieva <mi...@gmail.com>:
>> 2013/10/17 Mark Thomas <ma...@apache.org>
>>>
>>> On 17/10/2013 10:52, Violeta Georgieva wrote:
>>>> Hi Mark,
>>>>
>>>>
>>>> 2013/10/17 Mark Thomas <ma...@apache.org>
>>>>>
>>>>> On 16/10/2013 23:47, Konstantin Preißer wrote:
>>>>>
>>>>>> Hmm, unfortunately it seems the Websocket implementation using the
>>>>>> deprecated proprietary API does not work correctly when using the
>>>>>> HTTP APR and NIO connector on Windows...
>>>>>
>>>>> <snip/>
>>>>>
>>>>>> With the BIO connector, everything works fine.
>>>>>>
>>>>>> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
>>>>>>
>>>>>> I have done some digging and I found that with r1516410, the old
>>>>>> Websocket implementation works fine with NIO and APR, but with
>>>>>> r1516411, it does not work anymore.
>>>>>
>>>>> I think the safest thing to do is to revert that change. I think I see
>>>>> see a better solution but I don't want to risk yet more regressions.
>>>>
>>>>
>>>> I see this as a cancellation of this vote but I would like to hear your
>>>> opinion also.
>>>
>>> As much as it pains me to say it, I think we need a new tag :(
>>>
>>
>> Ok
>> I can see you already committed the revert.
>> Can I start right now?
>>
> 
> o.a.catalina.core.AprLifecycleListener says
>     protected static final int TCN_RECOMMENDED_PV = 28;

29 needs to be required. I'll fix that now.

> Should that be changed to be "29" to match the recently released native 1.1.29?
> 
> For Tomcat 8 I would even change TCN_REQUIRED_PATCH to be 29, as it
> relies on the poller fix that went in 1.1.29.

8.0.x has already had that change made.

Mark


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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Konstantin Kolinko <kn...@gmail.com>.
2013/10/17 Violeta Georgieva <mi...@gmail.com>:
> 2013/10/17 Mark Thomas <ma...@apache.org>
>>
>> On 17/10/2013 10:52, Violeta Georgieva wrote:
>> > Hi Mark,
>> >
>> >
>> > 2013/10/17 Mark Thomas <ma...@apache.org>
>> >>
>> >> On 16/10/2013 23:47, Konstantin Preißer wrote:
>> >>
>> >>> Hmm, unfortunately it seems the Websocket implementation using the
>> >>> deprecated proprietary API does not work correctly when using the
>> >>> HTTP APR and NIO connector on Windows...
>> >>
>> >> <snip/>
>> >>
>> >>> With the BIO connector, everything works fine.
>> >>>
>> >>> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
>> >>>
>> >>> I have done some digging and I found that with r1516410, the old
>> >>> Websocket implementation works fine with NIO and APR, but with
>> >>> r1516411, it does not work anymore.
>> >>
>> >> I think the safest thing to do is to revert that change. I think I see
>> >> see a better solution but I don't want to risk yet more regressions.
>> >
>> >
>> > I see this as a cancellation of this vote but I would like to hear your
>> > opinion also.
>>
>> As much as it pains me to say it, I think we need a new tag :(
>>
>
> Ok
> I can see you already committed the revert.
> Can I start right now?
>

o.a.catalina.core.AprLifecycleListener says
    protected static final int TCN_RECOMMENDED_PV = 28;

Should that be changed to be "29" to match the recently released native 1.1.29?

For Tomcat 8 I would even change TCN_REQUIRED_PATCH to be 29, as it
relies on the poller fix that went in 1.1.29.

Best regards,
Konstantin Kolinko

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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Mark Thomas <ma...@apache.org>.
On 17/10/2013 11:33, Mark Thomas wrote:
> On 17/10/2013 10:55, Violeta Georgieva wrote:
>> 2013/10/17 Mark Thomas <ma...@apache.org>
>>>
>>> On 17/10/2013 10:52, Violeta Georgieva wrote:
>>>> Hi Mark,
>>>>
>>>>
>>>> 2013/10/17 Mark Thomas <ma...@apache.org>
>>>>>
>>>>> On 16/10/2013 23:47, Konstantin Preißer wrote:
>>>>>
>>>>>> Hmm, unfortunately it seems the Websocket implementation using the
>>>>>> deprecated proprietary API does not work correctly when using the
>>>>>> HTTP APR and NIO connector on Windows...
>>>>>
>>>>> <snip/>
>>>>>
>>>>>> With the BIO connector, everything works fine.
>>>>>>
>>>>>> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
>>>>>>
>>>>>> I have done some digging and I found that with r1516410, the old
>>>>>> Websocket implementation works fine with NIO and APR, but with
>>>>>> r1516411, it does not work anymore.
>>>>>
>>>>> I think the safest thing to do is to revert that change. I think I see
>>>>> see a better solution but I don't want to risk yet more regressions.
>>>>
>>>>
>>>> I see this as a cancellation of this vote but I would like to hear your
>>>> opinion also.
>>>
>>> As much as it pains me to say it, I think we need a new tag :(
>>>
>>
>> Ok
>> I can see you already committed the revert.
>> Can I start right now?
> 
> Hmm. The drawing board WebSocket example is currently broken for me.
> Need to figure out why.

My bad. I was running on Java 6 not 7.

Mark


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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Mark Thomas <ma...@apache.org>.
On 17/10/2013 10:55, Violeta Georgieva wrote:
> 2013/10/17 Mark Thomas <ma...@apache.org>
>>
>> On 17/10/2013 10:52, Violeta Georgieva wrote:
>>> Hi Mark,
>>>
>>>
>>> 2013/10/17 Mark Thomas <ma...@apache.org>
>>>>
>>>> On 16/10/2013 23:47, Konstantin Preißer wrote:
>>>>
>>>>> Hmm, unfortunately it seems the Websocket implementation using the
>>>>> deprecated proprietary API does not work correctly when using the
>>>>> HTTP APR and NIO connector on Windows...
>>>>
>>>> <snip/>
>>>>
>>>>> With the BIO connector, everything works fine.
>>>>>
>>>>> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
>>>>>
>>>>> I have done some digging and I found that with r1516410, the old
>>>>> Websocket implementation works fine with NIO and APR, but with
>>>>> r1516411, it does not work anymore.
>>>>
>>>> I think the safest thing to do is to revert that change. I think I see
>>>> see a better solution but I don't want to risk yet more regressions.
>>>
>>>
>>> I see this as a cancellation of this vote but I would like to hear your
>>> opinion also.
>>
>> As much as it pains me to say it, I think we need a new tag :(
>>
> 
> Ok
> I can see you already committed the revert.
> Can I start right now?

Hmm. The drawing board WebSocket example is currently broken for me.
Need to figure out why.

Mark

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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Violeta Georgieva <mi...@gmail.com>.
2013/10/17 Mark Thomas <ma...@apache.org>
>
> On 17/10/2013 10:52, Violeta Georgieva wrote:
> > Hi Mark,
> >
> >
> > 2013/10/17 Mark Thomas <ma...@apache.org>
> >>
> >> On 16/10/2013 23:47, Konstantin Preißer wrote:
> >>
> >>> Hmm, unfortunately it seems the Websocket implementation using the
> >>> deprecated proprietary API does not work correctly when using the
> >>> HTTP APR and NIO connector on Windows...
> >>
> >> <snip/>
> >>
> >>> With the BIO connector, everything works fine.
> >>>
> >>> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
> >>>
> >>> I have done some digging and I found that with r1516410, the old
> >>> Websocket implementation works fine with NIO and APR, but with
> >>> r1516411, it does not work anymore.
> >>
> >> I think the safest thing to do is to revert that change. I think I see
> >> see a better solution but I don't want to risk yet more regressions.
> >
> >
> > I see this as a cancellation of this vote but I would like to hear your
> > opinion also.
>
> As much as it pains me to say it, I think we need a new tag :(
>

Ok
I can see you already committed the revert.
Can I start right now?

Thanks

Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Mark Thomas <ma...@apache.org>.
On 17/10/2013 10:52, Violeta Georgieva wrote:
> Hi Mark,
> 
> 
> 2013/10/17 Mark Thomas <ma...@apache.org>
>>
>> On 16/10/2013 23:47, Konstantin Preißer wrote:
>>
>>> Hmm, unfortunately it seems the Websocket implementation using the
>>> deprecated proprietary API does not work correctly when using the
>>> HTTP APR and NIO connector on Windows...
>>
>> <snip/>
>>
>>> With the BIO connector, everything works fine.
>>>
>>> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
>>>
>>> I have done some digging and I found that with r1516410, the old
>>> Websocket implementation works fine with NIO and APR, but with
>>> r1516411, it does not work anymore.
>>
>> I think the safest thing to do is to revert that change. I think I see
>> see a better solution but I don't want to risk yet more regressions.
> 
> 
> I see this as a cancellation of this vote but I would like to hear your
> opinion also.

As much as it pains me to say it, I think we need a new tag :(

Mark


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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Violeta Georgieva <mi...@gmail.com>.
Hi Mark,


2013/10/17 Mark Thomas <ma...@apache.org>
>
> On 16/10/2013 23:47, Konstantin Preißer wrote:
>
> > Hmm, unfortunately it seems the Websocket implementation using the
> > deprecated proprietary API does not work correctly when using the
> > HTTP APR and NIO connector on Windows...
>
> <snip/>
>
> > With the BIO connector, everything works fine.
> >
> > The new JSR 356 examples work fine with BIO, NIO and APR connectors.
> >
> > I have done some digging and I found that with r1516410, the old
> > Websocket implementation works fine with NIO and APR, but with
> > r1516411, it does not work anymore.
>
> I think the safest thing to do is to revert that change. I think I see
> see a better solution but I don't want to risk yet more regressions.


I see this as a cancellation of this vote but I would like to hear your
opinion also.

Thanks
Vily

Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Mark Thomas <ma...@apache.org>.
On 16/10/2013 23:47, Konstantin Preißer wrote:

> Hmm, unfortunately it seems the Websocket implementation using the
> deprecated proprietary API does not work correctly when using the
> HTTP APR and NIO connector on Windows...

<snip/>

> With the BIO connector, everything works fine.
> 
> The new JSR 356 examples work fine with BIO, NIO and APR connectors.
> 
> I have done some digging and I found that with r1516410, the old
> Websocket implementation works fine with NIO and APR, but with
> r1516411, it does not work anymore.

I think the safest thing to do is to revert that change. I think I see
see a better solution but I don't want to risk yet more regressions.

Mark

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


RE: [VOTE] Release Apache Tomcat 7.0.46

Posted by Konstantin Preißer <kp...@apache.org>.
> -----Original Message-----
> From: Violeta Georgieva [mailto:milesg78@gmail.com]
> Sent: Wednesday, October 16, 2013 9:34 PM
> To: Tomcat Developers List
> Subject: [VOTE] Release Apache Tomcat 7.0.46
> 
> The proposed Apache Tomcat 7.0.46 release is now available for voting.
> This release candidate contains JSR-356 Java WebSocket 1.0 implementation.
> Note that use of this functionality requires Java 7.
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.46/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-189/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_46/
> 
> The proposed 7.0.46 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 7.0.46 Stable

Hmm, unfortunately it seems the Websocket implementation using the deprecated proprietary API does not work correctly when using the HTTP APR and NIO connector on Windows...

E.g.:
With Tomcat 7.0.46 and NIO or APR connector on Windows 8 x64 with Java 1.7.0_45 x64:
1) Open the snake example, http://localhost:8081/examples/websocket-deprecated/snake.html with Firefox
2) Press up key
3) Console displays "Sent: Direction north", but the snake does not move.

1) Open the echo example, http://localhost:8081/examples/websocket-deprecated/echo.html with Firefox
2) Choose one of the endpoints and click connect
3) Press "echo message" button a lot of times - the message will not be echoed-back, and eventually the Websocket connection will be closed; Tomcat logs:

Okt 16, 2013 11:27:17 PM org.apache.coyote.http11.AbstractHttp11Processor process
Information: Error parsing HTTP request header
 Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level.

When using a TCP sniffer, one can see that when the browser displays "Websocket connection closed", Tomcat sends a "HTTP/1.1 400 Bad Request" response although it previously already sent a "HTTP/1.1 101 Switching Protocols" response on the same TCP connection. It seems that the websocket messages from the browser are treated as an additional HTTP request instead of websocket messages.

With the BIO connector, everything works fine.

The new JSR 356 examples work fine with BIO, NIO and APR connectors.

I have done some digging and I found that with r1516410, the old Websocket implementation works fine with NIO and APR, but with r1516411, it does not work anymore.


Regards,
Konstantin Preißer


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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Violetta,

On 10/16/13 3:33 PM, Violeta Georgieva wrote:
> The proposed Apache Tomcat 7.0.46 release is now available for voting.
> This release candidate contains JSR-356 Java WebSocket 1.0 implementation.
> Note that use of this functionality requires Java 7.
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.46/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-189/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_46/
> 
> The proposed 7.0.46 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 7.0.46 Stable

Debian Linux 2.6 x86-64
Oracle Java 1.6.0_26 64-bit JVM

MD5 sums match
GPG signatures match
ZIP and tarball are the same
tcnative builds fine
Checkstyle is happy
Java builds with a single warning:
compile-java6:
    [javac] Compiling 1313 source files to
/home/cschultz/projects/apache-tomcat/tarball/apache-tomcat-7.0.45-src/output/classes
    [javac]
/home/cschultz/projects/apache-tomcat/tarball/apache-tomcat-7.0.45-src/java/javax/el/ResourceBundleELResolver.java:109:
warning: getFeatureDescriptors(javax.el.ELContext,java.lang.Object) in
javax.el.ResourceBundleELResolver overrides
getFeatureDescriptors(javax.el.ELContext,java.lang.Object) in
javax.el.ELResolver; return type requires unchecked conversion
    [javac] found   : java.util.Iterator
    [javac] required: java.util.Iterator<java.beans.FeatureDescriptor>
    [javac]     public Iterator getFeatureDescriptors(
    [javac]                     ^
BIO, NIO, and APR tests all pass (except for Tribes which are known to
fail in my environment)

A short smoke test in my development environment shows no problems.

Note that I'm not using Websocket or any of the new, fancy capabilities
of Tomcat.

-chris


RE: [VOTE] Release Apache Tomcat 7.0.46

Posted by Konstantin Preißer <kp...@apache.org>.
Hi Violeta,

> -----Original Message-----
> From: Violeta Georgieva [mailto:milesg78@gmail.com]
> Sent: Wednesday, October 16, 2013 9:34 PM
> To: Tomcat Developers List
> Subject: [VOTE] Release Apache Tomcat 7.0.46
> 
> The proposed Apache Tomcat 7.0.46 release is now available for voting.
> This release candidate contains JSR-356 Java WebSocket 1.0 implementation.
> Note that use of this functionality requires Java 7.
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.46/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-189/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_46/
> 
> The proposed 7.0.46 release is:
> [ ] Broken - do not release
> [X] Stable - go ahead and release as 7.0.46 Stable

(non-binding)

Tested with some self-made applications.


Regards,
Konstantin Preißer


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


Re: [VOTE] Release Apache Tomcat 7.0.46

Posted by Violeta Georgieva <mi...@gmail.com>.
2013/10/16 Violeta Georgieva <mi...@gmail.com>
>
> The proposed Apache Tomcat 7.0.46 release is now available for voting.
> This release candidate contains JSR-356 Java WebSocket 1.0
implementation. Note that use of this functionality requires Java 7.
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-7/v7.0.46/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-189/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_46/
>
> The proposed 7.0.46 release is:
> [X] Broken - do not release
> [ ] Stable - go ahead and release as 7.0.46 Stable


Based on the issues reported here I'm cancelling the voting.

Regards
Violeta