You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Colin (JIRA)" <ji...@apache.org> on 2009/02/18 16:33:01 UTC

[jira] Created: (ODE-521) Open File Handles on cbp files within processes directory

Open File Handles on cbp files within processes directory
---------------------------------------------------------

                 Key: ODE-521
                 URL: https://issues.apache.org/jira/browse/ODE-521
             Project: ODE
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Colin
         Attachments: fileLocks.patch

ODE ends up maintaining file handles on *.cbp files which prevents the DeploymentService.undeploy from properly cleaning up previous deployments. 

You'll end up with log messages like:

ERROR FileUtils.deepDelete : Unable to deepDelete file XXXXX.cbp; this may be caused by a descriptor leak and should be reported.


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


[jira] Assigned: (ODE-521) Open File Handles on cbp files within processes directory

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert reassigned ODE-521:
---------------------------------

    Assignee: Alex Boisvert

> Open File Handles on cbp files within processes directory
> ---------------------------------------------------------
>
>                 Key: ODE-521
>                 URL: https://issues.apache.org/jira/browse/ODE-521
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>            Assignee: Alex Boisvert
>         Attachments: fileLocks.patch
>
>
> ODE ends up maintaining file handles on *.cbp files which prevents the DeploymentService.undeploy from properly cleaning up previous deployments. 
> You'll end up with log messages like:
> ERROR FileUtils.deepDelete : Unable to deepDelete file XXXXX.cbp; this may be caused by a descriptor leak and should be reported.

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


[jira] Resolved: (ODE-521) Properly close file handles on .cbp

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved ODE-521.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Also applied on -trunk,
boisvert@boog:~/svn/ode/trunk$ !518
svn commit -m "ODE-521: Properly close file handles on .cbp"
Sending        engine/src/main/java/org/apache/ode/bpel/engine/ODEProcess.java
Sending        jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
Transmitting file data ..
Committed revision 745554.

Thanks again Colin for the patch and keep 'em coming!

> Properly close file handles on .cbp
> -----------------------------------
>
>                 Key: ODE-521
>                 URL: https://issues.apache.org/jira/browse/ODE-521
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>            Assignee: Alex Boisvert
>             Fix For: 1.3
>
>         Attachments: fileLocks.patch
>
>
> ODE ends up maintaining file handles on *.cbp files which prevents the DeploymentService.undeploy from properly cleaning up previous deployments. 
> You'll end up with log messages like:
> ERROR FileUtils.deepDelete : Unable to deepDelete file XXXXX.cbp; this may be caused by a descriptor leak and should be reported.

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


[jira] Updated: (ODE-521) Properly close file handles on .cbp

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated ODE-521:
------------------------------

    Summary: Properly close file handles on .cbp  (was: Open File Handles on cbp files within processes directory)

> Properly close file handles on .cbp
> -----------------------------------
>
>                 Key: ODE-521
>                 URL: https://issues.apache.org/jira/browse/ODE-521
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>            Assignee: Alex Boisvert
>         Attachments: fileLocks.patch
>
>
> ODE ends up maintaining file handles on *.cbp files which prevents the DeploymentService.undeploy from properly cleaning up previous deployments. 
> You'll end up with log messages like:
> ERROR FileUtils.deepDelete : Unable to deepDelete file XXXXX.cbp; this may be caused by a descriptor leak and should be reported.

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


[jira] Commented: (ODE-521) Properly close file handles on .cbp

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ODE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674663#action_12674663 ] 

Alex Boisvert commented on ODE-521:
-----------------------------------

Fixed on 1.x branch,
boisvert@boog:~/svn/ode/1.1$ svn commit -m "ODE-521: Properly close file handles on .cbp"
Sending        bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelProcess.java
Sending        jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
Transmitting file data ..
Committed revision 745543.


> Properly close file handles on .cbp
> -----------------------------------
>
>                 Key: ODE-521
>                 URL: https://issues.apache.org/jira/browse/ODE-521
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>            Assignee: Alex Boisvert
>         Attachments: fileLocks.patch
>
>
> ODE ends up maintaining file handles on *.cbp files which prevents the DeploymentService.undeploy from properly cleaning up previous deployments. 
> You'll end up with log messages like:
> ERROR FileUtils.deepDelete : Unable to deepDelete file XXXXX.cbp; this may be caused by a descriptor leak and should be reported.

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


[jira] Updated: (ODE-521) Open File Handles on cbp files within processes directory

Posted by "Colin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ODE-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin updated ODE-521:
----------------------

    Attachment: fileLocks.patch

Patch Attached

Streams were not being closed in two places.  This solves my issue.

> Open File Handles on cbp files within processes directory
> ---------------------------------------------------------
>
>                 Key: ODE-521
>                 URL: https://issues.apache.org/jira/browse/ODE-521
>             Project: ODE
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Colin
>         Attachments: fileLocks.patch
>
>
> ODE ends up maintaining file handles on *.cbp files which prevents the DeploymentService.undeploy from properly cleaning up previous deployments. 
> You'll end up with log messages like:
> ERROR FileUtils.deepDelete : Unable to deepDelete file XXXXX.cbp; this may be caused by a descriptor leak and should be reported.

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