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 EE7E0D12C for ; Wed, 10 Oct 2012 12:07:43 +0000 (UTC) Received: (qmail 50815 invoked by uid 500); 10 Oct 2012 12:07:43 -0000 Delivered-To: apmail-ace-users-archive@ace.apache.org Received: (qmail 50783 invoked by uid 500); 10 Oct 2012 12:07:43 -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 50774 invoked by uid 99); 10 Oct 2012 12:07:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 12:07:43 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of marcel.offermans@luminis.nl does not designate 194.109.24.22 as permitted sender) Received: from [194.109.24.22] (HELO smtp-vbr2.xs4all.nl) (194.109.24.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 12:07:37 +0000 Received: from macpro.fritz.box (planetmarrs.xs4all.nl [82.95.193.148]) (authenticated bits=0) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id q9AC7FwW078815 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 10 Oct 2012 14:07:16 +0200 (CEST) (envelope-from marcel.offermans@luminis.nl) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\)) Subject: Re: How to start a target if the ACE server is down From: Marcel Offermans In-Reply-To: Date: Wed, 10 Oct 2012 14:07:15 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <0F8349A2-CB3C-4CC0-A1C3-6FFFF3625092@luminis.nl> References: <34DA4D78-A4C4-4CB0-8424-85CFC28E3A8B@luminis.eu> To: X-Mailer: Apple Mail (2.1486) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked by ClamAV on apache.org For the record, the default behaviour of an OSGi framework should be to = persist its state, so Equinox *should* do that by default as well. I = know a lot of developers "clean the bundle cache" on every restart to = recover from installations with bundles that contain all kinds of bugs = from which it is hard to recover. The risk of constantly doing this is = obvious: you do less testing of update scenarios. Greetings, Marcel On Oct 10, 2012, at 13:55 , =C3=81lvaro Fern=C3=A1ndez Gonz=C3=A1lez = wrote: > Oh, >=20 > Then I'll try that option first :) >=20 > =EF=BB=BFRegards, >=20 > *=C3=81lvaro Fern=C3=A1ndez* > *Consultor* >=20 > Avda de la Argentina 132 > Edificio Cristasa, oficina 201 > 33312 Gij=C3=B3n *www.nortia-in.es* > Este correo y sus archivos asociados son privados y confidenciales y = van > dirigidos exclusivamente a su destinatario. Si recibe este correo sin = ser > el destinatario del mismo, le rogamos proceda a su eliminaci=C3=B3n y = lo ponga > en conocimiento del emisor. La difusi=C3=B3n por cualquier medio del = contenido > de este correo podr=C3=ADa ser sancionada conforme a lo previsto en = las leyes > espa=C3=B1olas. No se autoriza la utilizaci=C3=B3n con fines = comerciales o para su > incorporaci=C3=B3n a ficheros automatizados de las direcciones del = emisor o del > destinatario. >=20 >=20 > 2012/10/10 Paul Bakker >=20 >> For Equinox I believe there is a property -osgi.clean=3Dfalse that = should >> give you a bundle cache that survives framework restarts. That should = give >> you the same result. >>=20 >> Paul >>=20 >> On Oct 10, 2012, at 13:50 , =C3=81lvaro Fern=C3=A1ndez Gonz=C3=A1lez >> >> wrote: >>=20 >> Hello Paul, >>=20 >> No, we're not currently using the ace-launcher. We're running the >> managementagent.jar using an Equinox OSGI. >>=20 >> Thank you very much for your reply, I'll try to use the ace-launcher = and >> see if my problem is fixed. >>=20 >> Regards, >>=20 >> *=C3=81lvaro Fern=C3=A1ndez* >> *Consultor* >>=20 >> Avda de la Argentina 132 >> Edificio Cristasa, oficina 201 >> 33312 Gij=C3=B3n *www.nortia-in.es* >> Este correo y sus archivos asociados son privados y confidenciales y = van >> dirigidos exclusivamente a su destinatario. Si recibe este correo sin = ser >> el destinatario del mismo, le rogamos proceda a su eliminaci=C3=B3n y = lo ponga >> en conocimiento del emisor. La difusi=C3=B3n por cualquier medio del = contenido >> de este correo podr=C3=ADa ser sancionada conforme a lo previsto en = las leyes >> espa=C3=B1olas. No se autoriza la utilizaci=C3=B3n con fines = comerciales o para su >> incorporaci=C3=B3n a ficheros automatizados de las direcciones del = emisor o del >> destinatario. >>=20 >>=20 >> 2012/10/10 Paul Bakker >>=20 >> Hi Alvaro, >>=20 >> Are you using the ace-launcher on the target? In that case this = should be >> the default behaviour. >> A plain Felix instance is started which has a bundle cache on disk = like >> normal. You can just restart Felix with the same bundle cache and it = should >> work :-) >>=20 >> Paul >>=20 >> On Oct 10, 2012, at 13:39 , =C3=81lvaro Fern=C3=A1ndez Gonz=C3=A1lez >> >> wrote: >>=20 >> Hello, >>=20 >> We've choosen Apache ACE for provisioning on a project we're = currently >> devoloping. >>=20 >> We have the following: >>=20 >> - an ACE 0.81 server on a machine with all the necessary bundles for = a >> target to start (I mean ALL of them) >> - a target container in another machine with only the >> managementagent.jar. When the target starts, all its bundles get >>=20 >> downloaded >>=20 >> from the ACE server. >>=20 >> When the server is up the target starts correctly, but the problem is >>=20 >> that >>=20 >> no 'hard copy' of the bundles is made so if we try to start the = target >> container while the ACE server is down (or simple unplugging the = network >> cable), only the management agent starts. We need the target to start >>=20 >> whith >>=20 >> the *last known bundles* when the server is down/there is no = connection. >>=20 >> Is there a way to do this only with configuration or do I need to = code >> something? >> Regards, >>=20 >> *=C3=81lvaro Fern=C3=A1ndez* >> *Consultor* >>=20 >> Avda de la Argentina 132 >> Edificio Cristasa, oficina 201 >> 33312 Gij=C3=B3n *www.nortia-in.es* >> Este correo y sus archivos asociados son privados y confidenciales y = van >> dirigidos exclusivamente a su destinatario. Si recibe este correo sin = ser >> el destinatario del mismo, le rogamos proceda a su eliminaci=C3=B3n y = lo ponga >> en conocimiento del emisor. La difusi=C3=B3n por cualquier medio del = contenido >> de este correo podr=C3=ADa ser sancionada conforme a lo previsto en = las leyes >> espa=C3=B1olas. No se autoriza la utilizaci=C3=B3n con fines = comerciales o para su >> incorporaci=C3=B3n a ficheros automatizados de las direcciones del = emisor o >>=20 >> del >>=20 >> destinatario. >>=20 >>=20 >>=20 >>=20 >>=20