2015-03-05 22:39 GMT+03:00 Violeta Georgieva <violet...@apache.org>:
> Hi,
>
> I plan to start preparing 7.0.60 for voting.
>
> If you want to add something to this release please reply here.
>

Testing the examples app with Security Manager enabled

1) JSPs using JSTL fail, in the same way as I mentioned for Tomcat 6
in its STATUS.txt,
http://svn.apache.org/r1664031

A read permission for JSTL configuration property is needed.

2) An odd behaviour with  http://localhost:8080/examples/async/stockticker

If I understand correctly it was triggered by pressing Esc while the
page was being loaded for the first time. This resulted in the
following:
a) an ISE stacktrace on the console
b) No more connections to
http://localhost:8080/examples/async/stockticker can be done. Other
servlet examples are working correctly,  but connecting to the
stockticker page results in:

The browser waits for 10 seconds and then abort the connection
(showing a blank page; no messages in Tomcat logs, nor on console
besides the fist one).
Access log shows result code 200:

127.0.0.1 - - [06/Mar/2015:20:13:07 +0300] "GET
/examples/async/stockticker HTTP/1.1" 200 -


The ISE:

06.03.2015 20:02:18 org.apache.coyote.AbstractProcessor setErrorState
INFO: An error occurred in processing while on a non-container thread. The conne
ction will be closed immediately
java.net.SocketException: Software caused connection abort: socket write error
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at 
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215)
        at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480)
        at 
org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:119)
        at 
org.apache.coyote.http11.AbstractHttp11Processor.action(AbstractHttp11Processor.java:800)
        at org.apache.coyote.Response.action(Response.java:172)
        at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:363)
        at 
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:331)
        at 
org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:98)
        at async.AsyncStockServlet.writeStock(AsyncStockServlet.java:98)
        at async.AsyncStockServlet.tick(AsyncStockServlet.java:81)
        at async.Stockticker.run(Stockticker.java:84)
        at java.lang.Thread.run(Thread.java:662)
java.lang.IllegalStateException: The request associated with the
AsyncContext has already completed processing.
        at 
org.apache.catalina.core.AsyncContextImpl.check(AsyncContextImpl.java:557)
        at 
org.apache.catalina.core.AsyncContextImpl.getResponse(AsyncContextImpl.java:269)
        at async.AsyncStockServlet.writeStock(AsyncStockServlet.java:86)
        at async.AsyncStockServlet.tick(AsyncStockServlet.java:81)
        at async.Stockticker.run(Stockticker.java:84)
        at java.lang.Thread.run(Thread.java:662)

The SocketException is logged into catalina.2015-03-06.log  as well.
The ISE is logged onto console only.

I suppose that the Stockticker thread crashed, thus the behaviour that
I am observing.


This is a fresh build of current TC7 (@r1664675), running on java
6u45, Firefox 36.0.1.

Best regards,
Konstantin Kolinko

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

Reply via email to