[jboss-jira] [JBoss JIRA] Updated: (JBAS-1740) Remote Connection does not get closed in case of sloppy client

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Apr 4 03:35:38 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBAS-1740?page=all ]

Jesper Pedersen updated JBAS-1740:
----------------------------------

    Assignee: Jesper Pedersen  (was: Weston Price)

> Remote Connection does not get closed in case of sloppy client
> --------------------------------------------------------------
>
>                 Key: JBAS-1740
>                 URL: http://jira.jboss.com/jira/browse/JBAS-1740
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JCA service
>    Affects Versions: JBossAS-4.0.1 Final
>            Reporter: Michael Kopp
>         Assigned To: Jesper Pedersen
>            Priority: Minor
>             Fix For: JBossAS-5.1.0.CR1
>
>
> If the Client that gets a remote Connection (WrapperDataSourceService) does not close it properly (sloppy or crash), it will never be released again. 
> This can be solved rather easily, the finalize method of the Server part of the proxy should call close.
> Thus if the client object gets garbage collected (or the JVM dies), the server object (proxy) will be garbage collected and the finalize method called.
> This thing is that a sloppy or crashing client can occupy all available connections, leaving all other applications with no connection to work with.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list