7 Replies Latest reply on May 24, 2012 2:59 AM by Avneesh Sisodia

    error in deployment of ear file in jboss 7.0

    Avneesh Sisodia Newbie

      hello All,

           I created a mavenized seam project using eclipse. When I run it on JBoss AS 7.0.0 it is working fine. I am creating ear packaging of that project using a different master pom. When I am deploying that ear on JBoss AS 7.0.0 it failed. I have no idea what is happening in it whith ear structure. I have tried also on JBoss AS 7.1 . same problem I am facing in that also. please help to deploy this ear on JBoss 7.0..

      Thanks.....

       

       

      16:06:37,342 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: 
      Failed to start service jboss.deployment.unit."ritest.ear".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."ritest.ear".
      INSTALL: Failed to process phase INSTALL of deployment "ritest.ear"
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
          at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
          at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
          at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
      Caused by: java.lang.RuntimeException: Error getting reflective information for class org.richfaces.taglib.ColumnsTag
          at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:70)
          at org.jboss.as.ee.component.EEModuleClassDescription$DefaultConfigurator.configure(EEModuleClassDescription.java:144)
          at org.jboss.as.ee.component.EEClassConfigurationProcessor.processClasses(EEClassConfigurationProcessor.java:133)
          at org.jboss.as.ee.component.EEClassConfigurationProcessor.deploy(EEClassConfigurationProcessor.java:76)
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
          ... 5 more
      Caused by: java.lang.NoClassDefFoundError: Lorg/apache/commons/logging/Log;
          at java.lang.Class.getDeclaredFields0(Native Method) [:1.6.0_25]
          at java.lang.Class.privateGetDeclaredFields(Class.java:2291) [:1.6.0_25]
          at java.lang.Class.getDeclaredFields(Class.java:1743) [:1.6.0_25]
          at org.jboss.as.server.deployment.reflect.ClassReflectionIndex.<init>(ClassReflectionIndex.java:57)
          at org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex.getClassIndex(DeploymentReflectionIndex.java:66)
          ... 9 more
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.Log from [Module 
      "deployment.ritest.ear.RI_DEVELOPMENT-1.0.0.war:main" from Service Module Loader]
          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:358)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:330)
          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:307)
          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:101)
          ... 14 more
      
      16:06:37,702 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment 
      of "ritest.ear" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"ritest.ear\".INSTALL" =>
       "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ritest.ear\".INSTALL: Failed to process phase
       INSTALL of deployment \"ritest.ear\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.ritest.
      \"RI_DEVELOPMENT-1.0.0\".\"RI_DEVELOPMENT-1.0.0\".Validator missing [ jboss.naming.context.java.module.ritest.
      \"RI_DEVELOPMENT-1.0.0\" ]","jboss.naming.context.java.comp.ritest.\"RI_DEVELOPMENT-1.0.0\".\"RI_DEVELOPMENT-1.0.0\".
      ValidatorFactory missing [ jboss.naming.context.java.module.ritest.\"RI_DEVELOPMENT-1.0.0\" ]"]}
      16:06:37,702 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) Service status report
         New missing/unsatisfied dependencies:
            service jboss.naming.context.java.module.ritest."RI_DEVELOPMENT-1.0.0" (missing)
        Services which failed to start:
            service jboss.deployment.unit."ritest.ear".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."ritest.ear".
      INSTALL: Failed to process phase INSTALL of deployment "ritest.ear"
      
      16:06:37,702 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.unit.\"ritest.ear\".INSTALL" => "org.jboss.msc.service.
      StartException in service jboss.deployment.unit.\"ritest.ear\".INSTALL: Failed to process phase INSTALL of deployment \"ritest.ear\""},
      "Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.ritest.\"RI_DEVELOPMENT-1.0.0\".
      \"RI_DEVELOPMENT-1.0.0\".Validator missing [ jboss.naming.context.java.module.ritest.\"RI_DEVELOPMENT-1.0.0\" ]",
      "jboss.naming.context.java.comp.ritest.\"RI_DEVELOPMENT-1.0.0\".\"RI_DEVELOPMENT-1.0.0\".ValidatorFactory missing
       [ jboss.naming.context.java.module.ritest.\"RI_DEVELOPMENT-1.0.0\" ]"]}}}
      16:06:44,921 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment RI_DEVELOPMENT-1.0.0.war in 7133ms
      16:06:44,952 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment ritest.ear in 7166ms
      16:06:44,952 INFO  [org.jboss.as.controller] (MSC service thread 1-1) Service status report
         Newly corrected services:
            service jboss.naming.context.java.module.ritest."RI_DEVELOPMENT-1.0.0" (no longer required)
      
      
        • 1. Re: error in deployment of ear file in jboss 7.0
          James Perkins Master

          In AS 7.0.x you need to add a dependency for org.apache.commons.logging. I would think it should work with AS 7.1.x.

          1 of 1 people found this helpful
          • 2. Re: error in deployment of ear file in jboss 7.0
            Avneesh Sisodia Newbie

            Thanks for quick reply James. I resolved that common logging dependency problem by adding jar into lib. now it showing another error..

            It showing deployed with some error but not opening in browser.

            stack trace is::::::::

             

             

            10:16:31,954 INFO  [javax.servlet.ServletContextListener] (MSC service thread 1-1) Welcome to Seam null

            10:16:31,985 WARN  [org.jboss.modules] (MSC service thread 1-1) Failed to define class org.jboss.seam.integration.jbossas.vfs.VFSScanner in Module "deployment.ritest.ear:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/jboss/seam/integration/jbossas/vfs/VFSScanner (Module "deployment.ritest.ear:main" from Service Module Loader)

                at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)

                at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)

                at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)

                at org.jboss.modules.Module.loadModuleClass(Module.java:588)

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

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

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

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

                at org.jboss.seam.deployment.DeploymentStrategy.instantiateScanner(DeploymentStrategy.java:121) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:105) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:61) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.init.Initialization.create(Initialization.java:130) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.2.1.Final.jar:]

                at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]

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

                at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

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

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

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]

            Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/deployment/AbstractScanner

                at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]

                at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]

                at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]

                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]

                at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)

                ... 21 more

            Caused by: java.lang.ClassNotFoundException: org.jboss.seam.deployment.AbstractScanner from [Module "deployment.ritest.ear:main" from Service Module Loader]

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

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

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

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

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

                ... 26 more

             

            10:16:32,001 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/RI_DEVELOPMENT]] (MSC service thread 1-1) Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: java.lang.LinkageError: Failed to link org/jboss/seam/integration/jbossas/vfs/VFSScanner (Module "deployment.ritest.ear:main" from Service Module Loader)

                at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:401)

                at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:261)

                at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:76)

                at org.jboss.modules.Module.loadModuleClass(Module.java:588)

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

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

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

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

                at org.jboss.seam.deployment.DeploymentStrategy.instantiateScanner(DeploymentStrategy.java:121) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.deployment.DeploymentStrategy.initScanner(DeploymentStrategy.java:105) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.deployment.DeploymentStrategy.getScanner(DeploymentStrategy.java:61) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.deployment.StandardDeploymentStrategy.scan(StandardDeploymentStrategy.java:119) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.init.Initialization.create(Initialization.java:130) [jboss-seam-2.2.1.Final.jar:]

                at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) [jboss-seam-2.2.1.Final.jar:]

                at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3368) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.apache.catalina.core.StandardContext.start(StandardContext.java:3821) [jbossweb-7.0.0.CR4.jar:7.0.0.Final]

                at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.0.0.Final.jar:7.0.0.Final]

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

                at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

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

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

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]

            Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/deployment/AbstractScanner

                at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_25]

                at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [:1.6.0_25]

                at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [:1.6.0_25]

                at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [:1.6.0_25]

                at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:397)

                ... 21 more

            Caused by: java.lang.ClassNotFoundException: org.jboss.seam.deployment.AbstractScanner from [Module "deployment.ritest.ear:main" from Service Module Loader]

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

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

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

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

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

                ... 26 more

             

            10:16:32,157 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Initializing Mojarra (1.2_13-b01-FCS) for context '/RI_DEVELOPMENT'

            10:16:35,195 SEVERE [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-1) JSF1051: Service entry 'org.jboss.as.web.deployment.jsf.JsfInjectionProvider' does not extend DiscoverableInjectionProvider.  Entry will be ignored.

            10:16:35,195 INFO  [javax.enterprise.resource.webcontainer.jsf.application] (MSC service thread 1-1) JSF1048: PostConstruct/PreDestroy annotations present.  ManagedBeans methods marked with these annotations will have said annotations processed.

            10:16:35,900 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Error listenerStart

            10:16:35,900 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-1) Context [/RI_DEVELOPMENT] startup failed due to previous errors

            10:16:35,916 INFO  [org.jboss.web] (MSC service thread 1-1) registering web context: /RI_DEVELOPMENT

            10:16:36,025 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployed "ritest.ear"

            • 3. Re: error in deployment of ear file in jboss 7.0
              James Perkins Master

              This looks like Seam might be needing a dependency on VFS. I think if you just add a MANIFEST.MF entry that should fix it. Have a look at https://docs.jboss.org/author/display/AS7/Class+Loading+in+AS7 for more details on class loading.

               

              Adding the following to your META-INF/MANIFEST.MF should do the trick

              Dependencies: org.jboss.vfs,org.apache.commons.logging
              

               

               

              --

              James R. Perkins

              • 4. Re: error in deployment of ear file in jboss 7.0
                Avneesh Sisodia Newbie

                Thakns James,

                Here is my parent pom.xml of seam project :::::::

                 

                 

                <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

                  <modelVersion>4.0.0</modelVersion>

                 

                    <parent>

                        <artifactId>ri-master</artifactId>

                        <groupId>org.jboss.tools</groupId>       

                        <version>1.0.0</version>

                        <relativePath>../pom.xml</relativePath>

                    </parent>

                 

                  <groupId>org.jboss.tools</groupId>

                  <artifactId>ri-parent</artifactId>

                  <version>1.0.0</version>

                  <packaging>pom</packaging>

                  <name>ri-parent</name>

                  <prerequisites>

                    <maven>2.0.9</maven>

                  </prerequisites>

                  <modules>

                    <module>../ri</module>

                  </modules>

                  <properties>

                    <jbpm.version>3.2.2</jbpm.version>

                    <project.version>0.0.1-SNAPSHOT</project.version>

                    <persistence-api.version>1.0</persistence-api.version>

                    <testng.version>5.8</testng.version>

                    <hibernate-commons-annotations.version>3.3.0.ga</hibernate-commons-annotations.version>

                    <jboss.embedded.version>beta3.SP10</jboss.embedded.version>

                    <ejb.api.version>3.0</ejb.api.version>

                    <jsr250-api.version>1.0</jsr250-api.version>

                    <junit.version>3.8.1</junit.version>

                    <drools.version>5.0.1</drools.version>

                    <jbpm3.version>3.2.5.SP5</jbpm3.version>

                    <seam.version>2.2.1.Final</seam.version>

                    <commons.digester.version>1.8</commons.digester.version>

                    <hibernate-validator.version>3.1.0.GA</hibernate-validator.version>

                    <javax.activation.version>1.1</javax.activation.version>

                    <hibernate-entitymanager.version>3.4.0.GA</hibernate-entitymanager.version>

                    <slf4j.version>1.4.2</slf4j.version>

                    <hibernate-annotations.version>3.4.0.GA</hibernate-annotations.version>

                    <richfaces.version>3.3.3.Final</richfaces.version>

                    <jsf.version>1.2_12</jsf.version>

                    <mvel.version>1.2.21</mvel.version>

                    <servlet.version>2.5</servlet.version>

                    <javax.el.version>1.0</javax.el.version>

                  </properties>

                  <dependencyManagement>

                    <dependencies>

                      <dependency>

                        <groupId>org.jboss.tools</groupId>

                        <artifactId>ri</artifactId>

                        <version>0.0.1-SNAPSHOT</version>

                        <type>war</type>

                      </dependency>

                      <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-validator</artifactId>

                        <version>${hibernate-validator.version}</version>

                        <scope>compile</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-annotations</artifactId>

                        <version>${hibernate-annotations.version}</version>

                        <scope>compile</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-entitymanager</artifactId>

                        <version>${hibernate-entitymanager.version}</version>

                        <scope>compile</scope>

                        <exclusions>

                          <exclusion>

                            <artifactId>javassist</artifactId>

                            <groupId>javassist</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam</artifactId>

                        <version>${seam.version}</version>

                        <type>ejb</type>

                        <exclusions>

                          <exclusion>

                            <artifactId>el-api</artifactId>

                            <groupId>javax.el</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>servlet-api</artifactId>

                            <groupId>javax.servlet</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>javassist</artifactId>

                            <groupId>jboss</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>dom4j</artifactId>

                            <groupId>dom4j</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>xpp3_min</artifactId>

                            <groupId>xpp3</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>xstream</artifactId>

                            <groupId>xstream</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-ui</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>servlet-api</artifactId>

                            <groupId>javax.servlet</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-ioc</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>servlet-api</artifactId>

                            <groupId>javax.servlet</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-mail</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>jboss-seam</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jboss-seam-ui</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-pdf</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>jboss-seam</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jboss-seam-ui</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-remoting</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>jboss-seam</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>dom4j</artifactId>

                            <groupId>dom4j</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-excel</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>jboss-seam</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jboss-seam-ui</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam</groupId>

                        <artifactId>jboss-seam-debug</artifactId>

                        <version>${seam.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>servlet-api</artifactId>

                            <groupId>javax.servlet</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jboss-seam</artifactId>

                            <groupId>org.jboss.seam</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>javax.servlet</groupId>

                        <artifactId>servlet-api</artifactId>

                        <version>${servlet.version}</version>

                        <scope>provided</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.richfaces.ui</groupId>

                        <artifactId>richfaces-ui</artifactId>

                        <version>${richfaces.version}</version>

                      </dependency>

                      <dependency>

                        <groupId>org.richfaces.framework</groupId>

                        <artifactId>richfaces-api</artifactId>

                        <version>${richfaces.version}</version>

                        <scope>compile</scope>

                        <exclusions>         

                          <exclusion>

                            <artifactId>commons-collections</artifactId>

                            <groupId>commons-collections</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>commons-beanutils</artifactId>

                            <groupId>commons-beanutils</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.richfaces.framework</groupId>

                        <artifactId>richfaces-impl</artifactId>

                        <version>${richfaces.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>junit</artifactId>

                            <groupId>junit</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jsf-api</artifactId>

                            <groupId>javax.faces</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>servlet-api</artifactId>

                            <groupId>javax.servlet</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jsf-impl</artifactId>

                            <groupId>javax.faces</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>javax.faces</groupId>

                        <artifactId>jsf-api</artifactId>

                        <version>${jsf.version}</version>

                        <scope>provided</scope>

                      </dependency>

                      <dependency>

                        <groupId>javax.faces</groupId>

                        <artifactId>jsf-impl</artifactId>

                        <version>${jsf.version}</version>

                        <scope>provided</scope>

                      </dependency>

                      <dependency>

                        <groupId>junit</groupId>

                        <artifactId>junit</artifactId>

                        <version>${junit.version}</version>

                        <scope>test</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.testng</groupId>

                        <artifactId>testng</artifactId>

                        <version>${testng.version}</version>

                        <classifier>jdk15</classifier>

                        <scope>test</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam.embedded</groupId>

                        <artifactId>hibernate-all</artifactId>

                        <version>${jboss.embedded.version}</version>

                        <scope>test</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam.embedded</groupId>

                        <artifactId>jboss-embedded-all</artifactId>

                        <version>${jboss.embedded.version}</version>

                        <scope>test</scope>

                        <exclusions>

                          <exclusion>

                            <artifactId>jboss-deployers-client-spi</artifactId>

                            <groupId>org.jboss.microcontainer</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jboss.seam.embedded</groupId>

                        <artifactId>thirdparty-all</artifactId>

                        <version>${jboss.embedded.version}</version>

                        <scope>test</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.slf4j</groupId>

                        <artifactId>slf4j-api</artifactId>

                        <version>${slf4j.version}</version>

                        <scope>runtime</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.slf4j</groupId>

                        <artifactId>slf4j-nop</artifactId>

                        <version>${slf4j.version}</version>

                        <scope>runtime</scope>

                       

                      </dependency>

                      <dependency>

                        <groupId>javax.activation</groupId>

                        <artifactId>activation</artifactId>

                        <version>${javax.activation.version}</version>

                        <scope>test</scope>

                      </dependency>

                      <dependency>

                        <groupId>javax.ejb</groupId>

                        <artifactId>ejb-api</artifactId>

                        <version>${ejb.api.version}</version>

                        <scope>provided</scope>

                        <optional>true</optional>

                      </dependency>

                      <dependency>

                        <groupId>javax.annotation</groupId>

                        <artifactId>jsr250-api</artifactId>

                        <version>${jsr250-api.version}</version>

                        <scope>provided</scope>

                        <optional>true</optional>

                      </dependency>

                      <dependency>

                        <groupId>javax.persistence</groupId>

                        <artifactId>persistence-api</artifactId>

                        <version>${persistence-api.version}</version>

                        <scope>provided</scope>

                        <optional>true</optional>

                      </dependency>

                      <dependency>

                        <groupId>org.hibernate</groupId>

                        <artifactId>hibernate-commons-annotations</artifactId>

                        <version>${hibernate-commons-annotations.version}</version>

                        <scope>provided</scope>

                        <optional>true</optional>

                      </dependency>

                      <dependency>

                        <groupId>commons-digester</groupId>

                        <artifactId>commons-digester</artifactId>

                        <version>${commons.digester.version}</version>

                        <scope>compile</scope>

                      </dependency>

                      <dependency>

                        <groupId>javax.el</groupId>

                        <artifactId>el-api</artifactId>

                        <version>${javax.el.version}</version>

                        <scope>provided</scope>

                      </dependency>

                      <dependency>

                        <groupId>org.drools</groupId>

                        <artifactId>drools-compiler</artifactId>

                        <version>${drools.version}</version>

                        <scope>compile</scope>

                        <exclusions>

                          <exclusion>

                            <artifactId>core</artifactId>

                            <groupId>org.eclipse.jdt</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>xercesImpl</artifactId>

                            <groupId>xerces</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>xml-apis</artifactId>

                            <groupId>xml-apis</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>janino</artifactId>

                            <groupId>janino</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>joda-time</artifactId>

                            <groupId>joda-time</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jbpm.jbpm3</groupId>

                        <artifactId>jbpm-jpdl</artifactId>

                        <version>${jbpm3.version}</version>

                        <exclusions>

                          <exclusion>

                            <artifactId>ant</artifactId>

                            <groupId>org.apache.ant</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>ant-launcher</artifactId>

                            <groupId>org.apache.ant</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>hibernate</artifactId>

                            <groupId>org.hibernate</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>bsh</artifactId>

                            <groupId>bsh</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>dom4j</artifactId>

                            <groupId>dom4j</groupId>

                          </exclusion>

                          <exclusion>

                            <artifactId>jackrabbit-core</artifactId>

                            <groupId>org.apache.jackrabbit</groupId>

                          </exclusion>

                        </exclusions>

                      </dependency>

                      <dependency>

                        <groupId>org.jbpm</groupId>

                        <artifactId>jbpm-jpdl</artifactId>

                        <version>${jbpm.version}</version>       

                      </dependency>

                    </dependencies>

                  </dependencyManagement>

                  <repositories>

                    <repository>

                      <releases>

                        <enabled>true</enabled>

                        <updatePolicy>never</updatePolicy>

                      </releases>

                      <snapshots>

                        <enabled>true</enabled>

                        <updatePolicy>never</updatePolicy>

                      </snapshots>

                      <id>jboss-public-repository-group</id>

                      <name>JBoss Community Public Maven Repository</name>

                      <url>https://repository.jboss.org/nexus/content/groups/public/</url>

                    </repository>

                    <repository>

                      <id>default</id>

                      <name>Default Repository</name>

                      <url>file:///www/jakarta.apache.org/builds/jakarta-commons/logging/</url>

                    </repository>

                    <repository>

                      <snapshots>

                        <enabled>false</enabled>

                      </snapshots>

                      <id>jboss</id>

                      <name>JBoss Repository</name>

                      <url>http://repository.jboss.org/maven2</url>

                    </repository>

                    <repository>

                      <releases>

                        <enabled>false</enabled>

                      </releases>

                      <snapshots>

                        <enabled>true</enabled>

                      </snapshots>

                      <id>jboss-snapshots</id>

                      <name>JBoss Snapshot Repository</name>

                      <url>http://snapshots.jboss.org/maven2</url>

                    </repository>

                  </repositories>

                  <pluginRepositories>

                    <pluginRepository>

                      <releases>

                        <enabled>true</enabled>

                        <updatePolicy>never</updatePolicy>

                      </releases>

                      <snapshots>

                        <enabled>true</enabled>

                        <updatePolicy>never</updatePolicy>

                      </snapshots>

                      <id>jboss-public-repository-group</id>

                      <name>JBoss Community Public Maven Repository</name>

                      <url>https://repository.jboss.org/nexus/content/groups/public/</url>

                    </pluginRepository>

                  </pluginRepositories>

                  <build>

                    <plugins>

                      <plugin>

                        <artifactId>maven-compiler-plugin</artifactId>

                        <version>2.3.2</version>

                        <configuration>

                          <source>1.5</source>

                          <target>1.5</target>

                        </configuration>

                      </plugin>

                      <plugin>

                        <artifactId>maven-surefire-plugin</artifactId>

                        <version>2.7.2</version>

                        <configuration>

                          <argLine>-Dsun.lang.ClassLoader.allowArraySyntax=true</argLine>

                        </configuration>

                      </plugin>

                    </plugins>

                  </build>

                </project>

                • 5. Re: error in deployment of ear file in jboss 7.0
                  Avneesh Sisodia Newbie

                  and child pom.xml is::::::

                   

                   

                   

                  <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

                      <parent>

                          <artifactId>ri-parent</artifactId>

                          <groupId>org.jboss.tools</groupId>

                          <version>1.0.0</version>

                          <relativePath>../ri-parent</relativePath>

                      </parent>

                      <modelVersion>4.0.0</modelVersion>

                    <groupId>org.jboss.tools</groupId>

                    <artifactId>ri</artifactId>

                    <version>1.0.0</version>

                    <packaging>war</packaging>

                    <name>ri</name>

                    <build>

                      <sourceDirectory>${basedir}/src/main</sourceDirectory>

                      <resources>

                          <resource>

                              <directory>${basedir}/src/hot</directory>

                              <excludes>

                                  <exclude>**/*.java</exclude>

                              </excludes>

                          </resource>

                          <resource>

                              <directory>${basedir}/src/main</directory>

                              <excludes>

                                  <exclude>**/*.java</exclude>

                              </excludes>

                          </resource>

                      </resources>

                      <plugins>

                        <plugin>

                          <artifactId>maven-war-plugin</artifactId>

                          <version>2.2</version>

                          <configuration>

                            <warSourceDirectory>${basedir}/WebContent</warSourceDirectory>

                            <failOnMissingWebXml>false</failOnMissingWebXml>

                          <warSourceExcludes>WEB-INF/dev/**</warSourceExcludes></configuration>

                        </plugin>

                        <plugin>

                            <groupId>org.codehaus.mojo</groupId>

                            <artifactId>build-helper-maven-plugin</artifactId>

                            <version>1.7</version>

                            <executions>

                                <execution>

                                    <id>add-source</id>

                                    <phase>generate-sources</phase>

                                    <goals>

                                        <goal>add-source</goal>

                                    </goals>

                                    <configuration><sources><source>${basedir}/src/hot</source></sources></configuration>

                                </execution>

                            </executions>

                        </plugin>

                      </plugins>

                      <outputDirectory>${basedir}/ri/build/classes</outputDirectory>

                    </build>

                    <dependencies>

                        <dependency>

                            <groupId>org.hibernate</groupId>

                            <artifactId>hibernate-validator</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.hibernate</groupId>

                            <artifactId>hibernate-annotations</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.hibernate</groupId>

                            <artifactId>hibernate-entitymanager</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam</artifactId>

                            <type>ejb</type>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam-ui</artifactId>

                            <exclusions>

                                <exclusion>

                                    <artifactId>jboss-seam</artifactId>

                                    <groupId>org.jboss.seam</groupId>

                                </exclusion>

                            </exclusions>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam-ioc</artifactId>

                            <exclusions>

                                <exclusion>

                                    <artifactId>jboss-seam</artifactId>

                                    <groupId>org.jboss.seam</groupId>

                                </exclusion>

                            </exclusions>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam-debug</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam-mail</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam-pdf</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.jboss.seam</groupId>

                            <artifactId>jboss-seam-remoting</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>javax.servlet</groupId>

                            <artifactId>servlet-api</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.richfaces.ui</groupId>

                            <artifactId>richfaces-ui</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.richfaces.framework</groupId>

                            <artifactId>richfaces-api</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.richfaces.framework</groupId>

                            <artifactId>richfaces-impl</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>javax.faces</groupId>

                            <artifactId>jsf-api</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>javax.faces</groupId>

                            <artifactId>jsf-impl</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>javax.el</groupId>

                            <artifactId>el-api</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.drools</groupId>

                            <artifactId>drools-compiler</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>org.jbpm</groupId>

                            <artifactId>jbpm-jpdl</artifactId>

                        </dependency>

                        <dependency>

                            <groupId>commons-digester</groupId>

                            <artifactId>commons-digester</artifactId>

                        </dependency>

                        <dependency>

                      <groupId>org.slf4j</groupId>

                      <artifactId>slf4j-api</artifactId>

                  </dependency>

                  <dependency>

                      <groupId>org.slf4j</groupId>

                      <artifactId>slf4j-nop</artifactId>

                  </dependency>

                  <dependency>

                      <groupId>com.google.gwt</groupId>

                      <artifactId>gwt-servlet</artifactId>

                      <version>2.3.0</version>

                  </dependency>

                  <dependency>

                      <groupId>dom4j</groupId>

                      <artifactId>dom4j</artifactId>

                      <version>1.6.1</version>

                  </dependency>

                    </dependencies>

                  </project>

                  • 6. Re: error in deployment of ear file in jboss 7.0
                    Avneesh Sisodia Newbie

                    another pom.xml which I am using to generate ear packaging is::::

                     

                    ri-ear

                     

                     

                    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

                      <modelVersion>4.0.0</modelVersion>

                     

                        <parent>

                            <artifactId>ri-master</artifactId>

                            <groupId>org.jboss.tools</groupId>       

                            <version>1.0.0</version>

                            <relativePath>../pom.xml</relativePath>

                        </parent>

                     

                      <groupId>org.jboss.tools</groupId>

                      <artifactId>ri-ear</artifactId>

                      <version>1.0.0</version>

                      <packaging>ear</packaging>

                      <name>ri-ear</name>

                     

                      <prerequisites>

                        <maven>2.0.9</maven>

                      </prerequisites>

                      <dependencies>

                        <dependency>

                          <groupId>org.jboss.tools</groupId>

                          <artifactId>ri</artifactId>

                          <version>1.0.0</version>

                          <scope>compile</scope>

                          <type>war</type>

                        </dependency>     

                      </dependencies>

                      <repositories>

                        <repository>

                          <releases>

                            <enabled>true</enabled>

                            <updatePolicy>never</updatePolicy>

                          </releases>

                          <snapshots>

                            <enabled>true</enabled>

                            <updatePolicy>never</updatePolicy>

                          </snapshots>

                          <id>jboss-public-repository-group</id>

                          <name>JBoss Community Public Maven Repository</name>

                          <url>https://repository.jboss.org/nexus/content/groups/public/</url>

                        </repository>

                        <repository>

                          <snapshots>

                            <enabled>false</enabled>

                          </snapshots>

                          <id>jboss</id>

                          <name>JBoss Repository</name>

                          <url>http://repository.jboss.org/maven2</url>

                        </repository>

                        <repository>

                          <releases>

                            <enabled>false</enabled>

                          </releases>

                          <snapshots>

                            <enabled>true</enabled>

                          </snapshots>

                          <id>jboss-snapshots</id>

                          <name>JBoss Snapshot Repository</name>

                          <url>http://snapshots.jboss.org/maven2</url>

                        </repository>

                      </repositories> 

                      <build>

                        <finalName>ritest</finalName>

                        <plugins>

                          <plugin>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <version>2.3.2</version>

                            <configuration>

                              <source>1.6</source>

                              <target>1.6</target>

                            </configuration>

                          </plugin>

                          <plugin>

                            <artifactId>maven-surefire-plugin</artifactId>

                            <version>2.7.2</version>

                            <configuration>

                              <argLine>-Dsun.lang.ClassLoader.allowArraySyntax=true</argLine>

                            </configuration>

                          </plugin>

                          <plugin>

                            <artifactId>maven-compiler-plugin</artifactId>

                            <configuration>

                                <modules>

                                    <webModule>

                                      <groupId>org.jboss.tools</groupId>

                                      <artifactId>ri</artifactId>

                                    </webModule>

                                </modules>

                            </configuration>

                          </plugin>

                        </plugins>

                      </build>

                    </project>

                    • 7. Re: error in deployment of ear file in jboss 7.0
                      Avneesh Sisodia Newbie

                      and master-pom whic were using for project build is:::::::

                       

                       

                      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

                        <modelVersion>4.0.0</modelVersion>

                        <groupId>org.jboss.tools</groupId>

                        <artifactId>ri-master</artifactId>

                         <version>1.0.0</version>

                        <packaging>pom</packaging>

                        <name>ri-master</name>

                         

                        <description>

                              This is master pom to wrap project in to ear package

                        </description>

                       

                        <modules>

                          <module>ri-parent</module>

                          <module>ri-ear</module>

                         

                        </modules>

                       

                      <build>

                          <plugins>

                            <plugin>

                              <artifactId>maven-compiler-plugin</artifactId>

                              <version>2.3.2</version>

                              <configuration>

                                <source>1.5</source>

                                <target>1.5</target>

                              </configuration>

                            </plugin>

                            <plugin>

                              <artifactId>maven-surefire-plugin</artifactId>

                              <version>2.7.2</version>

                              <configuration>

                                <argLine>-Dsun.lang.ClassLoader.allowArraySyntax=true</argLine>

                              </configuration>

                            </plugin>

                          </plugins>

                        </build>

                       

                        <dependencyManagement>

                          <dependencies>

                            <dependency>

                              <groupId>org.jboss.tools</groupId>

                              <artifactId>ri-parent</artifactId>

                              <version>1.0.0</version>

                            </dependency>

                            <dependency>

                              <groupId>org.jboss.tools</groupId>

                              <artifactId>ri-ear</artifactId>

                              <type>ear</type>

                              <version>1.0.0</version>

                            </dependency>

                           

                          </dependencies>

                        </dependencyManagement>

                       

                        <repositories>

                          <repository>

                            <releases>

                              <enabled>true</enabled>

                              <updatePolicy>never</updatePolicy>

                            </releases>

                            <snapshots>

                              <enabled>true</enabled>

                              <updatePolicy>never</updatePolicy>

                            </snapshots>

                            <id>jboss-public-repository-group</id>

                            <name>JBoss Community Public Maven Repository</name>

                            <url>https://repository.jboss.org/nexus/content/groups/public/</url>

                          </repository>

                          <repository>

                            <snapshots>

                              <enabled>false</enabled>

                            </snapshots>

                            <id>jboss</id>

                            <name>JBoss Repository</name>

                            <url>http://repository.jboss.org/maven2</url>

                          </repository>

                          <repository>

                            <releases>

                              <enabled>false</enabled>

                            </releases>

                            <snapshots>

                              <enabled>true</enabled>

                            </snapshots>

                            <id>jboss-snapshots</id>

                            <name>JBoss Snapshot Repository</name>

                            <url>http://snapshots.jboss.org/maven2</url>

                          </repository>

                        </repositories>

                       

                          <properties>

                              <swayam-version>1.0.0</swayam-version>

                          </properties>

                      </project>