manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1298) Houskeeping: jetty webapp temp directories don't get removed upon shutdown
Date Fri, 10 Feb 2017 16:11:41 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861465#comment-15861465
] 

Karl Wright commented on CONNECTORS-1298:
-----------------------------------------

This cannot be generally fixed within the multi-process framework because there is no "final"
process that shuts down.

Temp files are left around only if MCF is killed hard, but Jetty temp files might be cleaned
up if we tell Jetty to do so.  The problem is that this also includes the webapp deployment
files, so repeated startups will force a lot of extra work in that case too.

I therefore suggest that we don't fix this one.


> Houskeeping: jetty webapp temp directories don't get removed upon shutdown
> --------------------------------------------------------------------------
>
>                 Key: CONNECTORS-1298
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1298
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>         Environment: Windows
>            Reporter: Konstantin Avdeev
>            Assignee: Furkan KAMACI
>            Priority: Minor
>
> Every MCF restart leaves out webapp temp dirs like this:
> {code}
> C:/Windows/Temp/jetty-0.0.0.0-8345-mcf-crawler-ui.war-_mcf-crawler-ui-any-125313306681249528.dir/webapp/
> C:/Windows/Temp/jetty-0.0.0.0-8345-mcf-authority-service.war-_mcf-authority-service-any-6028962368901452542.dir/webapp/
> C:/Windows/Temp/jetty-0.0.0.0-8345-mcf-api-service.war-_mcf-api-service-any-4370925025384089553.dir/webapp/
> {code}
> (or under {{java.io.tmpdir}}, if set)
> Expected behaviour: delete these dir upon exit.
> Could it help to set jetty's {{persistTempDirectory}} to false for these contextes?
> Thank you!



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message