[jboss-jira] [JBoss JIRA] Moved: (EJBTHREE-834) EJB3 hot redeployment causes a permanently locked file handle

Dimitris Andreadis (JIRA) jira-events at jboss.com
Mon Jan 15 04:51:57 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-834?page=all ]

Dimitris Andreadis moved JBAS-3985 to EJBTHREE-834:
---------------------------------------------------

              Project: EJB 3.0  (was: JBoss Application Server)
                  Key: EJBTHREE-834  (was: JBAS-3985)
          Component/s:     (was: Deployment services)
                           (was: EJB3)
    Affects Version/s: EJB 3.0 RC9 - Patch 1
                           (was: JBossAS-4.0.5.GA)

> EJB3 hot redeployment causes a permanently locked file handle
> -------------------------------------------------------------
>
>                 Key: EJBTHREE-834
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-834
>             Project: EJB 3.0
>          Issue Type: Bug
>    Affects Versions: EJB 3.0 RC9 - Patch 1
>         Environment: Windows XP Pro, JRE 1.5_9, JBoss AS 4.0.5.GA, EJB3.CR9.patch1
>            Reporter: Vladimir Ralev
>         Assigned To: Dimitris Andreadis
>         Attachments: titan.jar
>
>
> I am not sure which component is responsible for the bug, but since it happened with an ejb3-jar I am rising it here. If it doesn't belong here please forward it the right place.
> 1. I copy titan.jar to the deploy folder -> the server deploys the ejb3 application and says ejb running
> 2. I delete titan.jar from the deploy folder -> the server says that the app is undeployed
> 3. I copy titian.jar in the deploy folder again -> the server deploys the ejb3 application and says ejb running again
> (everything seems ok for now, here comes the problem)
> 4. I try to delete titan.jar from the deploy folder -> I get a windows explorer error message saying that the file is in use and can't be deleted.
> When I checked with process explorer which process is using the file it turned out it's the java.exe process (the server didn't release the handle?). 
> This doesn't not occur on Linux!

-- 
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