On 02/10/2013 20:36, Konstantin Preißer wrote:
> Hi Mark,
> 
>> -----Original Message-----
>> From: Mark Thomas [mailto:ma...@apache.org]
>> Sent: Wednesday, October 2, 2013 7:28 PM
>> To: Tomcat Developers List
>> Subject: Re: 8.0.x / 7.0.x progress
>>
>> On 01/10/2013 19:39, Mark Thomas wrote:
>>> 8.0.x trunk appears to be stable (i.e. no longer crashes)
>>
>> So far no-one has come forward with results to contradict this and folks
>> that reported issues with RC3 have not been able to repeat them.
> 
> I also did not observe crashes any more with current trunk and 
> tcnative-1.dll. Good work!
> 
>> The additional issues reported with the snake example have been resolved.
> 
> Thanks. When I now open snake.xhtml with Chrome, press a key and close 
> Chrome, then the snake disappears.
> Then, I also get the following exception - probably because the Throwable in 
> onError() method is a IOException, but not a EOFException. Is it okay to 
> change the code in SnakeAnnotation.onError() to catch a IOException instead 
> of EOFException?

No. The only time we want to swallow the error is on EOF.

70014 is the APR error code for EOF so we need to report that as EOF
rather than as a generic IOException. That should be easy to do.

Mark


> 
> 02-Oct-2013 21:27:33.938 SEVERE [http-apr-8080-exec-4] 
> org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError Failed to call 
> onError method of POJO end point for POJO of type 
> [websocket.snake.SnakeAnnotation]
>  java.lang.reflect.InvocationTargetException
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:606)
>       at 
> org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError(PojoEndpointBase.java:131)
>  [...]
> Caused by: java.io.IOException: Unexpected error [70,014] reading data from 
> the APR/native socket.
>       at 
> org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:102)
> [...]
> 
> 
> Regards,
> Konstantin Preißer
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
> 


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

Reply via email to