Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1627

Could not create configuration when ejb module is deployed in openejb 4.0-SNAPSHOT on Apache Karaf

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None
    • Labels:
      None

      Description

      To reproduce the error :

      1) Install Apache Karaf - 2.2.1 - http://karaf.apache.org/index/community/download.html

      2) Edit the /etc/jre.properties file and comment the following lines in jre-6

      #javax.xml.bind, \
      #javax.xml.bind.annotation, \
      #javax.xml.bind.annotation.adapters, \
      #javax.xml.bind.attachment, \
      #javax.xml.bind.helpers, \
      #javax.xml.bind.util, \

      and add after jre-1.6= \
      sun.misc, \

      3) Edit the /etc/config.properties file and replace the text with the following

      org.osgi.framework.bootdelegation=org.apache.karaf.jaas.boot,!com.sun.xml.internal.bind.,sun.,com.sun.,javax.transaction,javax.transaction.

      4) Create 'apps' and 'conf' directories in the karaf.home directory

      5) Compile OpenEJB :: Container maven project with my patch

      6) Install the following bundles + features by copy / paste the text in karaf console started usign the command --> bin/karaf

      features:install spring/3.0.5.RELEASE
      
      install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/1.7.0
      install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/1.7.0
      install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.8.0
      install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.7.0
      
      install -s mvn:commons-cli/commons-cli/1.2
      install -s mvn:commons-pool/commons-pool/1.5.4
      install -s mvn:commons-collections/commons-collections/3.2.1
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/1.8.2_2
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_5
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.3_2
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javassist/3.9.0.GA_2
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.wsdl4j/1.6.2_5
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_1
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_6
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-lang/2.4_3
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-codec/1.3_3
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3
      install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.6_1
      
      install -s mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/
      install -s mvn:org.apache.geronimo.components/geronimo-connector/3.1/
      install -s mvn:org.apache.geronimo.components/geronimo-transaction/3.1
      install -s mvn:org.apache.geronimo.specs/geronimo-validation_1.0_spec/1.1
      install -s mvn:org.apache.geronimo.specs/geronimo-interceptor_1.1_spec/1.0
      install -s mvn:org.apache.geronimo.specs/geronimo-javamail_1.4_spec/1.7.1/ 
      install -s mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
      install -s mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0/
      install -s mvn:org.apache.geronimo.specs/geronimo-jacc_1.1_spec/1.0.2
      install -s mvn:org.apache.geronimo.specs/geronimo-jaxr_1.0_spec/2.0.0
      install -s mvn:org.apache.geronimo.specs/geronimo-jaxrs_1.1_spec/1.0
      install -s mvn:org.apache.geronimo.specs/geronimo-jaxrpc_1.1_spec/2.1
      install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-deployment_1.1_spec/1.1
      install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.6_spec
      install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0
      install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1
      install -s mvn:org.apache.geronimo.specs/geronimo-ejb_3.0_spec/1.0.1
      install -s mvn:org.apache.geronimo.specs/geronimo-ejb_3.1_spec/1.0.2
      install -s mvn:org.apache.geronimo.specs/geronimo-el_2.2_spec
      install -s mvn:org.apache.geronimo.specs/geronimo-jsp_2.2_spec/1.0
      install -s mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.2
      install -s mvn:org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0.1
      install -s mvn:org.apache.geronimo.specs/geronimo-jcdi_1.0_spec
      install -s mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec
      install -s mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec
      install -s mvn:org.apache.geronimo.specs/geronimo-saaj_1.3_spec/1.1/
      
      install -s wrap:mvn:net.sf.scannotation/scannotation/1.0.2
      install -s mvn:org.apache.openwebbeans/openwebbeans-spi/1.1.0
      install -s mvn:org.apache.openwebbeans/openwebbeans-impl/1.1.0
      install -s mvn:org.apache.openwebbeans/openwebbeans-ee/1.1.0
      install -s mvn:org.apache.openwebbeans/openwebbeans-ejb-common
      install -s mvn:org.apache.openwebbeans/openwebbeans-ejb/1.1.0
      install -s mvn:org.apache.xbean/xbean-asm-shaded/3.7
      install -s mvn:org.apache.xbean/xbean-finder-shaded/3.8-SNAPSHOT
      install -s mvn:org.apache.xbean/xbean-naming/3.8-SNAPSHOT
      install -s mvn:org.apache.xbean/xbean-reflect/3.8-SNAPSHOT
      install -s mvn:org.apache.xbean/xbean-spring/3.7
      install -s mvn:org.apache.activemq/activemq-core/5.5.0
      install -s mvn:org.apache.activemq/kahadb/5.5.0
      install -s mvn:org.apache.activemq/activemq-console/5.5.0
      install -s mvn:org.apache.activemq/activemq-ra/5.5.0
      install -s mvn:org.apache.activemq/activemq-pool/5.5.0
      install -s mvn:org.apache.activemq/activemq-karaf/5.5.0
      install -s mvn:org.apache.activemq/activemq-spring/5.5.0
      install -s mvn:org.apache.bval/org.apache.bval.bundle/0.3-incubating
      
      install -s mvn:org.apache.openejb/openejb-api/4.0.0-SNAPSHOT
      install -s mvn:org.apache.openejb/openejb-core/4.0.0-SNAPSHOT
      install -s mvn:org.apache.openejb/openejb-javaagent/4.0.0-SNAPSHOT
      install -s mvn:org.apache.openejb/openejb-jee/4.0.0-SNAPSHOT
      install -s mvn:org.apache.openejb/openejb-loader/4.0.0-SNAPSHOT
      install -s mvn:org.apache.openejb/openejb-core-osgi/4.0.0-SNAPSHOT
      

      Restart karaf

      7) Copy / paste the ejb module = jar file provided in attachment in apps directory

      Error generated

      10:21:30,173 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | openejb.home = /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi
      10:21:30,173 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | openejb.base = /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi
      10:21:33,669 | INFO  | ogress.com:2181) | ClientCnxn                       | .zookeeper.ClientCnxn$SendThread 1116 | 42 - org.fusesource.fabric.fabric-linkedin-zookeeper - 1.0.0.SNAPSHOT | Client session timed out, have not heard from server in 10169ms for sessionid 0x0, closing socket connection and attempting reconnect
      10:21:35,270 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
      10:21:35,272 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
      10:21:35,273 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Configuring Service(id=My Stateless Container, type=Container, provider-id=Default Stateless Container)
      10:21:35,333 | INFO  | ogress.com:2181) | ClientCnxn                       | .zookeeper.ClientCnxn$SendThread 1000 | 42 - org.fusesource.fabric.fabric-linkedin-zookeeper - 1.0.0.SNAPSHOT | Opening socket connection to server nbwfhakelman.americas.progress.com/10.30.50.129:2181
      10:21:36,098 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Configuring enterprise application: /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi/apps/camel-example-remote-ejb-2.8-SNAPSHOT.jar
      10:21:36,369 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Auto-deploying ejb GreaterImpl: EjbDeployment(deployment-id=GreaterImpl)
      10:21:36,399 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Enterprise application "/Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi/apps/camel-example-remote-ejb-2.8-SNAPSHOT.jar" loaded.
      10:21:36,399 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Using 'openejb.deployments.classpath=false'
      10:21:36,399 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Creating TransactionManager(id=Default Transaction Manager)
      10:21:36,523 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Creating SecurityService(id=Default Security Service)
      10:21:36,612 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Creating Container(id=My Stateless Container)
      10:21:36,819 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Assembling app: /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi/apps/camel-example-remote-ejb-2.8-SNAPSHOT.jar
      10:21:36,899 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Undeploying app: /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi/apps/camel-example-remote-ejb-2.8-SNAPSHOT.jar
      10:21:37,238 | ERROR | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   95 |  -  -  | Application could not be deployed:  /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi/apps/camel-example-remote-ejb-2.8-SNAPSHOT.jar
      org.apache.openejb.OpenEJBException: Creating application failed: /Users/charlesmoulliard/Applications/apache-karaf-2.2.1-dosgi/apps/camel-example-remote-ejb-2.8-SNAPSHOT.jar: Could not create Configuration.
      	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:796)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:466)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:376)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:288)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.OpenEJB.init(OpenEJB.java:276)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.OpenEJB.init(OpenEJB.java:255)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_24]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_24]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24]
      	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24]
      	at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)[126:org.apache.openejb.loader:4.0.0.SNAPSHOT]
      	at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:55)[198:org.apache.openejb.core-osgi:4.0.0.SNAPSHOT]
      	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)[org.apache.felix.framework-3.0.9.jar:]
      	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)[org.apache.felix.framework-3.0.9.jar:]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)[org.apache.felix.framework-3.0.9.jar:]
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1163)[org.apache.felix.framework-3.0.9.jar:]
      	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)[org.apache.felix.framework-3.0.9.jar:]
      	at java.lang.Thread.run(Thread.java:680)[:1.6.0_24]
      Caused by: javax.validation.ValidationException: Could not create Configuration.
      	at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:175)
      	at org.apache.openejb.assembler.classic.ValidatorBuilder.getConfig(ValidatorBuilder.java:97)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.assembler.classic.ValidatorBuilder.buildFactory(ValidatorBuilder.java:70)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.assembler.classic.ValidatorBuilder.buildFactory(ValidatorBuilder.java:42)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:535)[128:org.apache.openejb.core:4.0.0.SNAPSHOT]
      	... 19 more
      Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.RangeCheck(ArrayList.java:547)[:1.6.0_24]
      	at java.util.ArrayList.get(ArrayList.java:322)[:1.6.0_24]
      	at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:173)
      	... 23 more
      
      

      I think that the issue comes from a classloading issue

      1. camel-example-remote-ejb-2.8-SNAPSHOT.jar
        10 kB
        Charles Moulliard
      2. change-range.patch
        1 kB
        Charles Moulliard
      3. change-range.patch
        1 kB
        Charles Moulliard
      4. missing-packages-openejb.patch
        2 kB
        Charles Moulliard
      5. modifyImportExportPackage.patch
        16 kB
        Charles Moulliard
      6. new-features-file.patch
        138 kB
        Charles Moulliard
      7. osgiOpenEJBServer-OpenEJD.patch
        24 kB
        Charles Moulliard

        Activity

        Hide
        cmoulliard Charles Moulliard added a comment -

        Hi,

        I have make new tests with Apache Karaf 2.2.4. Here the list of the bundles deployed

        install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/1.7.0
        install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.8.0
        install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/1.7.0
        install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/1.9.0
        install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.7.0
        
        install -s mvn:commons-cli/commons-cli/1.2
        install -s mvn:commons-lang/commons-lang/2.6
        install -s mvn:commons-pool/commons-pool/1.5.4
        install -s mvn:commons-collections/commons-collections/3.2.1
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/1.8.2_2
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_5
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.3_2
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javassist/3.9.0.GA_2
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.wsdl4j/1.6.2_5
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_1
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_6
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-lang/2.4_3
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-codec/1.3_3
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3
        install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.6_1
        
        install -s mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/
        install -s mvn:org.apache.geronimo.specs/geronimo-validation_1.0_spec/1.1
        install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.6_spec
        install -s mvn:org.apache.geronimo.components/geronimo-transaction/3.1
        install -s mvn:org.apache.geronimo.components/geronimo-connector/3.1/
        install -s mvn:org.apache.geronimo.specs/geronimo-interceptor_1.1_spec/1.0
        install -s mvn:org.apache.geronimo.specs/geronimo-javamail_1.4_spec/1.7.1/ 
        install -s mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1
        install -s mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0/
        install -s mvn:org.apache.geronimo.specs/geronimo-jacc_1.1_spec/1.0.2
        install -s mvn:org.apache.geronimo.specs/geronimo-jaxr_1.0_spec/2.0.0
        install -s mvn:org.apache.geronimo.specs/geronimo-jaxrs_1.1_spec/1.0
        install -s mvn:org.apache.geronimo.specs/geronimo-jaxrpc_1.1_spec/2.1
        install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-deployment_1.1_spec/1.1
        install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0
        install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1
        install -s mvn:org.apache.geronimo.specs/geronimo-ejb_3.0_spec/1.0.1
        install -s mvn:org.apache.geronimo.specs/geronimo-ejb_3.1_spec/1.0.2
        install -s mvn:org.apache.geronimo.specs/geronimo-el_2.2_spec
        install -s mvn:org.apache.geronimo.specs/geronimo-jsp_2.2_spec/1.0
        install -s mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.2
        install -s mvn:org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0.1
        install -s mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec
        install -s mvn:org.apache.geronimo.specs/geronimo-jcdi_1.0_spec
        install -s mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec
        install -s mvn:org.apache.geronimo.specs/geronimo-saaj_1.3_spec/1.1/
        install -s mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1
        
        install -s wrap:mvn:net.sf.scannotation/scannotation/1.0.2
        install -s mvn:org.apache.openwebbeans/openwebbeans-spi/1.1.2
        install -s mvn:org.apache.openwebbeans/openwebbeans-impl/1.1.2
        install -s mvn:org.apache.openwebbeans/openwebbeans-ee/1.1.2
        install -s mvn:org.apache.openwebbeans/openwebbeans-ejb-common
        install -s mvn:org.apache.openwebbeans/openwebbeans-ejb/1.1.2
        install -s mvn:org.apache.openwebbeans/openwebbeans-web/1.1.2
        install -s mvn:org.apache.xbean/xbean-asm-shaded/3.7
        install -s mvn:org.apache.xbean/xbean-finder-shaded/3.8-SNAPSHOT
        install -s mvn:org.apache.xbean/xbean-naming/3.8-SNAPSHOT
        install -s mvn:org.apache.xbean/xbean-reflect/3.8-SNAPSHOT
        install -s mvn:org.apache.xbean/xbean-spring/3.7
        install -s mvn:org.apache.activemq/kahadb/5.5.0
        install -s mvn:org.apache.activemq/activemq-core/5.5.0
        install -s mvn:org.apache.activemq/activemq-console/5.5.0
        install -s mvn:org.apache.activemq/activemq-ra/5.5.0
        install -s mvn:org.apache.activemq/activemq-pool/5.5.0
        install -s mvn:org.apache.activemq/activemq-karaf/5.5.0
        install -s mvn:org.apache.activemq/activemq-spring/5.5.0
        install -s mvn:org.apache.bval/org.apache.bval.bundle/0.3-incubating
        
        install -s mvn:org.apache.openejb/openejb-api/4.0.0-beta-2-SNAPSHOT
        install -s mvn:org.apache.openejb/openejb-javaagent/4.0.0-beta-2-SNAPSHOT
        install -s mvn:org.apache.openejb/openejb-jee/4.0.0-beta-2-SNAPSHOT
        install -s mvn:org.apache.openejb/openejb-core/4.0.0-beta-2-SNAPSHOT
        install -s mvn:org.apache.openejb/openejb-loader/4.0.0-beta-2-SNAPSHOT
        install -s mvn:org.apache.openejb/openejb-core-osgi/4.0.0-beta-2-SNAPSHOT
        

        I put in attachment a patch to solve the wrong range of packages provided for org.apache.openejb (3.1,3.2)

        The server could not be yet started

        2011-11-24 18:41:51,741 | INFO  | l Console Thread | CdiBuilder                       | e.webbeans.logger.WebBeansLogger  110 |  -  -  | succeeded in installing singleton service
        2011-11-24 18:41:51,759 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | 
        ********************************************************************************
        OpenEJB http://openejb.apache.org/
        Startup: 11/24/11 6:41 PM
        Copyright 1999-2011 (C) Apache OpenEJB Project, All Rights Reserved.
        Version: ${pom.version}
        Build date: @DATE-REPLACED-BY-MAVEN@
        Build time: @TIME-REPLACED-BY-MAVEN@
        ********************************************************************************
        
        
        2011-11-24 18:41:51,762 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | openejb.home = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4
        2011-11-24 18:41:51,763 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | openejb.base = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4
        2011-11-24 18:41:52,097 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Cannot find the configuration file [conf/openejb.xml].  Will attempt to create one for the beans deployed.
        2011-11-24 18:41:52,121 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
        2011-11-24 18:41:52,122 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
        2011-11-24 18:41:52,123 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Using 'openejb.deployments.classpath=false'
        2011-11-24 18:41:52,124 | INFO  | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Creating TransactionManager(id=Default Transaction Manager)
        2011-11-24 18:41:52,136 | ERROR | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | FATAL ERROR: Unknown error in Assembler.  Please send the following stack trace and this message to users@openejb.apache.org :
         org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory
        	at org.apache.xbean.recipe.ObjectRecipe.getType(ObjectRecipe.java:355)
        	at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:266)
        	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
        	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
        	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
        	at org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:1619)
        	at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:390)
        	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:318)
        	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130)
        	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63)
        	at org.apache.openejb.OpenEJB.init(OpenEJB.java:276)
        	at org.apache.openejb.OpenEJB.init(OpenEJB.java:255)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)
        	at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:55)
        	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)
        	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)
        	at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)
        	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)
        	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
        	at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:30)
        	at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)
        	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)
        	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
        	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)
        	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)
        	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
        	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
        	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
        	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        	at org.apache.karaf.shell.console.jline.Console.run(Console.java:218)
        	at java.lang.Thread.run(Thread.java:680)
        
        2011-11-24 18:41:52,161 | ERROR | l Console Thread | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | OpenEJB has encountered a fatal error and cannot be started: Assembler failed to build the container system.
        org.apache.openejb.OpenEJBException: org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory
        	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:331)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.OpenEJB.init(OpenEJB.java:276)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.OpenEJB.init(OpenEJB.java:255)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_29]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_29]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_29]
        	at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_29]
        	at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)[128:org.apache.openejb.loader:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:55)[130:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)[org.apache.felix.framework-3.0.9.jar:]
        	at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)[org.apache.felix.framework-3.0.9.jar:]
        	at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)[org.apache.felix.framework-3.0.9.jar:]
        	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
        	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)[org.apache.felix.framework-3.0.9.jar:]
        	at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:30)[17:org.apache.karaf.shell.osgi:2.2.4]
        	at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)[17:org.apache.karaf.shell.osgi:2.2.4]
        	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[23:org.apache.karaf.shell.console:2.2.4]
        	at org.apache.karaf.shell.console.jline.Console.run(Console.java:218)[23:org.apache.karaf.shell.console:2.2.4]
        	at java.lang.Thread.run(Thread.java:680)[:1.6.0_29]
        Caused by: org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory
        	at org.apache.xbean.recipe.ObjectRecipe.getType(ObjectRecipe.java:355)
        	at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:266)
        	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
        	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
        	at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49)
        	at org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:1619)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:390)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:318)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT]
        

        Charles

        Show
        cmoulliard Charles Moulliard added a comment - Hi, I have make new tests with Apache Karaf 2.2.4. Here the list of the bundles deployed install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/1.7.0 install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.stax-api-1.0/1.8.0 install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxb-api-2.2/1.7.0 install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.saaj-api-1.3/1.9.0 install -s mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxws-api-2.2/1.7.0 install -s mvn:commons-cli/commons-cli/1.2 install -s mvn:commons-lang/commons-lang/2.6 install -s mvn:commons-pool/commons-pool/1.5.4 install -s mvn:commons-collections/commons-collections/3.2.1 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-beanutils/1.8.2_2 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_5 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.quartz/1.8.3_2 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javassist/3.9.0.GA_2 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.wsdl4j/1.6.2_5 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-impl/2.2.1.1_1 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/2.1_3_6 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-lang/2.4_3 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-codec/1.3_3 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.oro/2.0.8_3 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.velocity/1.6.2_3 install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jasypt/1.6_1 install -s mvn:org.apache.aries.transaction/org.apache.aries.transaction.manager/ install -s mvn:org.apache.geronimo.specs/geronimo-validation_1.0_spec/1.1 install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.6_spec install -s mvn:org.apache.geronimo.components/geronimo-transaction/3.1 install -s mvn:org.apache.geronimo.components/geronimo-connector/3.1/ install -s mvn:org.apache.geronimo.specs/geronimo-interceptor_1.1_spec/1.0 install -s mvn:org.apache.geronimo.specs/geronimo-javamail_1.4_spec/1.7.1/ install -s mvn:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 install -s mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0/ install -s mvn:org.apache.geronimo.specs/geronimo-jacc_1.1_spec/1.0.2 install -s mvn:org.apache.geronimo.specs/geronimo-jaxr_1.0_spec/2.0.0 install -s mvn:org.apache.geronimo.specs/geronimo-jaxrs_1.1_spec/1.0 install -s mvn:org.apache.geronimo.specs/geronimo-jaxrpc_1.1_spec/2.1 install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-deployment_1.1_spec/1.1 install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-connector_1.5_spec/2.0.0 install -s mvn:org.apache.geronimo.specs/geronimo-j2ee-management_1.1_spec/1.0.1 install -s mvn:org.apache.geronimo.specs/geronimo-ejb_3.0_spec/1.0.1 install -s mvn:org.apache.geronimo.specs/geronimo-ejb_3.1_spec/1.0.2 install -s mvn:org.apache.geronimo.specs/geronimo-el_2.2_spec install -s mvn:org.apache.geronimo.specs/geronimo-jsp_2.2_spec/1.0 install -s mvn:org.apache.geronimo.specs/geronimo-ws-metadata_2.0_spec/1.1.2 install -s mvn:org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0.1 install -s mvn:org.apache.geronimo.specs/geronimo-atinject_1.0_spec install -s mvn:org.apache.geronimo.specs/geronimo-jcdi_1.0_spec install -s mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec install -s mvn:org.apache.geronimo.specs/geronimo-saaj_1.3_spec/1.1/ install -s mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1 install -s wrap:mvn:net.sf.scannotation/scannotation/1.0.2 install -s mvn:org.apache.openwebbeans/openwebbeans-spi/1.1.2 install -s mvn:org.apache.openwebbeans/openwebbeans-impl/1.1.2 install -s mvn:org.apache.openwebbeans/openwebbeans-ee/1.1.2 install -s mvn:org.apache.openwebbeans/openwebbeans-ejb-common install -s mvn:org.apache.openwebbeans/openwebbeans-ejb/1.1.2 install -s mvn:org.apache.openwebbeans/openwebbeans-web/1.1.2 install -s mvn:org.apache.xbean/xbean-asm-shaded/3.7 install -s mvn:org.apache.xbean/xbean-finder-shaded/3.8-SNAPSHOT install -s mvn:org.apache.xbean/xbean-naming/3.8-SNAPSHOT install -s mvn:org.apache.xbean/xbean-reflect/3.8-SNAPSHOT install -s mvn:org.apache.xbean/xbean-spring/3.7 install -s mvn:org.apache.activemq/kahadb/5.5.0 install -s mvn:org.apache.activemq/activemq-core/5.5.0 install -s mvn:org.apache.activemq/activemq-console/5.5.0 install -s mvn:org.apache.activemq/activemq-ra/5.5.0 install -s mvn:org.apache.activemq/activemq-pool/5.5.0 install -s mvn:org.apache.activemq/activemq-karaf/5.5.0 install -s mvn:org.apache.activemq/activemq-spring/5.5.0 install -s mvn:org.apache.bval/org.apache.bval.bundle/0.3-incubating install -s mvn:org.apache.openejb/openejb-api/4.0.0-beta-2-SNAPSHOT install -s mvn:org.apache.openejb/openejb-javaagent/4.0.0-beta-2-SNAPSHOT install -s mvn:org.apache.openejb/openejb-jee/4.0.0-beta-2-SNAPSHOT install -s mvn:org.apache.openejb/openejb-core/4.0.0-beta-2-SNAPSHOT install -s mvn:org.apache.openejb/openejb-loader/4.0.0-beta-2-SNAPSHOT install -s mvn:org.apache.openejb/openejb-core-osgi/4.0.0-beta-2-SNAPSHOT I put in attachment a patch to solve the wrong range of packages provided for org.apache.openejb (3.1,3.2) The server could not be yet started 2011-11-24 18:41:51,741 | INFO | l Console Thread | CdiBuilder | e.webbeans.logger.WebBeansLogger 110 | - - | succeeded in installing singleton service 2011-11-24 18:41:51,759 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | ******************************************************************************** OpenEJB http: //openejb.apache.org/ Startup: 11/24/11 6:41 PM Copyright 1999-2011 (C) Apache OpenEJB Project, All Rights Reserved. Version: ${pom.version} Build date: @DATE-REPLACED-BY-MAVEN@ Build time: @TIME-REPLACED-BY-MAVEN@ ******************************************************************************** 2011-11-24 18:41:51,762 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | openejb.home = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4 2011-11-24 18:41:51,763 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | openejb.base = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4 2011-11-24 18:41:52,097 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | Cannot find the configuration file [conf/openejb.xml]. Will attempt to create one for the beans deployed. 2011-11-24 18:41:52,121 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service) 2011-11-24 18:41:52,122 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) 2011-11-24 18:41:52,123 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | Using 'openejb.deployments.classpath= false ' 2011-11-24 18:41:52,124 | INFO | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | Creating TransactionManager(id=Default Transaction Manager) 2011-11-24 18:41:52,136 | ERROR | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | FATAL ERROR: Unknown error in Assembler. Please send the following stack trace and this message to users@openejb.apache.org : org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory at org.apache.xbean.recipe.ObjectRecipe.getType(ObjectRecipe.java:355) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:266) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) at org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:1619) at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:390) at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:318) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130) at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63) at org.apache.openejb.OpenEJB.init(OpenEJB.java:276) at org.apache.openejb.OpenEJB.init(OpenEJB.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36) at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:55) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842) at org.apache.felix.framework.Felix.startBundle(Felix.java:1759) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905) at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:30) at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37) at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38) at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35) at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78) at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474) at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400) at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183) at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120) at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89) at org.apache.karaf.shell.console.jline.Console.run(Console.java:218) at java.lang. Thread .run( Thread .java:680) 2011-11-24 18:41:52,161 | ERROR | l Console Thread | root | pache.openejb.util.JuliLogStream 94 | - - | OpenEJB has encountered a fatal error and cannot be started: Assembler failed to build the container system. org.apache.openejb.OpenEJBException: org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:331)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:130)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:63)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.OpenEJB.init(OpenEJB.java:276)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.OpenEJB.init(OpenEJB.java:255)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_29] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_29] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_29] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_29] at org.apache.openejb.loader.OpenEJBInstance.init(OpenEJBInstance.java:36)[128:org.apache.openejb.loader:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.core.osgi.impl.Activator.start(Activator.java:55)[130:org.apache.openejb.core-osgi:4.0.0.beta-2-SNAPSHOT] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.Felix.activateBundle(Felix.java:1842)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.Felix.startBundle(Felix.java:1759)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)[org.apache.felix.framework-3.0.9.jar:] at org.apache.karaf.shell.osgi.StartBundle.doExecute(StartBundle.java:30)[17:org.apache.karaf.shell.osgi:2.2.4] at org.apache.karaf.shell.osgi.BundlesCommand.doExecute(BundlesCommand.java:37)[17:org.apache.karaf.shell.osgi:2.2.4] at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:38)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:474)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:400)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[23:org.apache.karaf.shell.console:2.2.4] at org.apache.karaf.shell.console.jline.Console.run(Console.java:218)[23:org.apache.karaf.shell.console:2.2.4] at java.lang. Thread .run( Thread .java:680)[:1.6.0_29] Caused by: org.apache.xbean.recipe.ConstructionException: Type class could not be found: org.apache.openejb.resource.GeronimoTransactionManagerFactory at org.apache.xbean.recipe.ObjectRecipe.getType(ObjectRecipe.java:355) at org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:266) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61) at org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:49) at org.apache.openejb.assembler.classic.Assembler.createTransactionManager(Assembler.java:1619)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:390)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:318)[129:org.apache.openejb.core:4.0.0.beta-2-SNAPSHOT] Charles
        Hide
        cmoulliard Charles Moulliard added a comment -

        This is better with my last modification where I have imported the missing packages but now I get this error

        karaf@root> Starting OpenEJB...
        FATAL ERROR WHILE CONFIGURING LOGGING!!!. MISSING embedded.juli.properties FILE 
        FATAL ERROR WHILE CONFIGURING LOGGING!!!. MISSING embedded.juli.properties FILE 
        Apache OpenEJB ${pom.version}    build: @DATE-REPLACED-BY-MAVEN@-@TIME-REPLACED-BY-MAVEN@
        http://openejb.apache.org/
        Registering OSGified OpenEJB Deployer...
        [Deployer] Bundle org.apache.openejb.core-osgi has been started
        [Deployer] Checking whether it's an EJB module
        ERROR: Bundle org.apache.openejb.core-osgi [130] EventDispatcher: Error during dispatch. (java.lang.NullPointerException)
        java.lang.NullPointerException
        	at org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:58)
        	at org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:45)
        	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)
        	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)
        	at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949)
        	at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
        	at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106)
        	at java.lang.Thread.run(Thread.java:680)
        

        Nevertheless, the project seems started

        2011-11-24 18:55:13,727 | INFO  | FelixStartLevel  | CdiBuilder                       | e.webbeans.logger.WebBeansLogger  110 |  -  -  | succeeded in installing singleton service
        2011-11-24 18:55:13,740 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | 
        ********************************************************************************
        OpenEJB http://openejb.apache.org/
        Startup: 11/24/11 6:55 PM
        Copyright 1999-2011 (C) Apache OpenEJB Project, All Rights Reserved.
        Version: ${pom.version}
        Build date: @DATE-REPLACED-BY-MAVEN@
        Build time: @TIME-REPLACED-BY-MAVEN@
        ********************************************************************************
        
        
        2011-11-24 18:55:13,746 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | openejb.home = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4
        2011-11-24 18:55:13,747 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | openejb.base = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4
        2011-11-24 18:55:14,204 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Cannot find the configuration file [conf/openejb.xml].  Will attempt to create one for the beans deployed.
        2011-11-24 18:55:14,242 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service)
        2011-11-24 18:55:14,244 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager)
        2011-11-24 18:55:14,244 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Using 'openejb.deployments.classpath=false'
        2011-11-24 18:55:14,245 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Creating TransactionManager(id=Default Transaction Manager)
        2011-11-24 18:55:14,338 | INFO  | FelixStartLevel  | root                             | pache.openejb.util.JuliLogStream   94 |  -  -  | Creating SecurityService(id=Default Security Service)
        
        

        I will check tomorrow if the server can reply to a client

        Show
        cmoulliard Charles Moulliard added a comment - This is better with my last modification where I have imported the missing packages but now I get this error karaf@root> Starting OpenEJB... FATAL ERROR WHILE CONFIGURING LOGGING!!!. MISSING embedded.juli.properties FILE FATAL ERROR WHILE CONFIGURING LOGGING!!!. MISSING embedded.juli.properties FILE Apache OpenEJB ${pom.version} build: @DATE-REPLACED-BY-MAVEN@-@TIME-REPLACED-BY-MAVEN@ http: //openejb.apache.org/ Registering OSGified OpenEJB Deployer... [Deployer] Bundle org.apache.openejb.core-osgi has been started [Deployer] Checking whether it's an EJB module ERROR: Bundle org.apache.openejb.core-osgi [130] EventDispatcher: Error during dispatch. (java.lang.NullPointerException) java.lang.NullPointerException at org.apache.openejb.core.osgi.impl.Deployer.deploy(Deployer.java:58) at org.apache.openejb.core.osgi.impl.Deployer.bundleChanged(Deployer.java:45) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) at java.lang. Thread .run( Thread .java:680) Nevertheless, the project seems started 2011-11-24 18:55:13,727 | INFO | FelixStartLevel | CdiBuilder | e.webbeans.logger.WebBeansLogger 110 | - - | succeeded in installing singleton service 2011-11-24 18:55:13,740 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | ******************************************************************************** OpenEJB http: //openejb.apache.org/ Startup: 11/24/11 6:55 PM Copyright 1999-2011 (C) Apache OpenEJB Project, All Rights Reserved. Version: ${pom.version} Build date: @DATE-REPLACED-BY-MAVEN@ Build time: @TIME-REPLACED-BY-MAVEN@ ******************************************************************************** 2011-11-24 18:55:13,746 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | openejb.home = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4 2011-11-24 18:55:13,747 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | openejb.base = /Users/charlesmoulliard/MyApplications/apache-karaf-2.2.4 2011-11-24 18:55:14,204 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | Cannot find the configuration file [conf/openejb.xml]. Will attempt to create one for the beans deployed. 2011-11-24 18:55:14,242 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | Configuring Service(id=Default Security Service, type=SecurityService, provider-id=Default Security Service) 2011-11-24 18:55:14,244 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | Configuring Service(id=Default Transaction Manager, type=TransactionManager, provider-id=Default Transaction Manager) 2011-11-24 18:55:14,244 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | Using 'openejb.deployments.classpath= false ' 2011-11-24 18:55:14,245 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | Creating TransactionManager(id=Default Transaction Manager) 2011-11-24 18:55:14,338 | INFO | FelixStartLevel | root | pache.openejb.util.JuliLogStream 94 | - - | Creating SecurityService(id=Default Security Service) I will check tomorrow if the server can reply to a client
        Hide
        romain.manni-bucau Romain Manni-Bucau added a comment -

        just about the dependencies i installed the following ones (i think i changed some versions compared to you):

        karaf@root> list
        START LEVEL 100 , List Threshold: 50
        ID State Blueprint Level Name
        [ 49] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: Activation API 1.4 (1.7.0)
        [ 50] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: JAXB API 2.2 (1.7.0)
        [ 51] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: Stax API 1.0 (1.8.0)
        [ 52] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: JAXWS API 2.2 (1.7.0)
        [ 61] [Active ] [ ] [ 60] Commons CLI (1.2)
        [ 62] [Active ] [ ] [ 60] Commons Pool (1.5.4)
        [ 63] [Active ] [ ] [ 60] Commons Collections (3.2.1)
        [ 64] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: commons-beanutils (1.8.2.2)
        [ 65] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: xpp3 (1.1.0.4c_5)
        [ 66] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: quartz (1.8.3.2)
        [ 67] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: javassist (3.9.0.GA_2)
        [ 68] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.5)
        [ 69] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: jaxb-impl (2.2.1.1_1)
        [ 70] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: cglib (2.1.0.3_6)
        [ 72] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3)
        [ 73] [Active ] [ ] [ 60] Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3)
        [ 74] [Active ] [ ] [ 60] Apache ServiceMix Bundles: velocity-1.6.2 (1.6.2.3)
        [ 75] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: jasypt (1.6.0.1)
        [ 76] [Active ] [ ] [ 60] Apache Aries Transaction Manager (0.3.1.SNAPSHOT)
        [ 77] [Active ] [ ] [ 60] Geronimo TxManager :: Connector (3.1)
        [ 78] [Active ] [ ] [ 60] Geronimo TxManager :: Transaction (3.1)
        [ 79] [Active ] [ ] [ 60] Apache Geronimo JSR-303 Bean Validation Spec API (1.1)
        [ 80] [Active ] [ ] [ 60] Interceptor 1.1 (1.0)
        [ 81] [Active ] [ ] [ 60] JavaMail 1.4 (1.7.1)
        [ 82] [Active ] [ ] [ 60] geronimo-jms_1.1_spec (1.1.1)
        [ 83] [Active ] [ ] [ 60] Servlet 3.0 (1.0)
        [ 84] [Active ] [ ] [ 60] J2EE JACC 1.1 (1.0.2)
        [ 85] [Active ] [ ] [ 60] geronimo-jaxr_1.0_spec (2.0.0)
        [ 86] [Active ] [ ] [ 60] Apache Geronimo JAX-RS 1.1 API (1.0)
        [ 87] [Active ] [ ] [ 60] JAXRPC 1.1 (2.1)
        [ 89] [Active ] [ ] [ 60] mvn:org.apache.geronimo.specs/geronimo-j2ee-deployment_1.1_spec/1.1
        [ 90] [Active ] [ ] [ 60] Apache Geronimo Java EE Connector Spec 1.6 (1.1.0.SNAPSHOT)
        [ 91] [Active ] [ ] [ 60] geronimo-j2ee-connector_1.5_spec (2.0.0)
        [ 92] [Active ] [ ] [ 60] geronimo-j2ee-management_1.1_spec (1.0.1)
        [ 93] [Active ] [ ] [ 60] geronimo-ejb_3.0_spec (1.0.1)
        [ 94] [Active ] [ ] [ 60] Apache Geronimo EJB Spec 3.1 (1.0.2)
        [ 95] [Active ] [ ] [ 60] Apache Geronimo Expression Language Spec 2.2 (1.1.0.SNAPSHOT)
        [ 96] [Active ] [ ] [ 60] JSP 2.2 (1.0)
        [ 97] [Active ] [ ] [ 60] geronimo-ws-metadata_2.0_spec (1.1.2)
        [ 98] [Active ] [ ] [ 60] Annotation 1.1 (1.0.1)
        [ 99] [Active ] [ ] [ 60] Apache Geronimo JSCI Spec 1.0 (1.1.0.SNAPSHOT)
        [ 100] [Active ] [ ] [ 60] Apache Geronimo JPA Spec 2.0 (1.2.0.SNAPSHOT)
        [ 101] [Active ] [ ] [ 60] Apache Geronimo JSR-330 Spec 1.0 (1.1.0.SNAPSHOT)
        [ 102] [Active ] [ ] [ 60] SAAJ 1.3 (1.1)
        [ 103] [Active ] [ ] [ 60] wrap_mvn_net.sf.scannotation_scannotation_1.0.2 (0)
        [ 108] [Active ] [ ] [ 60] SPI definition (1.1.1)
        [ 109] [Active ] [ ] [ 60] OpenWebBeans Core (1.1.1)
        [ 110] [Active ] [ ] [ 60] Java EE plugin (1.1.1)
        [ 112] [Active ] [ ] [ 60] EE Common plugin (1.1.1)
        [ 114] [Active ] [ ] [ 60] EJB plugin (1.1.1)
        [ 115] [Active ] [ ] [ 60] Web plugin (1.1.1)
        [ 116] [Active ] [ ] [ 60] Apache XBean :: ASM shaded (repackaged) (3.8)
        [ 117] [Active ] [ ] [ 60] Apache XBean :: Finder shaded (repackaged) (3.8)
        [ 118] [Active ] [ ] [ 60] Apache XBean :: Naming (3.8)
        [ 119] [Active ] [ ] [ 60] Apache XBean :: Reflect (3.8)
        [ 120] [Active ] [ ] [ 60] Apache XBean :: Spring (3.8)
        [ 121] [Active ] [ ] [ 60] activemq-core (5.5.0)
        [ 122] [Active ] [ ] [ 60] kahadb (5.5.0)
        [ 123] [Active ] [ ] [ 60] activemq-console (5.5.0)
        [ 124] [Active ] [ ] [ 60] activemq-ra (5.5.0)
        [ 125] [Active ] [ ] [ 60] activemq-pool (5.5.0)
        [ 126] [Active ] [Created ] [ 60] activemq-karaf (5.5.0)
        [ 127] [Active ] [ ] [ 60] activemq-spring (5.5.0)
        [ 128] [Active ] [ ] [ 60] Apache Bean Validation :: org.apache.bval.bundle (0.3.0.incubating)
        [ 129] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: API (4.0.0.beta-2-SNAPSHOT)
        [ 130] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Core (4.0.0.beta-2-SNAPSHOT)
        [ 131] [Active ] [ ] [ 60] Java Authentication SPI for Containers (1.1)
        [ 132] [Active ] [ ] [ 60] Commons Lang (2.6)
        [ 133] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Java Agent (4.0.0.beta-2-SNAPSHOT)
        [ 137] [Active ] [ ] [ 60] Geronimo OSGi-enable spec bundle locator (1.0)
        [ 138] [Active ] [ ] [ 60] OSGI factory registry (1.0)
        [ 139] [Active ] [ ] [ 60] Activation 1.1 (1.1)
        [ 140] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Java EE (4.0.0.beta-2-SNAPSHOT)
        [ 142] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Loader (4.0.0.beta-2-SNAPSHOT)

        i still need to install openejb coer-osgi and osgi-core but i have to look about these modules a bit further and it seems some import are missing.

        Show
        romain.manni-bucau Romain Manni-Bucau added a comment - just about the dependencies i installed the following ones (i think i changed some versions compared to you): karaf@root> list START LEVEL 100 , List Threshold: 50 ID State Blueprint Level Name [ 49] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: Activation API 1.4 (1.7.0) [ 50] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: JAXB API 2.2 (1.7.0) [ 51] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: Stax API 1.0 (1.8.0) [ 52] [Active ] [ ] [ 60] Apache ServiceMix :: Specs :: JAXWS API 2.2 (1.7.0) [ 61] [Active ] [ ] [ 60] Commons CLI (1.2) [ 62] [Active ] [ ] [ 60] Commons Pool (1.5.4) [ 63] [Active ] [ ] [ 60] Commons Collections (3.2.1) [ 64] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: commons-beanutils (1.8.2.2) [ 65] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: xpp3 (1.1.0.4c_5) [ 66] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: quartz (1.8.3.2) [ 67] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: javassist (3.9.0.GA_2) [ 68] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: wsdl4j (1.6.2.5) [ 69] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: jaxb-impl (2.2.1.1_1) [ 70] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: cglib (2.1.0.3_6) [ 72] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3) [ 73] [Active ] [ ] [ 60] Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3) [ 74] [Active ] [ ] [ 60] Apache ServiceMix Bundles: velocity-1.6.2 (1.6.2.3) [ 75] [Active ] [ ] [ 60] Apache ServiceMix :: Bundles :: jasypt (1.6.0.1) [ 76] [Active ] [ ] [ 60] Apache Aries Transaction Manager (0.3.1.SNAPSHOT) [ 77] [Active ] [ ] [ 60] Geronimo TxManager :: Connector (3.1) [ 78] [Active ] [ ] [ 60] Geronimo TxManager :: Transaction (3.1) [ 79] [Active ] [ ] [ 60] Apache Geronimo JSR-303 Bean Validation Spec API (1.1) [ 80] [Active ] [ ] [ 60] Interceptor 1.1 (1.0) [ 81] [Active ] [ ] [ 60] JavaMail 1.4 (1.7.1) [ 82] [Active ] [ ] [ 60] geronimo-jms_1.1_spec (1.1.1) [ 83] [Active ] [ ] [ 60] Servlet 3.0 (1.0) [ 84] [Active ] [ ] [ 60] J2EE JACC 1.1 (1.0.2) [ 85] [Active ] [ ] [ 60] geronimo-jaxr_1.0_spec (2.0.0) [ 86] [Active ] [ ] [ 60] Apache Geronimo JAX-RS 1.1 API (1.0) [ 87] [Active ] [ ] [ 60] JAXRPC 1.1 (2.1) [ 89] [Active ] [ ] [ 60] mvn:org.apache.geronimo.specs/geronimo-j2ee-deployment_1.1_spec/1.1 [ 90] [Active ] [ ] [ 60] Apache Geronimo Java EE Connector Spec 1.6 (1.1.0.SNAPSHOT) [ 91] [Active ] [ ] [ 60] geronimo-j2ee-connector_1.5_spec (2.0.0) [ 92] [Active ] [ ] [ 60] geronimo-j2ee-management_1.1_spec (1.0.1) [ 93] [Active ] [ ] [ 60] geronimo-ejb_3.0_spec (1.0.1) [ 94] [Active ] [ ] [ 60] Apache Geronimo EJB Spec 3.1 (1.0.2) [ 95] [Active ] [ ] [ 60] Apache Geronimo Expression Language Spec 2.2 (1.1.0.SNAPSHOT) [ 96] [Active ] [ ] [ 60] JSP 2.2 (1.0) [ 97] [Active ] [ ] [ 60] geronimo-ws-metadata_2.0_spec (1.1.2) [ 98] [Active ] [ ] [ 60] Annotation 1.1 (1.0.1) [ 99] [Active ] [ ] [ 60] Apache Geronimo JSCI Spec 1.0 (1.1.0.SNAPSHOT) [ 100] [Active ] [ ] [ 60] Apache Geronimo JPA Spec 2.0 (1.2.0.SNAPSHOT) [ 101] [Active ] [ ] [ 60] Apache Geronimo JSR-330 Spec 1.0 (1.1.0.SNAPSHOT) [ 102] [Active ] [ ] [ 60] SAAJ 1.3 (1.1) [ 103] [Active ] [ ] [ 60] wrap_mvn_net.sf.scannotation_scannotation_1.0.2 (0) [ 108] [Active ] [ ] [ 60] SPI definition (1.1.1) [ 109] [Active ] [ ] [ 60] OpenWebBeans Core (1.1.1) [ 110] [Active ] [ ] [ 60] Java EE plugin (1.1.1) [ 112] [Active ] [ ] [ 60] EE Common plugin (1.1.1) [ 114] [Active ] [ ] [ 60] EJB plugin (1.1.1) [ 115] [Active ] [ ] [ 60] Web plugin (1.1.1) [ 116] [Active ] [ ] [ 60] Apache XBean :: ASM shaded (repackaged) (3.8) [ 117] [Active ] [ ] [ 60] Apache XBean :: Finder shaded (repackaged) (3.8) [ 118] [Active ] [ ] [ 60] Apache XBean :: Naming (3.8) [ 119] [Active ] [ ] [ 60] Apache XBean :: Reflect (3.8) [ 120] [Active ] [ ] [ 60] Apache XBean :: Spring (3.8) [ 121] [Active ] [ ] [ 60] activemq-core (5.5.0) [ 122] [Active ] [ ] [ 60] kahadb (5.5.0) [ 123] [Active ] [ ] [ 60] activemq-console (5.5.0) [ 124] [Active ] [ ] [ 60] activemq-ra (5.5.0) [ 125] [Active ] [ ] [ 60] activemq-pool (5.5.0) [ 126] [Active ] [Created ] [ 60] activemq-karaf (5.5.0) [ 127] [Active ] [ ] [ 60] activemq-spring (5.5.0) [ 128] [Active ] [ ] [ 60] Apache Bean Validation :: org.apache.bval.bundle (0.3.0.incubating) [ 129] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: API (4.0.0.beta-2-SNAPSHOT) [ 130] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Core (4.0.0.beta-2-SNAPSHOT) [ 131] [Active ] [ ] [ 60] Java Authentication SPI for Containers (1.1) [ 132] [Active ] [ ] [ 60] Commons Lang (2.6) [ 133] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Java Agent (4.0.0.beta-2-SNAPSHOT) [ 137] [Active ] [ ] [ 60] Geronimo OSGi-enable spec bundle locator (1.0) [ 138] [Active ] [ ] [ 60] OSGI factory registry (1.0) [ 139] [Active ] [ ] [ 60] Activation 1.1 (1.1) [ 140] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Java EE (4.0.0.beta-2-SNAPSHOT) [ 142] [Active ] [ ] [ 60] Apache OpenEJB :: Container :: Loader (4.0.0.beta-2-SNAPSHOT) i still need to install openejb coer-osgi and osgi-core but i have to look about these modules a bit further and it seems some import are missing.
        Hide
        cmoulliard Charles Moulliard added a comment -

        I have created a new patch to solve last dependencies issues discovered on Apache Karaf today.

        Remark : I'm able to deploy a jar file containing an EJB stateless service

        Show
        cmoulliard Charles Moulliard added a comment - I have created a new patch to solve last dependencies issues discovered on Apache Karaf today. Remark : I'm able to deploy a jar file containing an EJB stateless service
        Hide
        cmoulliard Charles Moulliard added a comment -

        I will add a new patch where I have osgified the modules openejb-server and openejb-ejbd

        Show
        cmoulliard Charles Moulliard added a comment - I will add a new patch where I have osgified the modules openejb-server and openejb-ejbd
        Hide
        cmoulliard Charles Moulliard added a comment -

        Will provide soon a new patch with features file modified to deploy openejb on Apache Karaf

        Show
        cmoulliard Charles Moulliard added a comment - Will provide soon a new patch with features file modified to deploy openejb on Apache Karaf
        Hide
        cmoulliard Charles Moulliard added a comment -

        I provide in attachment a new patch to deploy the project on Apache Karaf

        1) Download Apache Karaf 2.2.4
        2) Comment the following line in the $

        {karaf.home}/etc/jre.properties for jre = 1.6
        # javax.annotation;version="1.1", \
        3) Create apps directory in ${karaf.home}

        /apps
        4) Create conf directory in $

        {karaf.home}

        /conf
        5) Add a openejb.xml config file in this directory
        6) Start Karaf
        7) Deploy the features file
        features:addurl mvn:org.apache.openejb/openejb-core-osgi/4.0.0-beta-2-SNAPSHOT/xml/features
        8) Install the project
        features:install openejb-core-osgi
        9) Check in the log that the OpenEJB has been correctly deployed
        10) Deploy in apps directory an EJB stateless example in apps directory (simple-stateless-with-descriptor-1.1-SNAPSHOT.jar)
        11) Check in the log that the EJB is well deployed (log:display)

        Unfortunately, I get this error when a EJB jar is deployed

        Show
        cmoulliard Charles Moulliard added a comment - I provide in attachment a new patch to deploy the project on Apache Karaf 1) Download Apache Karaf 2.2.4 2) Comment the following line in the $ {karaf.home}/etc/jre.properties for jre = 1.6 # javax.annotation;version="1.1", \ 3) Create apps directory in ${karaf.home} /apps 4) Create conf directory in $ {karaf.home} /conf 5) Add a openejb.xml config file in this directory 6) Start Karaf 7) Deploy the features file features:addurl mvn:org.apache.openejb/openejb-core-osgi/4.0.0-beta-2-SNAPSHOT/xml/features 8) Install the project features:install openejb-core-osgi 9) Check in the log that the OpenEJB has been correctly deployed 10) Deploy in apps directory an EJB stateless example in apps directory (simple-stateless-with-descriptor-1.1-SNAPSHOT.jar) 11) Check in the log that the EJB is well deployed (log:display) Unfortunately, I get this error when a EJB jar is deployed
        Show
        cmoulliard Charles Moulliard added a comment - https://issues.apache.org/jira/browse/OPENEJB-1721
        Show
        dblevins David Blevins added a comment - 2011-11-24 - http://svn.apache.org/viewvc?view=revision&revision=1205945 - rmannibucau 2011-12-01 - http://svn.apache.org/viewvc?view=revision&revision=1209244 - rmannibucau 2011-12-05 - http://svn.apache.org/viewvc?view=revision&revision=1210472 - rmannibucau 2011-12-05 - http://svn.apache.org/viewvc?view=revision&revision=1210496 - rmannibucau

          People

          • Assignee:
            Unassigned
            Reporter:
            cmoulliard Charles Moulliard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development