You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/06/08 17:17:04 UTC

[Bug 58011] New: Tomcat 7 crasches intermittently with NIO and HTTPS

https://bz.apache.org/bugzilla/show_bug.cgi?id=58011

            Bug ID: 58011
           Summary: Tomcat 7 crasches intermittently with NIO and HTTPS
           Product: Tomcat 7
           Version: 7.0.61
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: carlzbg@gmail.com

Running Tomcat 7.0.61 as service with mostly HTTPS - it will terminate after a
few days or sometimes hours.

We use java 8_45 on Windows 2008 server.

>From server.xml:

<Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
        maxThreads="150" minSpareThreads="4"/>

<Connector port="80" 
    executor="tomcatThreadPool" 
        redirectPort="443" />


<Connector port="443" 
   protocol="org.apache.coyote.http11.Http11NioProtocol"
            executor="tomcatThreadPool" 
            scheme="https" 
            secure="true" 
            SSLEnabled="true"
            sslProtocol="TLS"
            />

Error message:

Fault:500 in page: /corp/report/CSEVERE: 
java.lang.IllegalArgumentException: You can only write using the application
write buffer provided by the handler.
    at
org.apache.tomcat.util.net.SecureNioChannel.write(SecureNioChannel.java:482)
    at sun.nio.ch.FileChannelImpl.transferToArbitraryChannel(Unknown Source)
    at sun.nio.ch.FileChannelImpl.transferTo(Unknown Source)
    at
org.apache.tomcat.util.net.NioEndpoint$Poller.processSendfile(NioEndpoint.java:1352)
    at
org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1271)
    at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1231)
    at java.lang.Thread.run(Unknown Source)

jun 08, 2015 1:18:20 EM org.apache.tomcat.util.net.NioEndpoint$Poller
processSendfile
SEVERE: 
java.lang.IllegalArgumentException: You can only write using the application
write buffer provided by the handler.
    at
org.apache.tomcat.util.net.SecureNioChannel.write(SecureNioChannel.java:482)
    at sun.nio.ch.FileChannelImpl.transferToArbitraryChannel(Unknown Source)
    at sun.nio.ch.FileChannelImpl.transferTo(Unknown Source)
    at
org.apache.tomcat.util.net.NioEndpoint$Poller.processSendfile(NioEndpoint.java:1352)
    at
org.apache.tomcat.util.net.NioEndpoint$Poller.processKey(NioEndpoint.java:1271)
    at org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint.java:1231)
    at java.lang.Thread.run(Unknown Source)

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


[Bug 58011] Tomcat 7 crasches intermittently with NIO and HTTPS

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58011

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED
                 OS|                            |All

--- Comment #1 from Mark Thomas <ma...@apache.org> ---


*** This bug has been marked as a duplicate of bug 57265 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

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