I have put the EBA archive file in the deploy folder of Karaf.

BTW : I have tried to redeploy it using the last snapshot of Karaf but
now Karaf wrap it when I put the xxx.eba file in our deploy directory
and Aries Application can not load the eba archive !!!!

To rerproduce that, you can do that

1) Install the following feature repo file (see attachment)
2) install features --> war,obr and eba
3) Copy:paste the file
org.apache.aries.samples.blog.jpa.eba-0.3-SNAPSHOT.eba in the deploy
folder

and see that we wrap it instead

wrap_file__home_cmoulliard_apache_karaf_assembly_target_apache-karaf-2.1.99-SNAPSHOT_deploy_org.apache.aries.samples.blog.jpa.eba-0.3-SNAPSHOT.eba
(0)

of using Aries Application

So I cannot provide you the stack trace of what Aries Application is doing.

Regards,

Charles

On Sun, Jan 16, 2011 at 7:49 PM, Guillaume Nodet <gno...@gmail.com> wrote:
> How do you deploy it ? And what does the log say?
>
> On Sun, Jan 16, 2011 at 14:47, Charles Moulliard <cmoulli...@gmail.com>wrote:
>
>> This is clear to understand. If you try to deploy an EBA archive
>> containing several bundles - jar files and if some of the bundles does
>> not have their dependencies resolved, then no error is displayed on
>> the log of Karaf/Servicemix.
>>
>> If by example, you try to deploy the following EBA file -
>>
>> http://www.apache.org/dyn/closer.cgi/incubator/aries/org.apache.aries.samples.blog.jpa.eba-0.3-SNAPSHOT
>> where there is a dependency with openjpa-2.0, .... then you will see
>> that no error is reported by Aries Application or Felix on the
>> platform.
>>
>> 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 Sat, Jan 15, 2011 at 5:24 PM, Guillaume Nodet <gno...@gmail.com> wrote:
>> > Not sure to understnd what you mean...
>> >
>> > On Saturday, January 15, 2011, Charles Moulliard <cmoulli...@gmail.com>
>> wrote:
>> >> Hi,
>> >>
>> >> I would like to know why we don t see any error message on OSGI server
>> >> when dependencies of the bundles EAB archive are not resolved as this
>> >> is the case when you deploy a bundle using command osgi:install ? It
>> >> should be great that we have this error logged as it will allow to
>> >> detect immediately which missing bundles jars we have.
>> >>
>> >> 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
>> >>
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Blog: http://gnodet.blogspot.com/
>> > ------------------------
>> > Open Source SOA
>> > http://fusesource.com
>> >
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>
<features name="project" xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>
<feature name="eba" version="1.0.0">
 <bundle>mvn:org.apache.derby/derby/10.5.3.0_1</bundle>
 <bundle>mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1</bundle>
 <bundle>mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
 <bundle>mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec</bundle>
 <bundle>mvn:org.apache.geronimo.components/geronimo-transaction</bundle>
 <bundle>mvn:org.apache.openjpa/openjpa/2.0.1</bundle>
 <bundle>mvn:commons-lang/commons-lang/2.4</bundle>
 <bundle>mvn:commons-collections/commons-collections</bundle>
 <bundle>mvn:commons-pool/commons-pool</bundle>
 <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.serp</bundle>
 <bundle>mvn:org.apache.aries.blueprint/org.apache.aries.blueprint/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.proxy/org.apache.aries.proxy/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries/org.apache.aries.util/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.jndi/org.apache.aries.jndi/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.resolver.obr/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.install/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.api/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.management/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.runtime/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.utils/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.modeller/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.default.local.platform/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.noop.platform.repo/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.noop.postresolve.process/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.application/org.apache.aries.application.deployment.management/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.jpa/org.apache.aries.jpa.api/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.jpa/org.apache.aries.jpa.container/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.jpa/org.apache.aries.jpa.blueprint.aries/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.jpa/org.apache.aries.jpa.container.context/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.blueprint/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.transaction/org.apache.aries.transaction.wrappers/0.3-SNAPSHOT</bundle>
 <bundle>mvn:org.apache.aries.samples.blog/org.apache.aries.samples.blog.datasource/0.3-SNAPSHOT</bundle>
 <bundle>mvn:asm/asm-all</bundle>
</feature>
</features>

Reply via email to