Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000479 [Resin] minor always 12-05-05 08:26 12-07-05 07:28
Reporter sam View Status @0@  
Assigned To
Priority urgent Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.16 Product Version 3.0.15
  Product Build
Summary 0000479: SSL_WRITE_PENDING
Description (rep by B Lovrin)

We are getting a lot of IOExceptions on HTTPS responses from Resin,
SSL_WRITE_PENDING error.

This error happens intermittently, and we believe only with large
responses. Our "large" responses are in the tens to hundreds of KB
range -- definitely nothing extreme.

The last comment here may be relevant:
http://trac.lighttpd.net/trac/ticket/217 [^]

Here's the stack trace with Resin 3.0.15:

Stack trace:
java.io.IOException: 8652:error:1409F07F:SSL
routines:SSL3_WRITE_PENDING:bad write retry:s3_pkt.c:730:

        at com.caucho.vfs.JniStream.writeNative(Native Method)
        at com.caucho.vfs.JniStream.write(JniStream.java:129)
        at com.caucho.vfs.WriteStream.nextBuffer(WriteStream.java:311)
        at
com.caucho.server.connection.ResponseStream.nextBuffer(ResponseStream.java:308)
        at
        com.caucho.vfs.i18n.ISO8859_1Writer.write(ISO8859_1Writer.java:114)
        at
com.caucho.server.connection.ToByteResponseStream.flushCharBuffer(ToByteResponseStream.java:469)
        at
com.caucho.server.connection.ToByteResponseStream.print(ToByteResponseStream.java:408)
        at com.caucho.jsp.JspWriterAdapter.write(JspWriterAdapter.java:105)
        at _jsp._main._profile__jsp._jspService(_profile__jsp.java:1107)
        at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
        at com.caucho.jsp.Page.pageservice(Page.java:570)
        at
com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159)
        at
com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:209)
        at
com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
        at
com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
        at
        com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
        at com.caucho.server.port.TcpConnection.run(TcpConnection.java:386)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
        at java.lang.Thread.run(Thread.java:595)
Steps To Reproduce
Additional Information Solaris 10 x86 (AMD64).

Two configurations attempted:

Resin 3.0.14, run as 32-bit
Java 1.5 u4 run as 32-bit,
OpenSSL 0.9.7D libs are 64-bit (came with Solaris in /usr/sfw).

Resin to 3.0.15 32-bit
OpenSSL 0.9.7f 32-bit
gcc 3.3.6
Attached Files

- Relationships

- Notes
(0000518)
ferg
12-07-05 07:28

Changed from non-blocking to blocking I/O for sockets.
 

- Issue History
Date Modified Username Field Change
12-05-05 08:26 sam New Issue
12-07-05 07:28 ferg Status new => closed
12-07-05 07:28 ferg Note Added: 0000518
12-07-05 07:28 ferg Resolution open => fixed
12-07-05 07:28 ferg Fixed in Version  => 3.0.16


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker