11 Replies Latest reply on Feb 5, 2012 10:24 AM by napu

    JBoss 7.x error: EJB packaged in a .war

    napu Newbie

      Hi!

       

      I have an application that is packaged in a .war file according to the EE 6 spec (as far as I know). The package has worked in JBoss 6.0/6.1 and GlassFish 3 series.

       

      In JBoss 7.0 and 7.1 the dependencies do not work however; the EJB files can find neither Commons Logging files nor my library JAR package.

       

      The package contents is as follows:

       

      {code}eet.war

      |

      -- WEB-INF/lib/

                    |

                    -- eet-ejb.jar (EJB classes)

                    -- eet-jar.jar (JPA and other common classes)

                    -- commons-logging-1.1.1.jar

      {code}

       

      (And why do I use this packaging instead of using WEB-INF/classes directly: It is a Maven multi-module project.)

       

      /napu

        • 1. Re: JBoss 7.x error: EJB packaged in a .war
          Stephen Coy Master

          You need to be more explicit than "not working".

           

          Are there exceptions at deployment time? Runtime?

           

           

          Panu Korpela wrote:

           

          ...

           

          (And why do I use this packaging instead of using WEB-INF/classes directly: It is a Maven multi-module project.)

           

          ...

           

          That should be fine. The spec says:

          ... the packaging of enterprise bean classes in a WEB-INF/lib .jar is merely a convenience. It is semantically equivalent to packaging the classes within WEB-INF/classes.

           

          Beware that the container will not look for ejb deployment descriptors in these jars.

          • 2. Re: JBoss 7.x error: EJB packaged in a .war
            napu Newbie

            Thanks for the swift reply,

             

            the deployment fails with java.lang.ClassNotFoundExceptions (e.g. on Lorg/apache/commons/logging/Log;)

             

            /napu

            • 3. Re: JBoss 7.x error: EJB packaged in a .war
              Stephen Coy Master

              Please post the full stack trace.

               

              If you can, also add the output of:

               

               

              {code}jar -tf warfilename.war{code}

              • 4. Re: JBoss 7.x error: EJB packaged in a .war
                napu Newbie

                The stack trace is as follows:

                 

                 

                {code}

                13:49:37,201 INFO  [org.jboss.as.server.deployment.repository.impl] (management-handler-threads - 3) JBAS014900: Content added at location /Users/xxx/jboss-as-7.1.0.CR1b/standalone/data/content/35/f7abc88588270d0f1698e9f1272cfb5da475b5/content

                13:49:37,210 INFO  [org.jboss.weld] (MSC service thread 1-5) Stopping weld service

                13:49:37,214 INFO  [org.jboss.jpa] (MSC service thread 1-8) JBAS011403: Stopping Persistence Unit Service 'eet-th-jar-1.0.jar#kk'

                13:49:37,279 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment eet-th-jar-1.0.jar in 72ms

                13:49:37,282 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "eet-th-jar-1.0.jar"

                13:49:37,335 INFO  [org.jboss.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for kk

                13:49:37,346 INFO  [org.jboss.weld] (MSC service thread 1-6) Processing CDI deployment: eet-th-jar-1.0.jar

                13:49:37,356 INFO  [org.jboss.weld] (MSC service thread 1-6) Starting Services for CDI deployment: eet-th-jar-1.0.jar

                13:49:37,360 INFO  [org.jboss.jpa] (MSC service thread 1-5) JBAS011402: Starting Persistence Unit Service 'eet-th-jar-1.0.jar#kk'

                13:49:37,361 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-5) HHH000204: Processing PersistenceUnitInfo [

                          name: kk

                          ...]

                13:49:37,404 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-5) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

                13:49:37,498 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-5) HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect

                13:49:37,500 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-5) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

                13:49:37,501 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-5) HHH000397: Using ASTQueryTranslatorFactory

                13:49:37,594 INFO  [org.jboss.weld] (MSC service thread 1-5) Starting weld service

                13:49:37,653 INFO  [org.jboss.weld.ClassLoading] (MSC service thread 1-5) WELD-000119 Not generating any bean definitions from com.yritys.th.annotaatiot.Tuottaja because of underlying class loading error

                13:49:37,653 INFO  [org.jboss.weld.ClassLoading] (MSC service thread 1-5) catching: org.jboss.weld.resources.spi.ResourceLoadingException: Error loading class com.yritys.th.annotaatiot.Tuottaja

                          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:152) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:86) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:115) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:171) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:336) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81) [jboss-as-weld-7.1.0.CR1b.jar:7.1.0.CR1b]

                          at org.jboss.as.weld.services.WeldService.start(WeldService.java:89) [jboss-as-weld-7.1.0.CR1b.jar:7.1.0.CR1b]

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)

                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0-b219]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0-b219]

                          at java.lang.Thread.run(Thread.java:722) [:1.7.0-b219]

                Caused by: java.lang.NoClassDefFoundError: org/apache/commons/logging/Log

                          at java.lang.Class.getDeclaredMethods0(Native Method) [:1.7.0-b219]

                          at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) [:1.7.0-b219]

                          at java.lang.Class.getDeclaredMethods(Class.java:1808) [:1.7.0-b219]

                          at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:172) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.util.reflection.SecureReflections$8.work(SecureReflections.java:169) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.util.reflection.SecureReflectionAccess.runAndWrap(SecureReflectionAccess.java:63) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.util.reflection.SecureReflections.getDeclaredMethods(SecureReflections.java:169) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.introspector.jlr.WeldClassImpl.<init>(WeldClassImpl.java:233) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.introspector.jlr.WeldClassImpl.of(WeldClassImpl.java:118) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:49) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at org.jboss.weld.resources.ClassTransformer$TransformTypeToWeldClass.apply(ClassTransformer.java:40) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          at com.google.common.collect.ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)

                          at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)

                          at com.google.common.collect.ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)

                          at com.google.common.collect.ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)

                          at com.google.common.collect.ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)

                          at org.jboss.weld.resources.ClassTransformer.loadClass(ClassTransformer.java:149) [weld-core-1.1.4.Final.jar:2011-11-22 20:01]

                          ... 11 more

                Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log from [Module "deployment.eet-th-jar-1.0.jar:main" from Service Module Loader]

                          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                          ... 29 more

                 

                13:49:37,810 INFO  [org.jboss.as.server] (management-handler-threads - 3) JBAS018562: Redeployed "eet-th-jar-1.0.jar"

                13:49:37,810 INFO  [org.jboss.as.server] (management-handler-threads - 3) JBAS018558: Undeployed "eet-th-jar-1.0.jar"

                13:49:37,810 INFO  [org.jboss.as.server] (management-handler-threads - 3) JBAS018565: Replaced deployment "eet-th-jar-1.0.jar" with deployment "eet-th-jar-1.0.jar"

                13:49:38,878 INFO  [org.jboss.as.server.deployment.repository.impl] (management-handler-threads - 4) JBAS014900: Content added at location /Users/xxx/jboss-as-7.1.0.CR1b/standalone/data/content/22/be02257b62984c0aa49554d8bdcac37be6a01c/content

                13:49:38,882 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "eet-th-ejb-1.0.jar"

                13:49:38,945 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."eet-th-ejb-1.0.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."eet-th-ejb-1.0.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "eet-th-ejb-1.0.jar"

                          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0-b219]

                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0-b219]

                          at java.lang.Thread.run(Thread.java:722) [:1.7.0-b219]

                Caused by: java.lang.RuntimeException: Error getting reflective information for class com.yritys.th.dao.KirjaDaoEJB with ClassLoader ModuleClassLoader for Module "deployment.eet-th-ejb-1.0.jar:main" from Service Module Loader

                          at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                          at org.jboss.as.ee.metadata.MethodAnnotationAggregator.runtimeAnnotationInformation(MethodAnnotationAggregator.java:58)

                          at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.handleAnnotations(InterceptorAnnotationProcessor.java:70)

                          at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:117)

                          at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)

                          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                          ... 5 more

                Caused by: java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log;

                          at java.lang.Class.getDeclaredFields0(Native Method) [:1.7.0-b219]

                          at java.lang.Class.privateGetDeclaredFields(Class.java:2308) [:1.7.0-b219]

                          at java.lang.Class.getDeclaredFields(Class.java:1760) [:1.7.0-b219]

                          at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                          at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                          ... 10 more

                Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log from [Module "deployment.eet-th-ejb-1.0.jar:main" from Service Module Loader]

                          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)

                          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)

                          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)

                          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)

                          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)

                          ... 15 more

                 

                13:49:38,981 INFO  [org.jboss.as.server] (management-handler-threads - 4) JBAS015856: Undeploy of deployment "eet-th-ejb-1.0.jar" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"eet-th-ejb-1.0.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"eet-th-ejb-1.0.jar\".POST_MODULE: Failed to process phase POST_MODULE of deployment \"eet-th-ejb-1.0.jar\""}}

                13:49:38,981 INFO  [org.jboss.as.controller] (management-handler-threads - 4) JBAS014774: Service status report

                JBAS014777:   Services which failed to start:      service jboss.deployment.unit."eet-th-ejb-1.0.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."eet-th-ejb-1.0.jar".POST_MODULE: Failed to process phase POST_MODULE of deployment "eet-th-ejb-1.0.jar"

                 

                13:49:38,990 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) Stopped deployment eet-th-ejb-1.0.jar in 8ms{code}

                 

                 

                And the war package:

                 

                 

                {code}

                     0 Sun Feb 05 13:48:00 EET 2012 META-INF/

                   129 Sun Feb 05 13:47:58 EET 2012 META-INF/MANIFEST.MF

                     0 Sun Feb 05 13:47:56 EET 2012 resources/

                     0 Sun Feb 05 13:47:56 EET 2012 resources/css/

                     0 Sun Feb 05 13:47:56 EET 2012 resources/th/

                     0 Sun Feb 05 13:47:56 EET 2012 sivut/

                     0 Sun Feb 05 13:47:56 EET 2012 sivut/css/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/classes/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/classes/com/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/classes/com/yritys/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/classes/com/yritys/th/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/classes/com/yritys/th/web/

                     0 Sun Feb 05 13:47:56 EET 2012 WEB-INF/lib/

                  1416 Tue Mar 01 02:40:58 EET 2011 resources/css/tausta.jpg

                   220 Tue Mar 01 02:40:58 EET 2011 resources/css/tyylit.css

                   825 Tue Mar 01 02:40:58 EET 2011 resources/th/kirjatietotulostaja.xhtml

                  1416 Tue Mar 01 02:40:58 EET 2011 sivut/css/tausta.jpg

                   201 Tue Mar 01 02:40:58 EET 2011 sivut/css/tyylit.css

                  1926 Tue Mar 01 02:40:58 EET 2011 sivut/eka.xhtml

                  1926 Tue Mar 01 02:40:58 EET 2011 sivut/kirjaluettelo.xhtml

                  1368 Tue Mar 01 02:40:58 EET 2011 sivut/kirjamuokkaus-orig.xhtml

                  2318 Tue Mar 01 02:40:58 EET 2011 sivut/kirjamuokkaus.xhtml

                  1198 Tue Mar 01 02:40:58 EET 2011 sivut/kirjapaivitetty.xhtml

                  1391 Tue Mar 01 02:40:58 EET 2011 sivut/kirjatiedot.xhtml

                  1916 Tue Mar 01 02:40:58 EET 2011 sivut/paivitystormays.xhtml

                   272 Tue Mar 01 02:40:58 EET 2011 WEB-INF/beans.xml

                  3476 Sun Feb 05 13:47:42 EET 2012 WEB-INF/classes/com/yritys/th/web/jsfkomp/AjaxValidointiBehaviour.class

                   900 Sun Feb 05 13:47:42 EET 2012 WEB-INF/classes/com/yritys/th/web/jsfkomp/TekstiBehaviour.class

                  1703 Sun Feb 05 13:47:40 EET 2012 WEB-INF/classes/com/yritys/th/web/jsfkomp/TekstiBehaviourHandler.class

                   765 Sun Feb 05 13:47:42 EET 2012 WEB-INF/classes/com/yritys/th/web/jsfkomp/VarmistusBehaviour.class

                  2343 Sun Feb 05 13:47:42 EET 2012 WEB-INF/classes/com/yritys/th/web/KielialueBB.class

                  2464 Sun Feb 05 13:47:40 EET 2012 WEB-INF/classes/com/yritys/th/web/KirjaluetteloBB.class

                  4428 Sun Feb 05 13:47:42 EET 2012 WEB-INF/classes/com/yritys/th/web/KirjatietoBB.class

                   537 Sun Feb 05 13:47:38 EET 2012 WEB-INF/classes/com/yritys/th/web/Sanomaresurssit_en.properties

                   512 Sun Feb 05 13:47:38 EET 2012 WEB-INF/classes/com/yritys/th/web/Sanomaresurssit_fi.properties

                   247 Sun Feb 05 13:47:38 EET 2012 WEB-INF/classes/com/yritys/th/web/Tekstiresurssit_en.properties

                   257 Sun Feb 05 13:47:38 EET 2012 WEB-INF/classes/com/yritys/th/web/Tekstiresurssit_fi.properties

                  1270 Sun Feb 05 13:47:40 EET 2012 WEB-INF/classes/com/yritys/th/web/ValittuKirjaBB.class

                   750 Tue Mar 01 02:40:58 EET 2011 WEB-INF/faces-config.xml

                55420 Wed Jun 15 13:16:48 EEST 2011 WEB-INF/lib/commons-logging-1.1.1.jar

                12683 Sun Feb 05 13:47:26 EET 2012 WEB-INF/lib/eet-th-ejb-1.0.jar

                15293 Sun Feb 05 13:46:52 EET 2012 WEB-INF/lib/eet-th-jar-1.0.jar

                   980 Tue Mar 01 02:40:58 EET 2011 WEB-INF/omat-tagit.xml

                   850 Tue Mar 01 02:40:58 EET 2011 WEB-INF/web.xml

                     0 Sun Feb 05 13:48:00 EET 2012 META-INF/maven/

                     0 Sun Feb 05 13:48:00 EET 2012 META-INF/maven/com.yritys.th/

                     0 Sun Feb 05 13:48:00 EET 2012 META-INF/maven/com.yritys.th/eet-th-web/

                  5734 Sun Feb 05 10:49:16 EET 2012 META-INF/maven/com.yritys.th/eet-th-web/pom.xml

                   134 Sun Feb 05 13:47:58 EET 2012 META-INF/maven/com.yritys.th/eet-th-web/pom.properties{code}

                 

                 

                OpenJDK 1.7 on Mac OS X 10.7.3 if that is of any relevance. I use jboss-as-maven-plugin for deploying.

                 

                 

                /napu

                • 5. Re: JBoss 7.x error: EJB packaged in a .war
                  Stephen Coy Master

                  Does it work with the "stock" java 6 that comes from Apple?

                   

                  I know that there is not yet a "final" jdk 7 for MacOS.

                   

                  I note that you're building with Maven, which is a good thing.

                   

                  You haven't by any chance added manifest classpath entries to your eet-th-ejb-1.0.jar? (Possibly left over from an older EAR style deployment)

                  • 6. Re: JBoss 7.x error: EJB packaged in a .war
                    napu Newbie

                    Hi,

                     

                    tried it with Java 6 - no change (did full clean with Maven before installing). Also I checked the manifest files and the only contained the basic build stuff like:

                     

                    {code}

                    Manifest-Version: 1.0

                    Archiver-Version: Plexus Archiver

                    Created-By: Apache Maven

                    Built-By: xxx

                    Build-Jdk: 1.7.0-b219{code}

                     

                     

                    I'll fire up a Windows virtual machine and try with if you don't spot any other possible errors.

                     

                    Thanks,

                     

                    /napu

                    • 7. Re: JBoss 7.x error: EJB packaged in a .war
                      jaikiran pai Master

                      Please also post the output of

                       

                      jar -tf commons-logging-1.1.1.jar

                       

                      The exact same commons-logging-1.1.1.jar that's contained in your .war/WEB-INF/lib folder

                      • 8. Re: JBoss 7.x error: EJB packaged in a .war
                        Stephen Coy Master

                        Panu Korpela wrote:

                         

                        ...

                        I'll fire up a Windows virtual machine and try with if you don't spot any other possible errors.

                        ...

                         

                        I use a Mac all the time for JBoss and I have not experienced this problem. I've only been running Java 6 though...

                        • 9. Re: JBoss 7.x error: EJB packaged in a .war
                          napu Newbie

                          Here you go:

                           

                           

                          {code}

                          META-INF/

                          META-INF/MANIFEST.MF

                          org/

                          org/apache/

                          org/apache/commons/

                          org/apache/commons/logging/

                          org/apache/commons/logging/impl/

                          org/apache/commons/logging/impl/AvalonLogger.class

                          org/apache/commons/logging/impl/Jdk13LumberjackLogger.class

                          org/apache/commons/logging/impl/Jdk14Logger.class

                          org/apache/commons/logging/impl/Log4JLogger.class

                          org/apache/commons/logging/impl/LogFactoryImpl$1.class

                          org/apache/commons/logging/impl/LogFactoryImpl$2.class

                          org/apache/commons/logging/impl/LogFactoryImpl$3.class

                          org/apache/commons/logging/impl/LogFactoryImpl.class

                          org/apache/commons/logging/impl/LogKitLogger.class

                          org/apache/commons/logging/impl/NoOpLog.class

                          org/apache/commons/logging/impl/ServletContextCleaner.class

                          org/apache/commons/logging/impl/SimpleLog$1.class

                          org/apache/commons/logging/impl/SimpleLog.class

                          org/apache/commons/logging/impl/WeakHashtable$1.class

                          org/apache/commons/logging/impl/WeakHashtable$Entry.class

                          org/apache/commons/logging/impl/WeakHashtable$Referenced.class

                          org/apache/commons/logging/impl/WeakHashtable$WeakKey.class

                          org/apache/commons/logging/impl/WeakHashtable.class

                          org/apache/commons/logging/Log.class

                          org/apache/commons/logging/LogConfigurationException.class

                          org/apache/commons/logging/LogFactory$1.class

                          org/apache/commons/logging/LogFactory$2.class

                          org/apache/commons/logging/LogFactory$3.class

                          org/apache/commons/logging/LogFactory$4.class

                          org/apache/commons/logging/LogFactory$5.class

                          org/apache/commons/logging/LogFactory$6.class

                          org/apache/commons/logging/LogFactory.class

                          org/apache/commons/logging/LogSource.class

                          META-INF/maven/

                          META-INF/maven/commons-logging/

                          META-INF/maven/commons-logging/commons-logging/

                          META-INF/maven/commons-logging/commons-logging/pom.xml

                          META-INF/maven/commons-logging/commons-logging/pom.properties{code}

                           

                           

                          /napu

                          • 10. Re: JBoss 7.x error: EJB packaged in a .war
                            napu Newbie

                            And the exact same problem manifested itself on my Windows 7 VM.

                             

                            As this code has been created only for training purposes I can well distribute it if you want to check/test the contents. The database setup etc. will of course be some work.

                             

                            /napu

                            • 11. Re: JBoss 7.x error: EJB packaged in a .war
                              napu Newbie

                              And my bad: the problem was with the new (or at least for me new) jboss-as-maven-plugin.

                               

                              It tried to deploy all the projects separately and thus the missing dependency problems. A simple deploy-by-copy worked. Now to correct my pom's...

                               

                              Thanks to both of you and sorry for taking your time!

                               

                              /napu