Return-Path: Delivered-To: apmail-aries-dev-archive@www.apache.org Received: (qmail 15695 invoked from network); 23 Jan 2011 16:35:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jan 2011 16:35:38 -0000 Received: (qmail 45312 invoked by uid 500); 23 Jan 2011 16:35:38 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 45173 invoked by uid 500); 23 Jan 2011 16:35:36 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 45165 invoked by uid 99); 23 Jan 2011 16:35:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jan 2011 16:35:36 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cmoulliard@gmail.com designates 209.85.161.50 as permitted sender) Received: from [209.85.161.50] (HELO mail-fx0-f50.google.com) (209.85.161.50) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Jan 2011 16:35:28 +0000 Received: by fxm14 with SMTP id 14so3438113fxm.23 for ; Sun, 23 Jan 2011 08:35:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=b5LPEUsPTnmUoOpO8eeZHanHp0N8IZpIGW/6a265rhI=; b=P31GBDfVqKyMvC5Gf+dZsSzrxlQxjM6uBJtENDpF3wlD39hThNglS9Eos3iSbNYqQ+ UrTRmOT/ZaYgvH04P2gNYfrTTlBmnaWicukz3uDGf8/D6oPna7rZHgw3j2KutlA0/00n txW37SsHYMqVSMJki44VCvEtq3A0woOyUS44Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KBdfMlyGLOs5P56KrTd+cNnn71Dqs08cnzB9MQT2ZdPAQTgge74LKSEXPvhHLOfDbP K+VifHC5GOSmZ4QfR7rmbWo8yIsSSRfISQ2Ph+5Q53X0nU+AbKwpfdRaET3R0GnqskZ1 QLOxBUQHgMy36uvbykOu3I5udLUDvMG2VLz5E= MIME-Version: 1.0 Received: by 10.223.87.67 with SMTP id v3mr3093630fal.130.1295800507536; Sun, 23 Jan 2011 08:35:07 -0800 (PST) Received: by 10.223.74.66 with HTTP; Sun, 23 Jan 2011 08:35:07 -0800 (PST) In-Reply-To: <4D39E877.4040202@googlemail.com> References: <4D39E877.4040202@googlemail.com> Date: Sun, 23 Jan 2011 17:35:07 +0100 Message-ID: Subject: Re: Bundles required to deploy .eba files From: Charles Moulliard To: dev@aries.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I will create a ticket on JIRA web site and provide the instructions to reproduce that on Karaf On Fri, Jan 21, 2011 at 9:11 PM, Achim Nierbeck w= rote: > Hi, > > actually pax-web should do this, with the ResourceServlet. > Could you provide me an example, I could look into this. > This might be an unexpected side effect of a patch adding a > web-root path to the manifest. > > Achim > >> Hi, >> >> Normally the static content would not be on the classpath. Are you >> trying to load the images, stylesheets etc via the classloader? Or are >> you saying pax-web only loads content from the classpath? >> >> Alasdair >> >> On 21 January 2011 16:22, Charles Moulliard wrote= : >>> There is one small issue is that the directories defined in the root >>> of the bundles like images, style are not present in the classpath >>> even using pax-web 0.8.2-SNAPSHOT !! >>> >>> On Fri, Jan 21, 2011 at 4:32 PM, Jeremy Hughes wro= te: >>>> On 21 January 2011 10:12, Charles Moulliard wro= te: >>>>> FYI, I have been able to deploy successfully the Aries Blog JPA EBA >>>>> archive on Apache Karaf (last snapshot 2.1.0-SNAPSHOT). Many thanks >>>>> for your help. >>>> yw. That's great news! >>>> >>>>> Regards, >>>>> >>>>> Charles >>>>> >>>>> >>>>> On Fri, Jan 14, 2011 at 6:26 PM, Charles Moulliard wrote: >>>>>> This is strange. I have deployed all the bundles mentioned in the >>>>>> pax-exam example that you show me but I continue to have the same >>>>>> error with namespace handler - Transaction >>>>>> >>>>>> 18:07:59,029 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManagerImp= l >>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0121 | 232 - >>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method exit= : >>>>>> getServiceElements, returning >>>>>> org.apache.aries.application.modelling.ModellerException: >>>>>> org.osgi.service.blueprint.container.ComponentDefinitionException: >>>>>> Unsupported node namespace: >>>>>> http://aries.apache.org/xmlns/transactions/v1.0.0 >>>>>> >>>>>> >>>>>> This bundle is well deployed like the JPA, Application, JNDI, .... >>>>>> >>>>>> [ 227] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application OBR Resolver (0.3.0.SNAPSHOT) >>>>>> [ 228] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Installer (0.3.0.SNAPSHOT) >>>>>> [ 229] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> Application API (0.3.0.SNAPSHOT) >>>>>> [ 230] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Management (0.3.0.SNAPSHOT) >>>>>> [ 231] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Utils (0.3.0.SNAPSHOT) >>>>>> [ 232] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Modelling (0.3.0.SNAPSHOT) >>>>>> [ 233] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Default local platform (0.3.0.SNAPSHOT) >>>>>> [ 234] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Platform Repository (0.3.0.SNAPSHOT) >>>>>> [ 235] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application postresolve process (0.3.0.SNAPSHOT) >>>>>> [ 236] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Deployment Management (0.3.0.SNAPSHOT) >>>>>> [ 237] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Application Runtime (0.3.0.SNAPSHOT) >>>>>> >>>>>> [ 272] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> Transaction Blueprint (0.3.0.SNAPSHOT) >>>>>> [ 273] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> Transaction Manager (0.3.0.SNAPSHOT) >>>>>> >>>>>> [ 275] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Aries JPA >>>>>> Container blueprint integration for Aries blueprint (0.3.0.SNAPSHOT) >>>>>> [ 276] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Aries JPA >>>>>> Container (0.3.0.SNAPSHOT) >>>>>> [ 277] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Aries JPA >>>>>> Container Managed Contexts (0.3.0.SNAPSHOT) >>>>>> [ 292] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Aries JPA >>>>>> Container API (0.3.0.SNAPSHOT) >>>>>> [ 293] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> Transaction Enlisting JDBC Datasource (0.3.0.SNAPSHOT) >>>>>> >>>>>> [ 278] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> JNDI API (0.3.0.SNAPSHOT) >>>>>> [ 279] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> JNDI RMI Handler (0.3.0.SNAPSHOT) >>>>>> [ 280] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> JNDI Core (0.3.0.SNAPSHOT) >>>>>> [ 281] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> JNDI URL Handler (0.3.0.SNAPSHOT) >>>>>> [ 282] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 =A0 =A0 ] = [ =A0 60] Apache Aries >>>>>> JNDI Support for Legacy Runtimes (0.3.0.SNAPSHOT) >>>>>> >>>>>> [ 294] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [ =A0 60= ] Apache Aries >>>>>> blog sample transaction enlisting JDBC datasource >>>>>> (0.3.0.incubating-SNAPSHOT) >>>>>> >>>>>> >>>>>> Regards, >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Jan 14, 2011 at 6:05 PM, Charles Moulliard wrote: >>>>>>> Thx. >>>>>>> >>>>>>> I will add the missing bundles in karaf and recheck my log >>>>>>> >>>>>>> >>>>>>> On Fri, Jan 14, 2011 at 5:35 PM, mark wrote: >>>>>>>> If we look at the EBAInstaller.install() code we see, >>>>>>>> >>>>>>>> LOGGER.debug("created app from {} : {} {} with contents {}", new O= bject[] { >>>>>>>> =A0 =A0 =A0 =A0applicationLocation.getName(), appSymName, appVersi= on, >>>>>>>> =A0 =A0 =A0 =A0app.getApplicationMetadata().getApplicationContents= () }); >>>>>>>> >>>>>>>> =A0 =A0AriesApplicationContext context =3D applicationManager.inst= all(app); >>>>>>>> >>>>>>>> =A0 =A0LOGGER.debug("installed app {} {} state: {}", new Object[] = { >>>>>>>> =A0 =A0 =A0 =A0appSymName, appVersion, >>>>>>>> =A0 =A0 =A0 =A0context.getApplicationState() }); >>>>>>>> >>>>>>>> =A0 =A0context.start(); >>>>>>>> >>>>>>>> =A0 =A0LOGGER.debug("started app {} {} state: {}", new Object[] { >>>>>>>> =A0 =A0 =A0 =A0appSymName, appVersion, >>>>>>>> =A0 =A0 =A0 =A0context.getApplicationState() }); >>>>>>>> >>>>>>>> Your trace shows the "created app" message but not the "installed = app" >>>>>>>> message. The ApplicationManager.install() call terminated with, >>>>>>>> >>>>>>>> 16:37:49,688 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManagerI= mpl >>>>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0121 | 232 - >>>>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method ex= it: >>>>>>>> getServiceElements, returning >>>>>>>> org.apache.aries.application.modelling.ModellerException: >>>>>>>> org.osgi.service.blueprint.container.ComponentDefinitionException: >>>>>>>> Unsupported node namespace: >>>>>>>> http://aries.apache.org/xmlns/transactions/v1.0.0 >>>>>>>> >>>>>>>> Since you are trying to install the JpaBlogSampleWithEba, you will >>>>>>>> need to install all the same bundles into your runtime as we do in >>>>>>>> org.apache.aries.samples.blog.itests.JpaBlogSampleWithEbaTest.conf= iguration() >>>>>>>> : >>>>>>>> >>>>>>>> public static Option[] configuration() { >>>>>>>> =A0 =A0 =A0 =A0Option[] options =3D options( >>>>>>>> bootDelegationPackages("javax.transaction", "javax.transaction.*")= , >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0vmOption("-Dorg.osg= i.framework.system.packages=3Djavax.accessibility,javax.activation,javax.ac= tivity,javax.annotation,javax.annotation.processing,javax.crypto,javax.cryp= to.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.ima= geio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.im= ageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,ja= vax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.ma= nagement,javax.management.loading,javax.management.modelmbean,javax.managem= ent.monitor,javax.management.openmbean,javax.management.relation,javax.mana= gement.remote,javax.management.remote.rmi,javax.management.timer,javax.nami= ng,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming= .spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.= attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ss= l,javax.script,javax.security.auth,javax.security.auth.callback,javax.secur= ity.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.s= ecurity.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,= javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,= javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,j= avax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.fi= lechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,ja= vax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.t= ext,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf= ,javax.swing.tree,javax.swing.undo,javax.tools,javax.xml,javax.xml.bind,jav= ax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.at= tachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.= xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.cr= ypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.n= amespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream= .events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,j= avax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,= javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler= .soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.xpath,= org.ietf.jgss,org.omg.CORBA,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPa= ckage,org.omg.CORBA.TypeCodePackage,org.omg.CORBA.portable,org.omg.CORBA_2_= 3,org.omg.CORBA_2_3.portable,org.omg.CosNaming,org.omg.CosNaming.NamingCont= extExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.om= g.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.Dyn= AnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPac= kage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableIntercep= tor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.Curren= tPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.PO= APackage,org.omg.PortableServer.ServantLocatorPackage,org.omg.PortableServe= r.portable,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c= .dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.= dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org= .w3c.dom.views,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers,javax.transa= ction;partial=3Dtrue;mandatory:=3Dpartial,javax.transaction.xa;partial=3Dtr= ue;mandatory:=3Dpartial"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0// Log >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.ops4j.pax.logging", "pax-l= ogging-api"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.ops4j.pax.logging", "pax-l= ogging-service"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0// Felix mvn url handler - do we need this? >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.ops4j.pax.url", "pax-url-m= vn"), >>>>>>>> >>>>>>>> >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0// this is how you set the default log leve= l when using >>>>>>>> pax logging (logProfile) >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0systemProperty("org.ops4j.pax.logging.Defau= ltServiceLog.level").value("DEBUG"), >>>>>>>> >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0// Bundles >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.eclipse.equinox", "cm"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.eclipse.osgi", "services")= , >>>>>>>> >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.ops4j.pax.web", "pax-web-e= xtender-war"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.ops4j.pax.web", "pax-web-j= etty-bundle"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.ops4j.pax.web", "pax-web-j= sp"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.derby", "derby"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.geronimo.specs", "g= eronimo-jpa_2.0_spec"), >>>>>>>> >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.geronimo.specs", "g= eronimo-jta_1.1_spec"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.geronimo.specs", >>>>>>>> "geronimo-j2ee-connector_1.5_spec"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.geronimo.components= ", >>>>>>>> "geronimo-transaction"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.openjpa", "openjpa"= ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("commons-lang", "commons-lang")= , >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("commons-collections", "commons= -collections"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("commons-pool", "commons-pool")= , >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.servicemix.bundles"= , >>>>>>>> "org.apache.servicemix.bundles.serp"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.blueprint", >>>>>>>> "org.apache.aries.blueprint" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.proxy", "org.= apache.aries.proxy"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries", "org.apache= .aries.util" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.jndi", "org.a= pache.aries.jndi" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.felix", >>>>>>>> "org.apache.felix.bundlerepository"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.felix", "org.apache= .felix.fileinstall" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.resolver.obr"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.install" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.api" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.management" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.runtime" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.utils" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.modeller"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.default.local.platform"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.noop.platform.repo"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.noop.postresolve.process"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.application", >>>>>>>> "org.apache.aries.application.deployment.management"), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.jpa", "org.ap= ache.aries.jpa.api" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.jpa", >>>>>>>> "org.apache.aries.jpa.container" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.jpa", >>>>>>>> "org.apache.aries.jpa.blueprint.aries" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.jpa", >>>>>>>> "org.apache.aries.jpa.container.context" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.transaction", >>>>>>>> "org.apache.aries.transaction.manager" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.transaction", >>>>>>>> "org.apache.aries.transaction.blueprint" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.transaction", >>>>>>>> "org.apache.aries.transaction.wrappers" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("org.apache.aries.samples.blog"= , >>>>>>>> "org.apache.aries.samples.blog.datasource" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0mavenBundle("asm", "asm-all" ), >>>>>>>> =A0 =A0 =A0 =A0 =A0 =A0equinox().version("3.5.0") >>>>>>>> =A0 =A0 =A0 =A0); >>>>>>>> =A0 =A0 =A0 =A0options =3D updateOptions(options); >>>>>>>> =A0 =A0 =A0 =A0return options; >>>>>>>> =A0 =A0} >>>>>>>> >>>>>>>> Regards, >>>>>>>> Mark >>>>>>>> >>>>>>>> On 14 January 2011 16:06, Charles Moulliard = wrote: >>>>>>>>> Hi Mark, >>>>>>>>> >>>>>>>>> I have found from the log file an additional info >>>>>>>>> >>>>>>>>> 16:37:49,082 | DEBUG | -SNAPSHOT/deploy | EBAInstaller >>>>>>>>> =A0 =A0| application.install.EBAInstaller =A0 67 | 228 - >>>>>>>>> org.apache.aries.application.install - 0.3.0.SNAPSHOT | created a= pp >>>>>>>>> from org.apache.aries.samples.blog.jpa.eba-0.3-SNAPSHOT.eba : >>>>>>>>> org.apache.aries.samples.blog.jpa.eba 0.3.0.SNAPSHOT with content= s >>>>>>>>> [org.apache.aries.samples.blog.persistence.jpa;{version->0.3.0.SN= APSHOT}, >>>>>>>>> org.apache.aries.samples.blog.biz;{version->0.3.0.SNAPSHOT}, >>>>>>>>> org.apache.aries.samples.blog.api;{version->0.3.0.SNAPSHOT}, >>>>>>>>> org.apache.aries.samples.blog.web;{version->0.3.0.SNAPSHOT}] >>>>>>>>> 16:37:49,087 | DEBUG | -SNAPSHOT/deploy | >>>>>>>>> DeploymentManifestManagerImpl =A0 =A0| pl.DeploymentManifestManag= erImpl >>>>>>>>> 137 | 236 - org.apache.aries.application.deployment.management - >>>>>>>>> 0.3.0.SNAPSHOT | Method entry: generateDeploymentManifest, args >>>>>>>>> [org.apache.aries.application.management.impl.AriesApplicationImp= l@53720a2, >>>>>>>>> []] >>>>>>>>> 16:37:49,087 | DEBUG | -SNAPSHOT/deploy | >>>>>>>>> DeploymentManifestManagerImpl =A0 =A0| pl.DeploymentManifestManag= erImpl >>>>>>>>> 633 | 236 - org.apache.aries.application.deployment.management - >>>>>>>>> 0.3.0.SNAPSHOT | Method entry: getByValueBundles, args >>>>>>>>> [org.apache.aries.application.management.impl.AriesApplicationImp= l@53720a2] >>>>>>>>> 16:37:49,103 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManager= Impl >>>>>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0131 | 232 - >>>>>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method e= ntry: >>>>>>>>> getModelledResource, args [null, >>>>>>>>> /var/folders/+B/+BKA5gXmHdSjYzHY8ESZGk+++TI/-Tmp-/ebaTmp437210482= 5175758605.tmporg.apache.aries.samples.blog.api-0.3-SNAPSHOT.jar/] >>>>>>>>> 16:37:49,103 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManager= Impl >>>>>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0 88 | 232 - >>>>>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method e= ntry: >>>>>>>>> getServiceElements, args >>>>>>>>> /var/folders/+B/+BKA5gXmHdSjYzHY8ESZGk+++TI/-Tmp-/ebaTmp437210482= 5175758605.tmporg.apache.aries.samples.blog.api-0.3-SNAPSHOT.jar/ >>>>>>>>> 16:37:49,104 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManager= Impl >>>>>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0157 | 232 - >>>>>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method e= ntry: >>>>>>>>> findBlueprints, args >>>>>>>>> /var/folders/+B/+BKA5gXmHdSjYzHY8ESZGk+++TI/-Tmp-/ebaTmp437210482= 5175758605.tmporg.apache.aries.samples.blog.api-0.3-SNAPSHOT.jar/ >>>>>>>>> 16:37:49,104 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManager= Impl >>>>>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0178 | 232 - >>>>>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method e= ntry: >>>>>>>>> findBlueprints, args >>>>>>>>> [/var/folders/+B/+BKA5gXmHdSjYzHY8ESZGk+++TI/-Tmp-/ebaTmp43721048= 25175758605.tmporg.apache.aries.samples.blog.api-0.3-SNAPSHOT.jar/] >>>>>>>>> 16:37:49,105 | DEBUG | -SNAPSHOT/deploy | EBAInstaller >>>>>>>>> =A0 =A0| application.install.EBAInstaller =A0 67 | 228 - >>>>>>>>> org.apache.aries.application.install - 0.3.0.SNAPSHOT | created a= pp >>>>>>>>> from org.apache.aries.samples.blog.jpa.eba-0.3-SNAPSHOT.eba : >>>>>>>>> org.apache.aries.samples.blog.jpa.eba 0.3.0.SNAPSHOT with content= s >>>>>>>>> [org.apache.aries.samples.blog.persistence.jpa;{version->0.3.0.SN= APSHOT}, >>>>>>>>> org.apache.aries.samples.blog.biz;{version->0.3.0.SNAPSHOT}, >>>>>>>>> org.apache.aries.samples.blog.api;{version->0.3.0.SNAPSHOT}, >>>>>>>>> org.apache.aries.samples.blog.web;{version->0.3.0.SNAPSHOT}] >>>>>>>>> >>>>>>>>> It seems that Aries Application has created an 'app'. That means = that >>>>>>>>> it has been able to find it from the deploy directory of Apache K= araf. >>>>>>>>> >>>>>>>>> Question : Why the bundles defined in the eba archive are not dep= loyed >>>>>>>>> ? Could it be related to the missing package that you find Aries >>>>>>>>> Blueprint Transaction ? >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> >>>>>>>>> Charles M. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jan 14, 2011 at 5:00 PM, Mark Nuttall wrote: >>>>>>>>>> Hi Charles. >>>>>>>>>> There are many exceptions in your trace - "Exception" is found 6= 9 >>>>>>>>>> times, and I can't say for sure whether any of them are responsi= ble >>>>>>>>>> for the behaviour that you're seeing. However what jumps out at = me is, >>>>>>>>>> >>>>>>>>>> 16:37:49,688 | DEBUG | -SNAPSHOT/deploy | ModelledResourceManage= rImpl >>>>>>>>>> =A0 =A0| impl.ModelledResourceManagerImpl =A0121 | 232 - >>>>>>>>>> org.apache.aries.application.modeller - 0.3.0.SNAPSHOT | Method = exit: >>>>>>>>>> getServiceElements, returning >>>>>>>>>> org.apache.aries.application.modelling.ModellerException: >>>>>>>>>> org.osgi.service.blueprint.container.ComponentDefinitionExceptio= n: >>>>>>>>>> Unsupported node namespace: >>>>>>>>>> http://aries.apache.org/xmlns/transactions/v1.0.0 >>>>>>>>>> >>>>>>>>>> If you are trying use declarative transactions in your applicati= on's >>>>>>>>>> blueprint files, then you will need to add the >>>>>>>>>> org.apache.aries.transaction.blueprint bundle to your runtime. >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Mark >>>>>>>>>> >>>>>>>>>> On 14 January 2011 15:43, Charles Moulliard wrote: >>>>>>>>>>> Here is the log file that I put in attachment and where I have = set >>>>>>>>>>> org.apache.aries.application trace level to DEBUG. Maybe you wi= ll see >>>>>>>>>>> something that I don t see. >>>>>>>>>>> >>>>>>>>>>> Remark : using debug of felix has not reported any error >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Jan 14, 2011 at 3:28 PM, Mark Nuttall wrote: >>>>>>>>>>>> Hi Charles. >>>>>>>>>>>> The PlatformRepository and LocalPlatform services were both in= your >>>>>>>>>>>> list of services that blueprint was waiting for. Since they're >>>>>>>>>>>> started, please can you check to see if any of the other servi= ces >>>>>>>>>>>> called out in your previous list have now been published? I'm = puzzled >>>>>>>>>>>> that your logs did not show some of your various service depen= dencies, >>>>>>>>>>>> such as PlatformRepository and LocalPlatform, being met when t= hose >>>>>>>>>>>> services came up. Which if any of the required services are no= t being >>>>>>>>>>>> published? >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Mark >>>>>>>>>>>> >>>>>>>>>>>> On 14 January 2011 14:11, Charles Moulliard wrote: >>>>>>>>>>>>> Hi Mark, >>>>>>>>>>>>> >>>>>>>>>>>>> All the Blueprint services have their status "started". >>>>>>>>>>>>> >>>>>>>>>>>>> According to your first remark, it seems that the service is = well >>>>>>>>>>>>> published and exported by OSGI Service >>>>>>>>>>>>> >>>>>>>>>>>>> Apache Aries Application Platform Repository (234) provides: >>>>>>>>>>>>> ------------------------------------------------------------ >>>>>>>>>>>>> org.apache.aries.application.management.spi.repository.Platfo= rmRepository >>>>>>>>>>>>> org.osgi.service.blueprint.container.BlueprintContainer >>>>>>>>>>>>> >>>>>>>>>>>>> And for the second the service is also well exposed >>>>>>>>>>>>> >>>>>>>>>>>>> Apache Aries Application Default local platform (233) provide= s: >>>>>>>>>>>>> -------------------------------------------------------------= -- >>>>>>>>>>>>> org.apache.aries.application.management.spi.runtime.LocalPlat= form >>>>>>>>>>>>> org.osgi.service.blueprint.container.BlueprintContainer >>>>>>>>>>>>> >>>>>>>>>>>>> [ 233] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [= =A0 60] Apache Aries >>>>>>>>>>>>> Application Default local platform (0.3.0.SNAPSHOT) >>>>>>>>>>>>> [ 234] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ] [= =A0 60] Apache Aries >>>>>>>>>>>>> Application Platform Repository (0.3.0.SNAPSHOT) >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> >>>>>>>>>>>>> Charles >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> On Fri, Jan 14, 2011 at 1:29 PM, Mark Nuttall wrote: >>>>>>>>>>>>>> Hello Charles. >>>>>>>>>>>>>> First of all, please have a look at the bundles in your runt= ime to see >>>>>>>>>>>>>> if any have failed to resolve. A missing package can easily = set off a >>>>>>>>>>>>>> chain of blueprint service dependency failures. >>>>>>>>>>>>>> >>>>>>>>>>>>>> If all your bundles have resolved then we need to start unpi= cking the >>>>>>>>>>>>>> service dependency failures. I'd start with, >>>>>>>>>>>>>> >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.resolver.obr is waiting for de= pendencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.management.spi= .repository.PlatformRepository)] >>>>>>>>>>>>>> This service should have been published by >>>>>>>>>>>>>> org.apache.aries.application.noop.platform.repo. The bundle = is very >>>>>>>>>>>>>> simple, with only two package imports: org.osgi.core and >>>>>>>>>>>>>> org.apache.aries.application.api. Please have a look at that= bundle in >>>>>>>>>>>>>> the runtime and let us know why the expected service is not = being >>>>>>>>>>>>>> published. >>>>>>>>>>>>>> >>>>>>>>>>>>>> The next bundle to check is >>>>>>>>>>>>>> org.apache.aries.application.default.local.platform, which s= hould be >>>>>>>>>>>>>> publishing a service with interface >>>>>>>>>>>>>> org.apache.aries.application.management.spi.runtime.LocalPla= tform. >>>>>>>>>>>>>> Again this is a very simple bundle with the same package imp= orts as >>>>>>>>>>>>>> the previous one. The output below indicates that neither bu= ndle has >>>>>>>>>>>>>> resolved and published its expected service. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>> Mark >>>>>>>>>>>>>> >>>>>>>>>>>>>> On 14 January 2011 11:42, Charles Moulliard wrote: >>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I have installed the following bundles to be able to deploy= an eab >>>>>>>>>>>>>>> archive on Karaf but nothing happens >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> [ 227] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.resolver.obr/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 228] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.install/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 229] [Active =A0 =A0 ] [ =A0 =A0 =A0 =A0 =A0 =A0] [ =A0 = =A0 =A0 ] [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.api/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 230] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.management/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 231] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.utils/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 232] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.modeller/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 233] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.default.local.platform/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 234] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.noop.platform.repo/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 235] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.noop.postresolve.process/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 236] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.deployment.management/0.3-SNAPSHOT >>>>>>>>>>>>>>> [ 237] [Active =A0 =A0 ] [Created =A0 =A0 ] [ =A0 =A0 =A0 ]= [ =A0 60] >>>>>>>>>>>>>>> mvn:org.apache.aries.application/org.apache.aries.applicati= on.runtime/0.3-SNAPSHOT >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> In the log file, I see that some dependencies are waiting b= ut that is all : >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 12:37:56,149 | INFO =A0| rint Extender: 3 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.resolver.obr is waiting for de= pendencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.modelling.Mode= llingManager), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= repository.PlatformRepository), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.modelling.utils= .ModellingHelper)] >>>>>>>>>>>>>>> 12:37:56,151 | INFO =A0| rint Extender: 1 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.install is waiting for depende= ncies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.management.Ari= esApplicationManager)] >>>>>>>>>>>>>>> 12:37:56,205 | INFO =A0| rint Extender: 3 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.management is waiting for depe= ndencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.DeploymentMeta= dataFactory), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.ApplicationMeta= dataFactory), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= resolve.DeploymentManifestManager), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= runtime.AriesApplicationContextManager), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= runtime.LocalPlatform)] >>>>>>>>>>>>>>> 12:37:56,306 | INFO =A0| rint Extender: 2 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.management is waiting for depe= ndencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.management.spi= .resolve.DeploymentManifestManager), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= runtime.AriesApplicationContextManager), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= runtime.LocalPlatform)] >>>>>>>>>>>>>>> 12:37:56,343 | INFO =A0| rint Extender: 1 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.resolver.obr is waiting for de= pendencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.management.spi= .repository.PlatformRepository)] >>>>>>>>>>>>>>> 12:37:56,397 | INFO =A0| rint Extender: 2 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.deployment.management is waiti= ng for >>>>>>>>>>>>>>> dependencies [(objectClass=3Dorg.apache.aries.application.m= anagement.spi.resolve.PostResolveTransformer), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= runtime.LocalPlatform), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= resolve.AriesApplicationResolver)] >>>>>>>>>>>>>>> 12:37:56,486 | INFO =A0| rint Extender: 3 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.management is waiting for depe= ndencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.management.spi= .resolve.DeploymentManifestManager), >>>>>>>>>>>>>>> (objectClass=3Dorg.apache.aries.application.management.spi.= runtime.LocalPlatform)] >>>>>>>>>>>>>>> 12:37:56,495 | INFO =A0| rint Extender: 1 | BlueprintContai= nerImpl >>>>>>>>>>>>>>> =A0 =A0| container.BlueprintContainerImpl =A0305 | 8 - >>>>>>>>>>>>>>> org.apache.aries.blueprint - 0.3.0.SNAPSHOT | Bundle >>>>>>>>>>>>>>> org.apache.aries.application.management is waiting for depe= ndencies >>>>>>>>>>>>>>> [(objectClass=3Dorg.apache.aries.application.management.spi= .resolve.DeploymentManifestManager)] >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Charles Moulliard >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Sr. Principal Solution Architect - FuseSource >>>>>>>>>>>>>>> Apache Committer >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Blog : http://cmoulliard.blogspot.com >>>>>>>>>>>>>>> Twitter : http://twitter.com/cmoulliard >>>>>>>>>>>>>>> Linkedin : http://www.linkedin.com/in/charlesmoulliard >>>>>>>>>>>>>>> Skype: cmoulliard >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Tue, Jan 11, 2011 at 9:24 PM, Charles Moulliard wrote: >>>>>>>>>>>>>>>> How Aries Application Install knows that the folder to be = scanned is "load" ? >>>>>>>>>>>>>>>> How can we override this location > >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Tue, Jan 11, 2011 at 7:50 PM, Charles Moulliard wrote: >>>>>>>>>>>>>>>>> Many thanks for the complement of info. This help me to s= ee all the >>>>>>>>>>>>>>>>> possibilities offered by Aries Application as I'min the p= rocess to >>>>>>>>>>>>>>>>> prepare a new Webinar where I will present much more Arie= s >>>>>>>>>>>>>>>>> functionalities available with Apache ServiceMix/Karaf >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Tue, Jan 11, 2011 at 1:07 PM, Jeremy Hughes wrote: >>>>>>>>>>>>>>>>>> On 3 January 2011 10:51, Charles Moulliard wrote: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Hi Mark, >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Happy New-Year 2011 and many thanks for the information= . I have >>>>>>>>>>>>>>>>>>> started to create a feature file to deploy those bundle= s on Apache >>>>>>>>>>>>>>>>>>> Karaf OSGI container. What do you plan to do to align A= ries >>>>>>>>>>>>>>>>>>> Application with OSGI Service as you use a deprecated A= PI ony >>>>>>>>>>>>>>>>>>> supported by Equinox and not Felix ? >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Remark : Could you upgrade Aries Application to support= Apache Felix >>>>>>>>>>>>>>>>>>> FileInstall range of version from 2.x to 3.x as we use = 3.1.0 on Apache >>>>>>>>>>>>>>>>>>> Karaf ? >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> You could look at: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>> "org.apache.aries.application.install" ), >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> it has a single class: EBAInstaller which extends the fi= leinstall >>>>>>>>>>>>>>>>>> ArtifactInstaller. It's used in the Blog sample - you go= to a built >>>>>>>>>>>>>>>>>> samples/blog/blog-assembly/target which includes the fil= einstall bundle and >>>>>>>>>>>>>>>>>> start Aries in a framework. The load dir is created and = you drop and EBA >>>>>>>>>>>>>>>>>> into it. Fileinstall delegates to the EBAInstaller to in= stall the bundles >>>>>>>>>>>>>>>>>> from the EBA. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> HTH, >>>>>>>>>>>>>>>>>> Jeremy >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Charles Moulliard >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Sr. Principal Solution Architect - FuseSource >>>>>>>>>>>>>>>>>>> Apache Committer >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Blog : http://cmoulliard.blogspot.com >>>>>>>>>>>>>>>>>>> Twitter : http://twitter.com/cmoulliard >>>>>>>>>>>>>>>>>>> Linkedin : http://www.linkedin.com/in/charlesmoulliard >>>>>>>>>>>>>>>>>>> Skype: cmoulliard >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Wed, Dec 29, 2010 at 11:00 AM, Mark Nuttall >>>>>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>> Hi Charles, >>>>>>>>>>>>>>>>>>>>> 1) Can someone tell me what are the bundles required = to deploy eba >>>>>>>>>>>>>>>>>>>>> files on Apache Karaf/Felix ? groupId/artificactId >>>>>>>>>>>>>>>>>>>> For some working examples, please see >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> =A0application/application-itests/src/test/java/Isolat= edRuntimeTest.java, >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> and the three BlogSampleWithEba itests, such as >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> =A0samples/blog/blog-itests/JpaBlogSampleWithEbaTest.j= ava >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Firstly there is a set of common prereqs, where the ar= guments to >>>>>>>>>>>>>>>>>>>> mavenBundle are (group, artifact): >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.blueprint", "org.apac= he.aries.blueprint" >>>>>>>>>>>>>>>>>>> ), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.proxy", "org.apache.a= ries.proxy"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries", "org.apache.aries.u= til" ), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.felix", "org.apache.felix.b= undlerepository"), >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> There there's a set of common bundles in the org.apach= e.aries.application >>>>>>>>>>>>>>>>>>> group: >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.resolver.obr"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.install" ), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.api" ), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.management" ), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.utils" ), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.modeller"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.default.local.platform")= , >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.noop.platform.repo"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.noop.postresolve.process= "), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.deployment.management"), >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Finally we have two different runtimes. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.runtime" ), >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> is very simple: it just installs every bundle into a s= ingle framework. >>>>>>>>>>>>>>>>>>>> It provides no isolation between different .ebas, and = was really only >>>>>>>>>>>>>>>>>>>> written so as to demonstrate that >>>>>>>>>>>>>>>>>>>> org.apache.aries.application.management was functional= . I don't >>>>>>>>>>>>>>>>>>>> believe anyone's put this runtime to serious use yet. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Alternatively, the next group of bundles provide a far= more rugged and >>>>>>>>>>>>>>>>>>>> functional runtime environment, in which the bundles l= isted in each >>>>>>>>>>>>>>>>>>>> application's Application-Content header are isolated = from each other >>>>>>>>>>>>>>>>>>>> by being installed into their own framework. The only = drawback here is >>>>>>>>>>>>>>>>>>>> that org.apache.aries.application.runtime.framework ha= s to use >>>>>>>>>>>>>>>>>>>> deprecated APIs based on early drafts of OSGi RFC138 >>>>>>>>>>>>>>>>>>>> (org.osgi.service.framework.CompositeBundle, >>>>>>>>>>>>>>>>>>>> org.osgi.service.framework.CompositeBundleFactory) in = order to create >>>>>>>>>>>>>>>>>>>> and manage these framework instances. My understanding= is that Equinox >>>>>>>>>>>>>>>>>>>> implements these APIs, but that the Felix does not. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.runtime.isolated"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.runtime.framework"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.runtime.framework.manage= ment"), >>>>>>>>>>>>>>>>>>>> =A0mavenBundle("org.apache.aries.application", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.application.runtime.repository"), >>>>>>>>>>>>>>>>>>>> =A0equinox().version("3.5.0")); >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> 2) Can we deploy an eba file using the same command a= s we use to >>>>>>>>>>>>>>>>>>>>> deploy a bundle mvn:groupId/artifactId/version/eba ? >>>>>>>>>>>>>>>>>>>> I suspect that extra work might be required in order t= o achieve that. >>>>>>>>>>>>>>>>>>>> As you'll see from the itests, the mechanism today is = of the form, >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0URL urlToEba =3D getUrlToEba("org.apach= e.aries.samples.blog", >>>>>>>>>>>>>>>>>>>> "org.apache.aries.samples.blog.jpa.eba"); >>>>>>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0AriesApplicationManager manager =3D >>>>>>>>>>>>>>>>>>>> getOsgiService(AriesApplicationManager.class); >>>>>>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0AriesApplication app =3D manager.create= Application(urlToEba); >>>>>>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0AriesApplicationContext ctx =3D manager= .install(app); >>>>>>>>>>>>>>>>>>>> =A0 =A0 =A0 =A0ctx.start(); >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Do let us know how you get on! >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>>>>>> Mark >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On 27 December 2010 09:03, Charles Moulliard >>>>>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> 1) Can someone tell me what are the bundles required = to deploy eba >>>>>>>>>>>>>>>>>>>>> files on Apache Karaf/Felix ? >>>>>>>>>>>>>>>>>>>>> groupId/artificactId >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> 2) Can we deploy an eba file using the same command a= s we use to >>>>>>>>>>>>>>>>>>>>> deploy a bundle mvn:groupId/artifactId/version/eba ? >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Charles Moulliard >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Sr. Principal Solution Architect - FuseSource >>>>>>>>>>>>>>>>>>>>> Apache Committer >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Blog : http://cmoulliard.blogspot.com >>>>>>>>>>>>>>>>>>>>> Twitter : http://twitter.com/cmoulliard >>>>>>>>>>>>>>>>>>>>> Linkedin : http://www.linkedin.com/in/charlesmoulliar= d >>>>>>>>>>>>>>>>>>>>> Skype: cmoulliard >>>>>>>>>>>>>>>>>>>>> >> >> > > >