Hi Alasdair, Thanks for the reply. I created a folder called load under the target folder of assembly and followed your other instructions. Still when I drop the .eba file in the load folder nothing happens! Any ideas? What are the minimum bundles I must have? Any help will be appreciated!
The following are my bundle list in the assembly/target folder: 0 ACTIVE org.eclipse.osgi_3.5.0.v20090520 1 ACTIVE org.eclipse.equinox.cm_3.2.0.v20070116 2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605 3 ACTIVE org.objectweb.asm.all_3.2.0 4 ACTIVE org.ops4j.pax.logging.pax-logging-api_1.4.0 5 ACTIVE org.ops4j.pax.logging.pax-logging-service_1.4.0 6 ACTIVE derby_10.5.3000000.802917 7 ACTIVE org.ops4j.pax.web.pax-web-jetty-bundle_0.8.1 8 ACTIVE org.ops4j.pax.web.pax-web-extender-war_0.8.1 9 ACTIVE org.ops4j.pax.web.pax-web-jsp_0.8.1 10 ACTIVE org.apache.aries.jndi_0.3.0 11 ACTIVE org.apache.aries.util_0.3.0 12 ACTIVE org.apache.aries.blueprint_0.3.0 13 ACTIVE org.apache.aries.proxy_0.3.0 14 ACTIVE org.apache.aries.application.install_0.3.0 15 ACTIVE org.apache.aries.application.management_0.3.0 16 ACTIVE org.apache.aries.application.api_0.3.0 17 ACTIVE org.apache.aries.application.utils_0.3.0 18 ACTIVE org.apache.aries.application.deployment.management_0.3.0 19 ACTIVE org.apache.aries.application.modeller_0.3.0 20 ACTIVE org.apache.aries.application.resolver.obr_0.3.0 21 ACTIVE org.apache.aries.application.noop.platform.repo_0.3.0 22 ACTIVE org.apache.aries.application.noop.postresolve.process_0.3.0 23 ACTIVE org.apache.aries.application.default.local.platform_0.3.0 24 ACTIVE org.apache.felix.fileinstall_3.1.4 25 ACTIVE org.apache.felix.bundlerepository_1.6.4 26 ACTIVE org.apache.aries.application.runtime_0.3.0 27 ACTIVE org.apache.commons.collections_3.2.1 28 ACTIVE org.apache.commons.lang_2.5.0 29 ACTIVE org.apache.commons.pool_1.5.4 30 ACTIVE org.apache.geronimo.specs.geronimo-j2ee-connector_1.5_spec_2 .0.0 31 ACTIVE org.apache.geronimo.specs.geronimo-jpa_2.0_spec_1.1.0 32 ACTIVE org.apache.geronimo.specs.geronimo-jta_1.1_spec_1.1.1 33 ACTIVE org.apache.geronimo.components.geronimo-transaction_2.1.3 34 ACTIVE org.apache.geronimo.specs.geronimo-servlet_2.5_spec_1.2.0 35 ACTIVE org.apache.openjpa_2.0.0 36 ACTIVE org.apache.aries.jpa.api_0.3.0 37 ACTIVE org.apache.aries.jpa.blueprint.aries_0.3.0 38 ACTIVE org.apache.aries.jpa.container_0.3.0 39 ACTIVE org.apache.aries.jpa.container.context_0.3.0 40 ACTIVE org.apache.aries.transaction.blueprint_0.3.0 41 ACTIVE org.apache.aries.transaction.manager_0.3.0 42 ACTIVE org.apache.servicemix.bundles.serp_1.13.1.2 43 ACTIVE org.apache.aries.transaction.wrappers_0.3.0 Thanks Matt On Mon, May 16, 2011 at 5:48 PM, Alasdair Nottingham <[email protected]> wrote: > Hi, > > The first thing to note is that file install by default watches the > load directory, not the bundle directory. So to deploy the eba you > will need to create a load directory and drop the eba in there. > > I also notice that you have two bundles called Apache Aries > Application OBR Resolver. You only need one of these. If you want to > use the real OBR one (this is what I have checked out) then you need > the following bundles: > > 5|Active | 1|Apache Aries Application API (0.3.0) > 6|Active | 1|Apache Aries Application Default local platform > (0.3.0) > 7|Active | 1|Apache Aries Application Deployment Management > (0.3.0) > 8|Active | 1|Apache Aries Application Installer (0.3.0) > 9|Active | 1|Apache Aries Application Management (0.3.0) > 10|Active | 1|Apache Aries Application Modelling (0.3.0) > 11|Active | 1|Apache Aries Application Platform Repository (0.3.0) > 12|Active | 1|Apache Aries Application postresolve process (0.3.0) > 13|Active | 1|Apache Aries Application OBR Resolver (0.3.0) > 14|Active | 1|Apache Aries Application Runtime (0.3.0) > > The differences are here: > > 11|Active | 1|Apache Aries Application Platform Repository (0.3.0) > 12|Active | 1|Apache Aries Application postresolve process (0.3.0) > > I can't see these from our download page which I'll look into, but > they can be downloaded from maven central here: > > > http://repo1.maven.org/maven2/org/apache/aries/application/org.apache.aries.application.noop.platform.repo/0.3/org.apache.aries.application.noop.platform.repo-0.3.jar > > http://repo1.maven.org/maven2/org/apache/aries/application/org.apache.aries.application.noop.postresolve.process/0.3/org.apache.aries.application.noop.postresolve.process-0.3.jar > > I hope this helps > Alasdair > > > On 16 May 2011 21:34, Matt Madhavan <[email protected]> wrote: > > Hello, > > I have a simple eba bundles with 3 bundles embedded. I started the OSGi > > container (Tried both the Equinox and Felix containers). I dropped the > .EBA > > bundle in the bundle folder and nothing happens! > > Any ideas? What are all the required bundles? The following are the > bundles > > I have: > > START LEVEL 1 > > ID|State |Level|Name > > 0|Active | 0|System Bundle (3.2.1) > > 1|Active | 1|ASM all classes (3.2.0) > > 2|Active | 1|Commons Collections (3.2.1) > > 3|Active | 1|Commons Lang (2.5.0) > > 4|Active | 1|Commons Pool (1.5.4) > > 5|Active | 1|Apache Derby 10.5 (10.5.3000000.802917) > > 6|Active | 1|geronimo-j2ee-connector_1.5_spec (2.0.0) > > 7|Active | 1|Apache Geronimo JSR-317 JPA 2.0 Spec API (1.1.0) > > 8|Active | 1|geronimo-jta_1.1_spec (1.1.1) > > 9|Active | 1|geronimo-servlet_2.5_spec (1.2.0) > > 10|Installed | 1|Geronimo TxManager :: Transaction (2.1.3) > > 11|Active | 1|OpenJPA Aggregate Jar (2.0.0) > > 12|Active | 1|Apache Aries Application API (0.3.0) > > 13|Active | 1|Apache Aries Application Default local platform > > (0.3.0) > > 14|Active | 1|Apache Aries Application Deployment Management > > (0.3.0) > > 15|Active | 1|Apache Aries Application Installer (0.3.0) > > 16|Active | 1|Apache Aries Application Management (0.3.0) > > 17|Active | 1|Apache Aries Application Modelling (0.3.0) > > 18|Active | 1|Apache Aries Application OBR Resolver (0.3.0) > > 19|Active | 1|Apache Aries Application OBR Resolver (0.3.0) > > 20|Active | 1|Apache Aries Application Runtime (0.3.0) > > 21|Active | 1|Apache Aries Application Utils (0.3.0) > > 22|Active | 1|Apache Aries Blueprint Bundle (0.3.0) > > 23|Active | 1|Apache Aries JNDI Bundle (0.3.0) > > 24|Active | 1|Aries JPA Container API (0.3.0) > > 25|Active | 1|Aries JPA Container blueprint integration for > Aries > > blue > > print (0.3.0) > > 26|Active | 1|Aries JPA Container (0.3.0) > > 27|Active | 1|Aries JPA Container Managed Contexts (0.3.0) > > 28|Active | 1|Apache Aries Proxy Bundle (0.3.0) > > 29|Active | 1|Apache Aries Transaction Blueprint (0.3.0) > > 30|Installed | 1|Apache Aries Transaction Manager (0.3.0) > > 31|Active | 1|Apache Aries Transaction Enlisting JDBC > Datasource > > (0.3. > > 0) > > 32|Active | 1|Apache Aries Util (0.3.0) > > 33|Active | 1|Apache Felix Bundle Repository (1.6.2) > > 34|Active | 1|Apache Felix Bundle Repository (1.6.4) > > 35|Active | 1|Apache Felix File Install (3.1.4) > > 36|Active | 1|Apache Felix Gogo Command (0.8.0) > > 37|Active | 1|Apache Felix Gogo Runtime (0.8.0) > > 38|Active | 1|Apache Felix Gogo Shell (0.8.0) > > 39|Active | 1|Apache ServiceMix Bundles: serp-1.13.1 (1.13.1.2) > > 40|Active | 1|OPS4J Pax Logging - API (1.4.0) > > 41|Active | 1|OPS4J Pax Logging - Service (1.4.0) > > 42|Active | 1|OPS4J Pax Web - Extender - WAR (0.8.1) > > 43|Active | 1|OPS4J Pax Web - Jetty Bundle (0.8.1) > > 44|Active | 1|OPS4J Pax Web - Jsp Support (0.8.1) > > 45|Active | 1|OSGi Release 4.0.1 Services (3.1.200.v20070605) > > > > Thanks > > Matt > > > > -- > Alasdair Nottingham > [email protected] >
