ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kevin chae (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATIS-376) Hot deploy issue
Date Thu, 07 Dec 2006 04:24:20 GMT
Hot deploy issue

                 Key: IBATIS-376
                 URL: http://issues.apache.org/jira/browse/IBATIS-376
             Project: iBatis for Java
          Issue Type: Improvement
          Components: SQL Maps
    Affects Versions: 2.2.0
         Environment: ALL
            Reporter: kevin chae

Hi Clinton and team.

I found an interesting issue.
In case of hot deploy
ThreadLocal localSqlMapSession causes a memory leak.

As you know, iBatis calls getLocalSqlMapSession().close();
but WAS classLoader remains in the memory after a hot deployment
because classLoader still has a reference of the ThreadLocal.

It needs to explictly set null
I tried to test with the code below and it works fine.


I hope to improve iBatis
Otherwise iBatis works greate !
Cheers !

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


View raw message