You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Konstantin Kolinko <kn...@gmail.com> on 2012/09/04 11:42:12 UTC

Re: Atmosphere Chat sample throws exception upon page reload in IE 9

2012/9/4 Christof Doll <ch...@fortis-it.de>:
>

There are two different issues:

> Sep 04, 2012 8:50:39 AM org.apache.catalina.connector.CoyoteAdapter event
>
> Schwerwiegend: null
>
> org.apache.tomcat.jni.Error: 620015: APR does not understand this error code
>
>                 at org.apache.tomcat.jni.Socket.recvbb(Native Method)

1) Issue in Tomcat-Native (1.1.24) or in APR library it uses (1.4.6)

I do not know what it actually is.
I guess it does not understand some error code from OS. It would be
nice to know what that code actually means.

>
>                 at
> org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:575)
>
>                 at
> org.apache.coyote.http11.InternalAprInputBuffer$SocketInputBuffer.doRead(InternalAprInputBuffer.java:642)
>
>                 at
> org.apache.coyote.http11.InternalAprInputBuffer.doRead(InternalAprInputBuffer.java:532)
>
>                 at org.apache.coyote.Request.doRead(Request.java:422)
>
>                 at
> org.apache.catalina.connector.InputBuffer.realReadBytes(InputBuffer.java:290)
>
>                 at
> org.apache.catalina.connector.Request.read(Request.java:555)
>
>                 at
> org.apache.catalina.connector.CoyoteAdapter.event(CoyoteAdapter.java:166)
>
>                 at
> org.apache.coyote.http11.Http11AprProcessor.event(Http11AprProcessor.java:133)
>
>                 at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:581)
>
>                 at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
>
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>
>                 at java.lang.Thread.run(Thread.java:722)
>
>
>
> Sep 04, 2012 8:50:39 AM org.apache.coyote.http11.Http11AprProcessor event
>
> Schwerwiegend: Error processing request
>
> java.lang.NullPointerException
>
>                 at
> org.apache.coyote.http11.Http11AprProcessor.actionInternal(Http11AprProcessor.java:277)
>
>                 at
> org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:846)
>
>                 at org.apache.coyote.Request.action(Request.java:346)
>
>                 at
> org.apache.catalina.connector.Request.getRemoteAddr(Request.java:1281)
>
>                 at
> org.apache.catalina.connector.Request.getRemoteHost(Request.java:1296)
>
>                 at
> org.apache.catalina.valves.AccessLogValve$HostElement.addElement(AccessLogValve.java:1327)


2) An NPE when trying to get remote host address to write it into the
access log file. Tomcat has to ask the address on the socket.

It fails probably because the socket is already closed.

>                 at
> org.apache.catalina.valves.AccessLogValve.log(AccessLogValve.java:953)
>
>                 at
> org.apache.catalina.core.AccessLogAdapter.log(AccessLogAdapter.java:51)
>
>                 at
> org.apache.catalina.core.ContainerBase.logAccess(ContainerBase.java:1263)
>
>                 at
> org.apache.catalina.core.ContainerBase.logAccess(ContainerBase.java:1270)
>
>                 at
> org.apache.catalina.connector.CoyoteAdapter.event(CoyoteAdapter.java:250)
>
>                 at
> org.apache.coyote.http11.Http11AprProcessor.event(Http11AprProcessor.java:133)
>
>                 at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:581)
>
>                 at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
>
>                 at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>
>                 at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>
>                 at java.lang.Thread.run(Thread.java:722)
>
>  (...)
>
>
> Do you have any ideas how to solve this bug?
>

3) Looking into bugzilla, there is known issue in 7.0.29
https://issues.apache.org/bugzilla/show_bug.cgi?id=53697

Can you re-test this with 7.0.30?
There is download link in the VOTE thread on the dev mailing list.

If the problem persists, you may file an issue.
Please provide configuration and steps to reproduce it.

4). You may want to try running with Nio connector implementation
instead of APR one.
Maybe that one will behave better / differently.

Best regards,
Konstantin Kolinko

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