Return-Path: X-Original-To: apmail-ace-users-archive@minotaur.apache.org Delivered-To: apmail-ace-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B6F617FED for ; Mon, 3 Nov 2014 15:51:17 +0000 (UTC) Received: (qmail 55381 invoked by uid 500); 3 Nov 2014 15:51:17 -0000 Delivered-To: apmail-ace-users-archive@ace.apache.org Received: (qmail 55360 invoked by uid 500); 3 Nov 2014 15:51:17 -0000 Mailing-List: contact users-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@ace.apache.org Delivered-To: mailing list users@ace.apache.org Received: (qmail 55344 invoked by uid 99); 3 Nov 2014 15:51:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2014 15:51:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.46] (HELO mail-qa0-f46.google.com) (209.85.216.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2014 15:50:49 +0000 Received: by mail-qa0-f46.google.com with SMTP id n8so4873622qaq.19 for ; Mon, 03 Nov 2014 07:49:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=yUwKAN63aZM6HI/mTGlW2N//wCIkvJ+YyGPzQhP7yb8=; b=RZ3ELSKeV+Viv2ZR2tQd9bdq0XND+oKvvmcGqEMwLGAcznxvHEz86mPaGDBG39oofX zgPSLyPNF18X1pFzhDo9vxywz+FiMFcBWiNg5Wvy8HmNaiYraiwqQtWxKXMK/rXYGAiJ ZW4Ymsp1prHBrg4NtYvbh7GDjvYXk+pMum+j6yjLaCY6R/yhsaCaa88cWNinu2aV3Zsx BCiuSIJhBjsG+tviqfOS3ggH2ypBmZUpDW6+/vb4l39DIqOBHC3mJXd4G99phoDAUsS0 iemJp3oZQ20d1rIee3vovsDRCJGndGWKXviHkZgzJaV9PYQCJIB7xN7vACiFwElHAVE9 FfQw== X-Gm-Message-State: ALoCoQndwffPSmCiB30QwfWF5ed91HBNiDeyz0RU2wpHWX/d/wG2RRW+61zoZB2dfsPMSM0Rwgzn MIME-Version: 1.0 X-Received: by 10.224.120.135 with SMTP id d7mr67025733qar.10.1415029755486; Mon, 03 Nov 2014 07:49:15 -0800 (PST) Received: by 10.140.40.243 with HTTP; Mon, 3 Nov 2014 07:49:15 -0800 (PST) Date: Mon, 3 Nov 2014 16:49:15 +0100 Message-ID: Subject: Exception when updating configuration From: Bram Pouwelse To: users@ace.apache.org Content-Type: multipart/alternative; boundary=001a11c302eeec3d780506f649c0 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c302eeec3d780506f649c0 Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm trying to figure out how to deploy configurations using Ace, a few old mailing list threads got me started. Yesterday I've tried to use the variable substitution using tags with the 2.0.1 release this didn't seem to work. But this seems to be fixed when using the latest version from svn. But when I update a tag value I get an exception on the target [1], after the failed deployment the target configuration is not updated. Is this a bug or am I missing something? Thanks, Bram 1: [INFO] 16:27:02 (controller) Installing streaming deployment update 4.0.0 => 5.0.0 [DEBUG] 16:27:02 (discovery) Returning cached serverURL: http://localhost:8181 [WARNING] 16:27:02 (deployment) Failed to restore snapshot! java.io.FileNotFoundException: /Users/brampouwelse/Development/git-repos/org.apache.ace/run-target/bundle-cache/bundle24/data (Is a directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(FileOutputStream.java:213) at java.io.FileOutputStream.(FileOutputStream.java:162) at org.apache.felix.deploymentadmin.spi.SnapshotCommand$RestoreSnapshotRunnable.unpack(SnapshotCommand.java:187) at org.apache.felix.deploymentadmin.spi.SnapshotCommand$RestoreSnapshotRunnable.doRun(SnapshotCommand.java:154) at org.apache.felix.deploymentadmin.spi.AbstractAction.run(AbstractAction.java:34) at org.apache.felix.deploymentadmin.spi.Command.rollback(Command.java:90) at org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.rollback(DeploymentSessionImpl.java:97) at org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.call(DeploymentSessionImpl.java:83) at org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:214) at org.apache.ace.agent.impl.DeploymentHandlerImpl.install(DeploymentHandlerImpl.java:237) at org.apache.ace.agent.impl.DefaultController$StreamingUpdateInstaller.doInstallUpdate(DefaultController.java:162) at org.apache.ace.agent.impl.DefaultController$UpdateInstaller.installUpdate(DefaultController.java:253) at org.apache.ace.agent.impl.DefaultController.runDeploymentUpdate(DefaultController.java:610) at org.apache.ace.agent.impl.DefaultController.run(DefaultController.java:460) at org.apache.ace.agent.impl.AgentContextImpl$1.run(AgentContextImpl.java:252) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [ERROR] 16:27:02 (controller) Installation of deployment update failed: Command failed! (463)! java.lang.IllegalArgumentException: Trying to begin new deployment session while already in one. at org.apache.felix.deployment.rp.autoconf.AutoConfResourceProcessor.begin(AutoConfResourceProcessor.java:97) at org.apache.felix.deploymentadmin.spi.ProcessResourceCommand.doExecute(ProcessResourceCommand.java:98) at org.apache.felix.deploymentadmin.spi.Command.execute(Command.java:55) at org.apache.felix.deploymentadmin.spi.DeploymentSessionImpl.call(DeploymentSessionImpl.java:77) at org.apache.felix.deploymentadmin.DeploymentAdminImpl.installDeploymentPackage(DeploymentAdminImpl.java:214) at org.apache.ace.agent.impl.DeploymentHandlerImpl.install(DeploymentHandlerImpl.java:237) at org.apache.ace.agent.impl.DefaultController$StreamingUpdateInstaller.doInstallUpdate(DefaultController.java:162) at org.apache.ace.agent.impl.DefaultController$UpdateInstaller.installUpdate(DefaultController.java:253) at org.apache.ace.agent.impl.DefaultController.runDeploymentUpdate(DefaultController.java:610) at org.apache.ace.agent.impl.DefaultController.run(DefaultController.java:460) at org.apache.ace.agent.impl.AgentContextImpl$1.run(AgentContextImpl.java:252) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) [DEBUG] 16:27:02 (controller) Sync completed... --001a11c302eeec3d780506f649c0--