Mantis - Resin
Viewing Issue Advanced Details
398 minor always 09-24-05 00:00 11-30-05 14:42
user401  
 
urgent  
closed 3.0.12  
3.0.12 fixed  
none    
none 3.0.15  
0000398: EJB problem: java.net.SocketTimeoutException: Read timed out
RSN-444
Hi there I am currently working with EJB's on Resin but something weird is happening.
Every day I have to restart Resin at least twice because if I do not do it, after a while it fails when a EJB Session is invoked and this is the stack trace:

java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at com.caucho.vfs.VfsStream.read(VfsStream.java:143)
        at com.caucho.vfs.ReadStream.readBuffer(ReadStream.java:833)
        at com.caucho.vfs.ReadStream.readLine(ReadStream.java:614)
        at com.caucho.vfs.ReadStream.readln(ReadStream.java:567)
        at com.caucho.vfs.HttpStream.parseHeaders(HttpStream.java:588)
        at com.caucho.vfs.HttpStream.getConnInputImpl(HttpStream.java:572)
        at com.caucho.vfs.HttpStream.getConnInput(HttpStream.java:494)
        at com.caucho.vfs.HttpStream.getAttribute(HttpStream.java:325)
        at com.caucho.vfs.ReadStream.getAttribute(ReadStream.java:915)
        at com.caucho.ejb.hessian.HessianWriter.doCall(HessianWriter.java:101)
        at _ejb.mx.com.unefon.servicios.requestmanagement.ejb.session.SvcEjbRequestManager__HessianStub.dispatchRequest(SvcEjbRequestManager__HessianStub.java:25)
        at mx.com.unefon.servicios.comunicacionsuperior.ejb.message.SvcEjbServiceListener.onMessage(SvcEjbServiceListener.java:84)
        at com.caucho.jms.session.SessionImpl.run(SessionImpl.java:856)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
        at java.lang.Thread.run(Thread.java:534)


Attache my resin.conf

Pleas help me.
Linux 2.4.21-9.EL 0000001 SMP Thu Jan 8 16:54:40 EST 2004 ia64 ia64 ia64 GNU/Linux
HP hardware
Production

Notes
(0000453)
ferg   
09-24-05 00:00   
Added HttpStreamWrapper to avoid duplicate closes.