You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Konstantin Avdeev (JIRA)" <ji...@apache.org> on 2017/02/14 09:18:41 UTC
[jira] [Commented] (CONNECTORS-1298) Housekeeping: jetty webapp
temp directories don't get removed upon shutdown
[ https://issues.apache.org/jira/browse/CONNECTORS-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865428#comment-15865428 ]
Konstantin Avdeev commented on CONNECTORS-1298:
-----------------------------------------------
then, maybe you shut the jetty down not in a proper way ;)
It might help to explicitly set the "temp" directory for all contexts, so the jetty won't create a temp directory with a random id every time it starts.
I'll look into this later
> Housekeeping: 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
> Attachments: mcf-temp-folders.jpg
>
>
> 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)