12 Replies Latest reply on Jan 3, 2012 5:37 PM by Bruno Feki

    EAR Deployment Failure on JBOSS AS 7

    Bruno Feki Newbie

      Hi,

       

      I have an ear structured as follows:

      core-1.0.ear

           +lib

                +core-jpa-1.0.jar /*JPA 2.0 Entities */

           +core-ejb-1.0.jar     /*EJB 3.1 Lite : Only Stateless Session Beans */

           +core-web-1.0.jar   /* Servlet 3.0 based web application with XHTML/Clean-AJAX UI */

       

      The application.xml of this ear is:

      <?xml version="1.0" encoding="UTF-8"?>

      <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">

        <description>The main application for Bazars project</description>

        <display-name>core</display-name>

        <module>

          <java>lib/core-jpa-1.0.jar</java>

        </module>

        <module>

          <ejb>core-ejb-1.0.jar</ejb>

        </module>

        <module>

          <web>

            <web-uri>core-web-1.0.war</web-uri>

            <context-root>/shops</context-root>

          </web>

        </module>

      </application>

       

      I have already configured my datasource:

      23:30:35,377 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:jboss/datasources/MySqlDS]

       

      However, when i want to deploy the ear on JBOSS AS 7.0.2.Final, I have got the following error:

      23:43:10,068 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "core-1.0.ear"

      23:43:10,360 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "core-web-1.0.war"

      23:43:10,362 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "lib/core-jpa-1.0.jar"

      23:43:10,362 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "core-ejb-1.0.jar"

      23:43:10,580 INFO  [org.jboss.as.server.controller] (HttpManagementService-threads - 1) Deployment of "core-1.0.ear" was rolled back with failure message {"Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"core-1.0.ear\".PARSE missing [jboss.deployment.subunit.\"core-1.0.ear\".\"lib/core-jpa-1.0.jar\".STRUCTURE ]"]}

      23:43:10,602 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment lib/core-jpa-1.0.jar in 20ms

      23:43:10,607 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment core-ejb-1.0.jar in 25ms

      23:43:10,614 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment core-web-1.0.war in 33ms

      23:43:10,620 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment core-1.0.ear in 39ms

       

      The structure of core-jpa-1.0.jar is as follows:

      core-jpa-1.0.jar

           +META-INF

                +persistence.xml

           +com.blazar.*  /*all entities*/

       

      The persistence.xml of this JPA 2.0 jar is:

      <?xml version="1.0" encoding="UTF-8"?>

      <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">

          <persistence-unit name="MySQL5">

              <provider>org.hibernate.ejb.HibernatePersistence</provider>

              <jta-data-source>java:jboss/datasources/MySqlDS</jta-data-source>

              <properties>

                  <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>

              </properties>

          </persistence-unit>

      </persistence>

       

      Please can you be of any help ?

       

      Thanks a lot in advance.

        • 1. Re: EAR Deployment Failure on JBOSS AS 7
          jaikiran pai Master

          Bruno Feki wrote:

           

          The application.xml of this ear is:

          <?xml version="1.0" encoding="UTF-8"?>

          <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">

            <description>The main application for Bazars project</description>

            <display-name>core</display-name>

            <module>

              <java>lib/core-jpa-1.0.jar</java>

            </module>

          Remove this <java> module mapping from the application.xml. You don't need that. The <java> module is used for application clients which is not what you have.

          • 2. Re: EAR Deployment Failure on JBOSS AS 7
            Bruno Feki Newbie

            jaikiran pai wrote:

             

            Remove this <java> module mapping from the application.xml. You don't need that. The <java> module is used for application clients which is not what you have.

            I have removed the module mapping and i have got this error:

             

            16:02:04,984 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.module.service."deployment.core-1.0.ear.core-ejb-1.0.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.core-1.0.ear.core-ejb-1.0.jar".main: Failed to load module: deployment.core-1.0.ear.core-ejb-1.0.jar:main

            at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:67) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

            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]

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

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

            Caused by: org.jboss.modules.ModuleNotFoundException: com.blazar.bazars.corejpa:main

            at org.jboss.modules.ModuleLoader$FutureModule.getModule(ModuleLoader.java:445)

            at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:232)

            at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)

            at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)

            at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)

            at org.jboss.modules.Module.linkImports(Module.java:1041)

            at org.jboss.modules.Module.relink(Module.java:1153)

            at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400)

            at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

            at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

            ... 5 more

             

             

            16:02:04,984 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.module.service."deployment.core-1.0.ear.core-web-1.0.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.core-1.0.ear.core-web-1.0.war".main: Failed to load module: deployment.core-1.0.ear.core-web-1.0.war:main

            at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:67)

            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]

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

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

            Caused by: org.jboss.modules.ModuleNotFoundException: Module com.blazar.bazars.corejpa:main is not found

            at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:121)

            at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245)

            at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)

            at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)

            at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)

            at org.jboss.modules.Module.linkImports(Module.java:1041)

            at org.jboss.modules.Module.relink(Module.java:1153)

            at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400)

            at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204)

            at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64)

            ... 5 more

             

             

            16:02:05,156 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.service."deployment.core-1.0.ear".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.core-1.0.ear".main: Failed to load module: deployment.core-1.0.ear:main

            at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:67) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

            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]

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

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

            Caused by: org.jboss.modules.ModuleNotFoundException: Module com.blazar.bazars.corejpa:main is not found

            at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:121)

            at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245)

            at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)

            at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)

            at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)

            at org.jboss.modules.Module.linkImports(Module.java:1041)

            at org.jboss.modules.Module.relink(Module.java:1153)

            at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400)

            at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

            at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

            ... 5 more

            16:02:06,296 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.module.service.\"deployment.core-1.0.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear\".main: Failed to load module: deployment.core-1.0.ear:main","jboss.module.service.\"deployment.core-1.0.ear.core-web-1.0.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear.core-web-1.0.war\".main: Failed to load module: deployment.core-1.0.ear.core-web-1.0.war:main","jboss.module.service.\"deployment.core-1.0.ear.core-ejb-1.0.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear.core-ejb-1.0.jar\".main: Failed to load module: deployment.core-1.0.ear.core-ejb-1.0.jar:main"}}}}

            • 3. Re: EAR Deployment Failure on JBOSS AS 7
              Stephen Coy Master
              1. What does your application.xml look like now?
              2. Is core-jpa-1.0.jar still in the EAR "lib" directory (it should be)
              • 4. Re: EAR Deployment Failure on JBOSS AS 7
                Bruno Feki Newbie

                Stephen Coy wrote:

                 

                1. What does your application.xml look like now?
                2. Is core-jpa-1.0.jar still in the EAR "lib" directory (it should be)

                 

                Indeed the core-jpa-1.0.jar still in the lib directory of the EAR, The application.xml looks like following:

                <?xml version="1.0" encoding="UTF-8"?>

                <application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd" version="6">

                  <description>The main application for Bazars project</description>

                  <display-name>core</display-name>

                  <module>

                    <ejb>core-ejb-1.0.jar</ejb>

                  </module>

                  <module>

                    <web>

                      <web-uri>core-web-1.0.war</web-uri>

                      <context-root>/shops</context-root>

                    </web>

                  </module>

                </application>

                • 5. Re: EAR Deployment Failure on JBOSS AS 7
                  Stephen Coy Master

                  Can you show the whole log from

                  ... Starting deployment of "core-1.0.ear"

                  until

                  ... Stopped deployment core-1.0.ear

                   

                  Right now I'm guessing that you have a missing dependent jar or something like that.

                  • 6. Re: EAR Deployment Failure on JBOSS AS 7
                    Bruno Feki Newbie

                    Here it is:

                     

                    01:15:19,025 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "core-1.0.ear"

                    01:15:28,807 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "core-web-1.0.war"

                    01:15:28,807 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "core-ejb-1.0.jar"

                    01:15:29,135 INFO  [org.jboss.jpa] (MSC service thread 1-4) read persistence.xml for MySQL5

                    01:15:29,150 INFO  [org.jboss.jpa] (MSC service thread 1-4) read persistence.xml for JunitTestPU

                    01:15:30,275 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to core-1.0.ear

                    01:15:30,291 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added (default provider) org.hibernate dependency to application deployment (since 2 PU(s) didn't specify jboss.as.jpa.providerModule)

                    01:15:30,291 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added org.hibernate dependency to application deployment

                    01:15:30,291 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to core-web-1.0.war

                    01:15:30,291 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to core-ejb-1.0.jar

                    01:15:31,119 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.module.service."deployment.core-1.0.ear.core-ejb-1.0.jar".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.core-1.0.ear.core-ejb-1.0.jar".main: Failed to load module: deployment.core-1.0.ear.core-ejb-1.0.jar:main

                              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:67)

                              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]

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

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

                    Caused by: org.jboss.modules.ModuleNotFoundException: Module com.blazar.bazars.corejpa:main is not found

                              at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:121)

                              at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245)

                              at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)

                              at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)

                              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)

                              at org.jboss.modules.Module.linkImports(Module.java:1041)

                              at org.jboss.modules.Module.relink(Module.java:1153)

                              at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400)

                              at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204)

                              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64)

                              ... 5 more

                     

                     

                    01:15:31,119 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.module.service."deployment.core-1.0.ear.core-web-1.0.war".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.core-1.0.ear.core-web-1.0.war".main: Failed to load module: deployment.core-1.0.ear.core-web-1.0.war:main

                              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:67) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                              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]

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

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

                    Caused by: org.jboss.modules.ModuleNotFoundException: com.blazar.bazars.corejpa:main

                              at org.jboss.modules.ModuleLoader$FutureModule.getModule(ModuleLoader.java:445)

                              at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:232)

                              at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)

                              at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)

                              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)

                              at org.jboss.modules.Module.linkImports(Module.java:1041)

                              at org.jboss.modules.Module.relink(Module.java:1153)

                              at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400)

                              at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                              ... 5 more

                     

                     

                    01:15:31,244 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.module.service."deployment.core-1.0.ear".main: org.jboss.msc.service.StartException in service jboss.module.service."deployment.core-1.0.ear".main: Failed to load module: deployment.core-1.0.ear:main

                              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:67) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                              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]

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

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

                    Caused by: org.jboss.modules.ModuleNotFoundException: Module com.blazar.bazars.corejpa:main is not found

                              at org.jboss.modules.LocalModuleLoader.findModule(LocalModuleLoader.java:121)

                              at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:245)

                              at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:194)

                              at org.jboss.modules.LocalModuleLoader.preloadModule(LocalModuleLoader.java:97)

                              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:176)

                              at org.jboss.modules.Module.linkImports(Module.java:1041)

                              at org.jboss.modules.Module.relink(Module.java:1153)

                              at org.jboss.modules.ModuleLoader.relink(ModuleLoader.java:400)

                              at org.jboss.as.server.moduleservice.ServiceModuleLoader.relinkModule(ServiceModuleLoader.java:204) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                              at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:64) [jboss-as-server-7.0.2.Final.jar:7.0.2.Final]

                              ... 5 more

                     

                     

                    01:15:31,525 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "core-1.0.ear" was rolled back with failure message {"Failed services" => {"jboss.module.service.\"deployment.core-1.0.ear.core-ejb-1.0.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear.core-ejb-1.0.jar\".main: Failed to load module: deployment.core-1.0.ear.core-ejb-1.0.jar:main","jboss.module.service.\"deployment.core-1.0.ear.core-web-1.0.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear.core-web-1.0.war\".main: Failed to load module: deployment.core-1.0.ear.core-web-1.0.war:main","jboss.module.service.\"deployment.core-1.0.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear\".main: Failed to load module: deployment.core-1.0.ear:main"}}

                    01:15:31,572 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment core-ejb-1.0.jar in 50ms

                    01:15:32,588 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment core-web-1.0.war in 1060ms

                    01:15:32,619 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment core-1.0.ear in 1096ms

                    01:15:32,619 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.module.service.\"deployment.core-1.0.ear.core-ejb-1.0.jar\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear.core-ejb-1.0.jar\".main: Failed to load module: deployment.core-1.0.ear.core-ejb-1.0.jar:main","jboss.module.service.\"deployment.core-1.0.ear.core-web-1.0.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear.core-web-1.0.war\".main: Failed to load module: deployment.core-1.0.ear.core-web-1.0.war:main","jboss.module.service.\"deployment.core-1.0.ear\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.core-1.0.ear\".main: Failed to load module: deployment.core-1.0.ear:main"}}}}

                    01:15:39,807 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Arrêt de Coyote HTTP/1.1 sur http--127.0.0.1-8080

                    01:15:39,822 INFO  [org.jboss.as.osgi] (MSC service thread 1-2) JBAS011921: Stopping OSGi Framework

                    • 7. Re: EAR Deployment Failure on JBOSS AS 7
                      Stephen Coy Master

                      There's a couple of things that look suspicious here:

                       

                      01:15:29,150 INFO  [org.jboss.jpa] (MSC service thread 1-4) read persistence.xml for JunitTestPU

                       

                      and

                       

                      Caused by: org.jboss.modules.ModuleNotFoundException: Module com.blazar.bazars.corejpa:main is not found

                       

                      Is "blazar" a typo somewhere (such as in a persistence.xml file)?

                      • 8. Re: EAR Deployment Failure on JBOSS AS 7
                        Bruno Feki Newbie

                        For the JunitTestPU, I have tried to deploy the ear without it in the persistence.xml and it gives the same stacktrace !

                         

                        For "blazar", It is simply a package name and is correctly named "package com.blazar.bazars.corejpa;"

                        • 9. Re: EAR Deployment Failure on JBOSS AS 7
                          Stephen Coy Master

                          It looks as though JBoss is not happy with your PU.

                           

                          Try removing:

                           

                          <provider>org.hibernate.ejb.HibernatePersistence</provider>

                           

                          and

                           

                          <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>

                           

                          from your persistence.xml, both of which should be redundant.

                           

                          Also, have a look at the "Troubleshooting" section of https://docs.jboss.org/author/display/AS7/JPA+Reference+Guide and see if increased logging reveals any more clues.

                          • 10. Re: EAR Deployment Failure on JBOSS AS 7
                            Bruno Feki Newbie

                            I have tried to deploy the ear without these two lines from persistence.xml, unfortunately it does not change anything : The same stacktrace.

                             

                            Moreover, I have tried to deploy the core-jpa-1.0.jar alone into JBOSS and it has been deployed correctly without any error. So, there is no error in my core-jpa-1.0.jar.

                            • 11. Re: EAR Deployment Failure on JBOSS AS 7
                              Stephen Coy Master

                              Can you post your EAR file?

                              • 12. Re: EAR Deployment Failure on JBOSS AS 7
                                Bruno Feki Newbie

                                Thank you for your help. I have resolved the main issue. the problem was in the MANIFEST.MF, I do not need to specify dependencies in that file.

                                 

                                Now the EJBs seems to be deployed correctly, but i still blocked with an new exception with the following stacktrace:

                                 

                                15:00:34,453 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)

                                15:00:34,625 INFO  [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

                                15:00:34,921 INFO  [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.

                                15:00:36,156 INFO  [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem

                                15:00:36,234 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service

                                15:00:36,281 INFO  [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem

                                15:00:36,562 INFO  [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem

                                15:00:36,703 INFO  [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version 3.2.0.Beta2

                                15:00:36,968 INFO  [org.xnio] (MSC service thread 1-3) XNIO Version 3.0.0.Beta3

                                15:00:37,156 INFO  [org.xnio.nio] (MSC service thread 1-3) XNIO NIO Implementation Version 3.0.0.Beta3

                                15:00:40,062 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-3) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jdk1.7.0\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\MiKTeX 2.7\miktex\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:\Program Files\ATI Technologies\ATI Control Panel;C:\apache-maven-3.0.3\bin;C:\jdk1.7.0\bin;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\TortoiseSVN\bin;C:\Program Files\TortoiseGit\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\MySQL\MySQL Server 5.5\bin;.

                                15:00:40,328 INFO  [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem

                                15:00:41,281 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) Listening on /127.0.0.1:9999

                                15:00:41,953 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-3) Démarrage de Coyote HTTP/1.1 sur http--127.0.0.1-8080

                                15:00:41,968 INFO  [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-3) Starting remote JMX connector

                                15:00:44,531 INFO  [org.jboss.as.connector] (MSC service thread 1-1) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)

                                15:00:46,296 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) Bound data source [java:jboss/datasources/ExampleDS]

                                15:00:46,437 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) Bound data source [java:jboss/datasources/MySqlDS]

                                15:00:53,328 INFO  [org.jboss.as.deployment] (MSC service thread 1-2) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0.2.Final\standalone\deployments

                                15:00:53,843 INFO  [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final "Arc" started in 38218ms - Started 98 of 153 services (55 services are passive or on-demand)

                                15:00:54,000 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "core-1.0.ear"

                                15:00:56,828 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "core-ejb-1.0.jar"

                                15:00:56,828 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Starting deployment of "core-web-1.0.war"

                                15:00:57,031 INFO  [org.jboss.jpa] (MSC service thread 1-1) read persistence.xml for MySQL5

                                15:00:57,390 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to core-1.0.ear

                                15:00:57,390 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added (default provider) org.hibernate dependency to application deployment (since 1 PU(s) didn't specify jboss.as.jpa.providerModule)

                                15:00:57,390 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) added org.hibernate dependency to application deployment

                                15:00:57,406 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to core-web-1.0.war

                                15:00:57,406 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) added javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to core-ejb-1.0.jar

                                15:00:58,734 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named ClientCartSessionBean in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/ClientCartSessionBean!java.lang.Iterable

                                    java:app/core-ejb-1.0/ClientCartSessionBean!java.lang.Iterable

                                    java:module/ClientCartSessionBean!java.lang.Iterable

                                    java:global/core-1.0/core-ejb-1.0/ClientCartSessionBean

                                    java:app/core-ejb-1.0/ClientCartSessionBean

                                    java:module/ClientCartSessionBean

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named ShopProductSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/ShopProductSessionEJB!com.blazar.bazars.coreejb.ShopProductSessionBean

                                    java:app/core-ejb-1.0/ShopProductSessionEJB!com.blazar.bazars.coreejb.ShopProductSessionBean

                                    java:module/ShopProductSessionEJB!com.blazar.bazars.coreejb.ShopProductSessionBean

                                    java:global/core-1.0/core-ejb-1.0/ShopProductSessionEJB

                                    java:app/core-ejb-1.0/ShopProductSessionEJB

                                    java:module/ShopProductSessionEJB

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named PackageSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/PackageSessionEJB!com.blazar.bazars.coreejb.PackageSessionBean

                                    java:app/core-ejb-1.0/PackageSessionEJB!com.blazar.bazars.coreejb.PackageSessionBean

                                    java:module/PackageSessionEJB!com.blazar.bazars.coreejb.PackageSessionBean

                                    java:global/core-1.0/core-ejb-1.0/PackageSessionEJB

                                    java:app/core-ejb-1.0/PackageSessionEJB

                                    java:module/PackageSessionEJB

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named UserSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/UserSessionEJB!com.blazar.bazars.coreejb.UserSessionBean

                                    java:app/core-ejb-1.0/UserSessionEJB!com.blazar.bazars.coreejb.UserSessionBean

                                    java:module/UserSessionEJB!com.blazar.bazars.coreejb.UserSessionBean

                                    java:global/core-1.0/core-ejb-1.0/UserSessionEJB

                                    java:app/core-ejb-1.0/UserSessionEJB

                                    java:module/UserSessionEJB

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named CategorySessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/CategorySessionEJB!com.blazar.bazars.coreejb.CategorySessionBean

                                    java:app/core-ejb-1.0/CategorySessionEJB!com.blazar.bazars.coreejb.CategorySessionBean

                                    java:module/CategorySessionEJB!com.blazar.bazars.coreejb.CategorySessionBean

                                    java:global/core-1.0/core-ejb-1.0/CategorySessionEJB

                                    java:app/core-ejb-1.0/CategorySessionEJB

                                    java:module/CategorySessionEJB

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named GroupSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/GroupSessionEJB!com.blazar.bazars.coreejb.GroupSessionBean

                                    java:app/core-ejb-1.0/GroupSessionEJB!com.blazar.bazars.coreejb.GroupSessionBean

                                    java:module/GroupSessionEJB!com.blazar.bazars.coreejb.GroupSessionBean

                                    java:global/core-1.0/core-ejb-1.0/GroupSessionEJB

                                    java:app/core-ejb-1.0/GroupSessionEJB

                                    java:module/GroupSessionEJB

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named OrderProductSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/OrderProductSessionEJB!com.blazar.bazars.coreejb.OrderProductSessionBean

                                    java:app/core-ejb-1.0/OrderProductSessionEJB!com.blazar.bazars.coreejb.OrderProductSessionBean

                                    java:module/OrderProductSessionEJB!com.blazar.bazars.coreejb.OrderProductSessionBean

                                    java:global/core-1.0/core-ejb-1.0/OrderProductSessionEJB

                                    java:app/core-ejb-1.0/OrderProductSessionEJB

                                    java:module/OrderProductSessionEJB

                                 

                                15:00:58,859 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named ProductSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/ProductSessionEJB!com.blazar.bazars.coreejb.ProductSessionBean

                                    java:app/core-ejb-1.0/ProductSessionEJB!com.blazar.bazars.coreejb.ProductSessionBean

                                    java:module/ProductSessionEJB!com.blazar.bazars.coreejb.ProductSessionBean

                                    java:global/core-1.0/core-ejb-1.0/ProductSessionEJB

                                    java:app/core-ejb-1.0/ProductSessionEJB

                                    java:module/ProductSessionEJB

                                 

                                15:00:58,875 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named ShopSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/ShopSessionEJB!com.blazar.bazars.coreejb.ShopSessionBean

                                    java:app/core-ejb-1.0/ShopSessionEJB!com.blazar.bazars.coreejb.ShopSessionBean

                                    java:module/ShopSessionEJB!com.blazar.bazars.coreejb.ShopSessionBean

                                    java:global/core-1.0/core-ejb-1.0/ShopSessionEJB

                                    java:app/core-ejb-1.0/ShopSessionEJB

                                    java:module/ShopSessionEJB

                                 

                                15:00:58,875 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named OrderSessionEJB in deployment unit subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear" are as follows:

                                 

                                    java:global/core-1.0/core-ejb-1.0/OrderSessionEJB!com.blazar.bazars.coreejb.OrderSessionBean

                                    java:app/core-ejb-1.0/OrderSessionEJB!com.blazar.bazars.coreejb.OrderSessionBean

                                    java:module/OrderSessionEJB!com.blazar.bazars.coreejb.OrderSessionBean

                                    java:global/core-1.0/core-ejb-1.0/OrderSessionEJB

                                    java:app/core-ejb-1.0/OrderSessionEJB

                                    java:module/OrderSessionEJB

                                 

                                15:00:59,890 INFO  [org.jboss.jpa] (MSC service thread 1-4) starting Persistence Unit Service 'core-1.0.ear#MySQL5'

                                15:01:00,656 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."core-1.0.ear"."core-ejb-1.0.jar".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."core-1.0.ear"."core-ejb-1.0.jar".INSTALL: Failed to process phase INSTALL of subdeployment "core-ejb-1.0.jar" of deployment "core-1.0.ear"

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

                                    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]

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

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

                                Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

                                    at org.jboss.classfilewriter.ClassFile.define(ClassFile.java:280)

                                    at org.jboss.invocation.proxy.AbstractClassFactory.defineClass(AbstractClassFactory.java:164)

                                    at org.jboss.invocation.proxy.AbstractProxyFactory.getCachedMethods(AbstractProxyFactory.java:145)

                                    at org.jboss.as.ee.component.ViewConfiguration.addViewInterceptor(ViewConfiguration.java:113)

                                    at org.jboss.as.jpa.processor.JPAInterceptorProcessor$2.configure(JPAInterceptorProcessor.java:83)

                                    at org.jboss.as.ee.component.ComponentDescription$DefaultFirstConfigurator.configure(ComponentDescription.java:879)

                                    at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:72)

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

                                    ... 5 more

                                Caused by: java.lang.reflect.InvocationTargetException

                                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.7.0]

                                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [:1.7.0]

                                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [:1.7.0]

                                    at java.lang.reflect.Method.invoke(Method.java:601) [:1.7.0]

                                    at org.jboss.classfilewriter.ClassFile.define(ClassFile.java:275)

                                    ... 12 more

                                Caused by: java.lang.SecurityException: Prohibited package name: java.lang

                                    at java.lang.ClassLoader.preDefineClass(ClassLoader.java:649) [:1.7.0]

                                    at java.lang.ClassLoader.defineClass(ClassLoader.java:785) [:1.7.0]

                                    ... 17 more

                                 

                                15:01:01,671 INFO  [org.hibernate.annotations.common.Version] (MSC service thread 1-4) HCANN000001: Hibernate Commons Annotations {4.0.0.CR2}

                                15:01:01,718 INFO  [org.hibernate.Version] (MSC service thread 1-4) HHH00412:Hibernate Core {4.0.0.CR2}

                                15:01:01,734 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH00206:hibernate.properties not found

                                15:01:01,750 INFO  [org.hibernate.cfg.Environment] (MSC service thread 1-4) HHH00021:Bytecode provider name : javassist

                                15:01:01,828 INFO  [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-4) HHH00204:Processing PersistenceUnitInfo [

                                    name: MySQL5

                                    ...]

                                15:01:03,531 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service thread 1-4) HHH00130:Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

                                15:01:03,812 INFO  [org.hibernate.dialect.Dialect] (MSC service thread 1-4) HHH00400:Using dialect: org.hibernate.dialect.MySQL5Dialect

                                15:01:03,875 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC service thread 1-4) HHH00268:Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

                                15:01:03,906 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service thread 1-4) HHH00397:Using ASTQueryTranslatorFactory

                                15:01:04,546 INFO  [org.hibernate.validator.util.Version] (MSC service thread 1-4) Hibernate Validator 4.2.0.Final

                                15:01:07,281 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "core-1.0.ear" was rolled back with failure message {"Failed services" => {"jboss.deployment.subunit.\"core-1.0.ear\".\"core-ejb-1.0.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"core-1.0.ear\".\"core-ejb-1.0.jar\".INSTALL: Failed to process phase INSTALL of subdeployment \"core-ejb-1.0.jar\" of deployment \"core-1.0.ear\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB ]","jboss.naming.context.java.module.\"core-1.0\".\"core-web-1.0\".env.\"com.blazar.bazars.coreweb.CoreServlet\".userSessionBean missing [ jboss.deployment.subunit.\"core-1.0.ear\".\"core-ejb-1.0.jar\".component.UserSessionEJB.VIEW.\"com.blazar.bazars.coreejb.UserSessionBean\".LOCAL ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB ]"]}

                                15:01:07,281 INFO  [org.jboss.jpa] (MSC service thread 1-3) stopping Persistence Unit Service 'core-1.0.ear#MySQL5'

                                15:01:07,390 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment core-ejb-1.0.jar in 112ms

                                15:01:08,187 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped deployment core-web-1.0.war in 915ms

                                15:01:08,218 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment core-1.0.ear in 951ms

                                15:01:08,234 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.subunit.\"core-1.0.ear\".\"core-ejb-1.0.jar\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"core-1.0.ear\".\"core-ejb-1.0.jar\".INSTALL: Failed to process phase INSTALL of subdeployment \"core-ejb-1.0.jar\" of deployment \"core-1.0.ear\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB ]","jboss.naming.context.java.module.\"core-1.0\".\"core-web-1.0\".env.\"com.blazar.bazars.coreweb.CoreServlet\".userSessionBean missing [ jboss.deployment.subunit.\"core-1.0.ear\".\"core-ejb-1.0.jar\".component.UserSessionEJB.VIEW.\"com.blazar.bazars.coreejb.UserSessionBean\".LOCAL ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".UserSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".PackageSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".OrderProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ShopProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".CategorySessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean.ValidatorFactory missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ClientCartSessionBean ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".ProductSessionEJB ]","jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB.Validator missing [ jboss.naming.context.java.comp.\"core-1.0\".\"core-ejb-1.0\".GroupSessionEJB ]"]}}}

                                 

                                Please can you be of any help ?

                                 

                                Thanks a lot in advance.