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: carl...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to