uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Closed] (UIMA-5023) UIMA-AS: Spring context file not cleaned up on deployment failure
Date Thu, 01 Sep 2016 18:48:20 GMT

     [ https://issues.apache.org/jira/browse/UIMA-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jerry Cwiklik closed UIMA-5023.
-------------------------------
    Resolution: Fixed

On deploy error remove spring context file unless user wants to keep it

> UIMA-AS: Spring context file not cleaned up on deployment failure
> -----------------------------------------------------------------
>
>                 Key: UIMA-5023
>                 URL: https://issues.apache.org/jira/browse/UIMA-5023
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Assignee: Jerry Cwiklik
>             Fix For: 2.9.0AS
>
>
> UIMA_Service uses Dd2spring.java to process deployment descriptor and to generate Spring
context file used for service deployment. Once the deployment happens (good or failed) the
context file is no longer needed. 
> These files are generated in OS specific temp directory. 
> The bug is that the code only deletes the context file if the deployment succeeds. On
deploy error, the code calls System.exit() and does not remove temp files it generated.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message