2 Replies Latest reply on Jun 15, 2012 2:50 AM by Bajrang Asthana

    Problem while migrating SEAM application from JBoss 4.2 to JBoss 7.1

    Bajrang Asthana Newbie

      I am getting many exceptions while deploying the ear file in JBoss 7.1.

      Structure of ear file-

       

      /META-INF

           /MANIFEST.MF

           /application.xml

           /jboss-app.xml

      /app.jar

      /app.war

      /jboss-seam-debug.jar

      /jboss-seam.jar

       

      Exceptions-

       

          

      I am getting below exceptions while deploying this build in Jboss 7.1-

       

       

      12:34:42,170 INFO  [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence.xml for pro.ear

      12:34:43,092 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named Dispatcher in deployment unit subdeployment "jboss-seam.jar" of deployment "pro.ear.ear" are as follows:

       

          java:global/pro.ear/jboss-seam/Dispatcher!org.jboss.seam.core.LocalDispatcher

          java:app/jboss-seam/Dispatcher!org.jboss.seam.core.LocalDispatcher

          java:module/Dispatcher!org.jboss.seam.core.LocalDispatcher

          java:global/pro.ear/jboss-seam/Dispatcher

          java:app/jboss-seam/Dispatcher

          java:module/Dispatcher

       

      12:34:43,092 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named TransactionListener in deployment unit subdeployment "jboss-seam.jar" of deployment "pro.ear.ear" are as follows:

       

          java:global/pro.ear/jboss-seam/TransactionListener!org.jboss.seam.core.LocalTransactionListener

          java:app/jboss-seam/TransactionListener!org.jboss.seam.core.LocalTransactionListener

          java:module/TransactionListener!org.jboss.seam.core.LocalTransactionListener

          java:global/pro.ear/jboss-seam/TransactionListener

          java:app/jboss-seam/TransactionListener

          java:module/TransactionListener

       

      12:34:43,123 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."pro.ear.ear"."app.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."pro.ear.ear"."app.jar".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "app.jar" of deployment "pro.ear.ear"

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

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

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

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

      Caused by: java.lang.RuntimeException: Error getting reflective information for class no.messageman.pro.ear.core.web.UIAddressBookHandler with ClassLoader ModuleClassLoader for Module "deployment.pro.ear.ear.app.jar:main" from Service Module Loader

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

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

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

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

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

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

          ... 5 more

      Caused by: java.lang.NoClassDefFoundError: Ljavax/faces/component/html/HtmlDataTable;

          at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.6.0_21]

          at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [rt.jar:1.6.0_21]

          at java.lang.Class.getDeclaredFields(Class.java:1743) [rt.jar:1.6.0_21]

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

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

          ... 10 more

      Caused by: java.lang.ClassNotFoundException: javax.faces.component.html.HtmlDataTable from [Module "deployment.pro.ear.ear.app.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.performLoadClassChecked(ConcurrentClassLoader.java:423)

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

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

          ... 15 more

       

      12:34:43,607 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed to start service jboss.deployment.subunit."pro.ear.ear"."app.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."pro.ear.ear"."app.war".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "app.war" of deployment "pro.ear.ear"

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

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

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

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

          at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

      Caused by: java.lang.RuntimeException: Error getting reflective information for class no.messageman.pro.ear.init.ProtectoriaInitServlet with ClassLoader ModuleClassLoader for Module "deployment.pro.ear.ear.app.jar:main" from Service Module Loader

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

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

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

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

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

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

          ... 5 more

      Caused by: java.lang.NoClassDefFoundError: Lno/messageman/sbo/erpadapter/JMSQueueListener;

          at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.6.0_21]

          at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [rt.jar:1.6.0_21]

          at java.lang.Class.getDeclaredFields(Class.java:1743) [rt.jar:1.6.0_21]

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

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

          ... 10 more

      Caused by: java.lang.ClassNotFoundException: no.messageman.sbo.erpadapter.JMSQueueListener from [Module "deployment.pro.ear.ear.app.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.performLoadClassChecked(ConcurrentClassLoader.java:423)

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

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

          ... 15 more

       

      12:34:43,623 INFO  [org.jboss.as] (MSC service thread 1-1) JBAS015951: Admin console listening on http://127.0.0.1:9990

      12:34:43,623 ERROR [org.jboss.as] (MSC service thread 1-1) JBAS015875: JBoss AS 7.1.1.Final "Brontes" started (with errors) in 27386ms - Started 191 of 288 services (10 services failed or missing dependencies, 86 services are passive or on-demand)

      12:34:43,842 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "pro.ear.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"pro.ear.ear\".\"app.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"pro.ear.ear\".\"app.war\".POST_MODULE: Failed to process phase POST_MODULE of subdeployment \"app.war\" of deployment  \"pro.ear.ear\"","jboss.deployment.subunit.\"pro.ear.ear\".\"app.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"pro.ear.ear\".\"app.jar\".POST_MODULE: Failed to process phase POST_MODULE of subdeployment \"app.jar\" of deployment \"pro.ear.ear\""},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListenerMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener]","jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.DispatcherMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher]","jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.DispatcherMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher]","jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListenerMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener]"]}

      12:34:43,951 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test.jar in 113ms

      12:34:43,951 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment app.jar in 115ms

      12:34:43,951 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment jboss-seam.jar in 116ms

      12:34:43,998 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment quartz-1.5.2.jar in 163ms

      12:34:48,107 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment app.war in 4270ms

      12:34:48,294 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment pro.ear.ear in 4456ms

      12:34:48,294 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report

      JBAS014775:    New missing/unsatisfied dependencies:

            service jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher (missing) dependents: [service jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.ValidatorFactory, service jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.Validator]

            service jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener (missing) dependents: [service jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.ValidatorFactory, service jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.Validator]

      JBAS014777:   Services which failed to start:      service jboss.deployment.subunit."pro.ear.ear"."app.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."pro.ear.ear"."app.war".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "app.war" of deployment "pro.ear.ear"

            service jboss.deployment.subunit."pro.ear.ear"."app.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."pro.ear.ear"."app.jar".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "app.jar" of deployment "pro.ear.ear"

       

      12:34:48,310 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"pro.ear.ear\".\"app.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"pro.ear.ear\".\"app.war\".POST_MODULE: Failed to process phase POST_MODULE of subdeployment \"app.war\" of deployment  \"pro.ear.ear\"","jboss.deployment.subunit.\"pro.ear.ear\".\"app.jar\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"pro.ear.ear\".\"app.jar\".POST_MODULE: Failed to process phase POST_MODULE of subdeployment \"app.jar\" of deployment \"pro.ear.ear\""},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListenerMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener]","jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.DispatcherMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.Validatorjboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher]","jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.DispatcherMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.Dispatcher]","jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListenerMissing[jboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener.ValidatorFactoryjboss.naming.context.java.comp.pro.ear.jboss-seam.TransactionListener]"]}}}

       

       

      Please suggest...do I need to define any configuration ?

        • 1. Re: Problem while migrating SEAM application from JBoss 4.2 to JBoss 7.1
          Marek Schmidt Newbie

          Please take a look at:

           

          https://docs.jboss.org/author/display/AS71/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7

           

          especially the Seam parts... You might need to use the jboss-deployment-structure.xml to add dependencies on JSF modules, e.g:

           

          <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">

           

              <deployment>

                  <dependencies>

                       <module name="javax.faces.api" slot="1.2" export="true"/>

                       <module name="com.sun.jsf-impl" slot="1.2" export="true"/>

                  </dependencies>

              </deployment>

              <sub-deployment name="app.war">

                  <exclusions>

                      <module name="javax.faces.api" slot="main"/>

                      <module name="com.sun.jsf-impl" slot="main"/>

                  </exclusions>

                  <dependencies>

                      <module name="javax.faces.api" slot="1.2"/>

                      <module name="com.sun.jsf-impl" slot="1.2"/>

                  </dependencies>

              </sub-deployment>

          </jboss-deployment-structure>

          • 2. Re: Problem while migrating SEAM application from JBoss 4.2 to JBoss 7.1
            Bajrang Asthana Newbie

            I have added this jboss-deployment-structure.xml file. But still I am getting some other errors.

            12:05:28,069 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.subunit."protectoria.ear"."app.jar".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."protectoria.ear"."app.jar".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "app.jar" of deployment "protectoria.ear"

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

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

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

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

            Caused by: java.lang.RuntimeException: Error getting reflective information for class no.messageman.protectoria.core.web.account.provisioning.AccountProvisioningHandler with ClassLoader ModuleClassLoader for Module "deployment.protectoria.ear.app.jar:main" from Service Module Loader

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

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

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

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

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

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

                ... 5 more

            Caused by: java.lang.NoClassDefFoundError: no/messageman/payex/exception/PayexException

                at java.lang.Class.getDeclaredFields0(Native Method) [rt.jar:1.6.0_21]

                at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [rt.jar:1.6.0_21]

                at java.lang.Class.getDeclaredFields(Class.java:1743) [rt.jar:1.6.0_21]

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

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

                ... 10 more

            Caused by: java.lang.ClassNotFoundException: no.messageman.payex.exception.PayexException from [Module "deployment.protectoria.ear.app.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.performLoadClassChecked(ConcurrentClassLoader.java:423)

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

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

                ... 15 more

             

            12:05:28,507 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."protectoria.ear"."app.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."protectoria.ear"."app.war".POST_MODULE: Failed to process phase POST_MODULE of subdeployment "app.war" of deployment "protectoria.ear"

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

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

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

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_21]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_21]

                at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_21]

            Caused by: java.lang.RuntimeException: Error getting reflective information for class no.messageman.protectoria.init.ProtectoriaInitServlet with ClassLoader ModuleClassLoader for Module "deployment.protectoria.ear.app.jar:main" from Service Module Loader

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

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

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

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

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

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

                ... 5 more

            I have added the jars related to payEx in app.jar ........do we have to add additional entries in

            jboss-deployment-structure.xml file ...could you please suggest how can we do that