tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <>
Subject [jira] Assigned: (OPENEJB-1239) Bad client connection is never getting discarded from pool
Date Thu, 04 Mar 2010 13:37:27 GMT


Kevan Miller reassigned OPENEJB-1239:

    Assignee: Kevan Miller

> Bad client connection is never getting discarded from pool
> ----------------------------------------------------------
>                 Key: OPENEJB-1239
>                 URL:
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 3.1.x
>            Reporter: Kevan Miller
>            Assignee: Kevan Miller
>             Fix For: 3.1.3
> If I lookup a Stateless Session bean and invoke a method from a long running client then
kill the server, a subsequent invocation by the client fails ( gets an error flushing
the OutputStream. However, if I then restart the server, the client keeps grabbing the stale
connection (which is not removed from the pool). The connection remains in the pool for some
amount of time. But does eventually get cleaned up (after a socket timout period, I suppose).

> When the server is down, the Client receives an IOException for the flush at line 162.
We handle the error, but as long as retry is false, the connection will not be removed from
the pool. write() operations on the OutputStream are not failing. Good chance that this behavior
is environmental. So, on different OS's (this test is on Windows), we may see a different
error that is cleaning up the connection.  

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message