Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 83963 invoked from network); 1 Feb 2008 21:31:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 21:31:43 -0000 Received: (qmail 50633 invoked by uid 500); 1 Feb 2008 21:31:32 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 50587 invoked by uid 500); 1 Feb 2008 21:31:32 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 50576 invoked by uid 99); 1 Feb 2008 21:31:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 13:31:32 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 21:31:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9E80E714058 for ; Fri, 1 Feb 2008 13:31:09 -0800 (PST) Message-ID: <12755948.1201901469645.JavaMail.jira@brutus> Date: Fri, 1 Feb 2008 13:31:09 -0800 (PST) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3764) DeployerReaper fails to cleanup the temp directories left behind by deployer In-Reply-To: <12260037.1200742595758.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564945#action_12564945 ] Vamsavardhana Reddy commented on GERONIMO-3764: ----------------------------------------------- Completed: At revision: 617659 in branches\2.0 and trunk (2.1) o Offline deployer leaves temporary files behind since using URLs with "jar" protocol locks the jar file and prevents deletion. This is prevented by creating a temporary file when the protocol is "jar". o This behaviour is controlled using a system property "org.apache.geronimo.deployment.util.DeploymentUtil.jarUrlRewrite" which is false by default, meaning no change from existing behavior for online-deployer. o Offline deployer sets the system property to true. o See http://www.mail-archive.com/dev@geronimo.apache.org/msg55811.html > DeployerReaper fails to cleanup the temp directories left behind by deployer > ---------------------------------------------------------------------------- > > Key: GERONIMO-3764 > URL: https://issues.apache.org/jira/browse/GERONIMO-3764 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.0.1, 2.0.2, 2.0.x, 2.1 > Reporter: Vamsavardhana Reddy > Assignee: Vamsavardhana Reddy > Fix For: 2.0.x, 2.1 > > Attachments: GERONIMO-3764-2.0.patch, GERONIMO-3764-deploymentutil.patch > > > Deployer creates a temporary directory and cleans up the directory once deployment operation is completed. When deletion of a temp dir fails, the deployer leaves it upto DeployerReaper to cleanup the directory later on. DeployerReaper is failing to cleanup these directories as only the dir name (not the complete path) is available to it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.