14 Replies Latest reply on Sep 21, 2012 8:57 AM by camicase82

    error during deployment of seam project on jboss 7.0

    avneesh

      Hi Everyone,

      When i am deploying newly created seam project using ear packaging it showing some error .Those error are not understandable for me. please help me to deploy my ear .

      I am using Jboss 7.0.0 Final Seam 2.2 Final

      stack trace is :::

       

       

      jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "RI_EAR_APP-ear.ear"
      11:33:38,007 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "jboss-seam-2.2.1.Final.jar"
      11:33:38,022 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "RI_EAR_APP-ejb.jar"
      11:33:38,022 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Starting deployment of "RI_EAR_APP.war"
      11:33:39,757 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox.jar in "/E:/Devlopment/Server/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/standalone/deployments/RI_EAR_APP-ear.ear/RI_EAR_APP.war/WEB-INF/lib/itext-2.1.2.jar"  does not point to a valid jar for a Class-Path reference.
      11:33:39,757 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry iText-toolbox-2.1.2.jar in "/E:/Devlopment/Server/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/standalone/deployments/RI_EAR_APP-ear.ear/RI_EAR_APP.war/WEB-INF/lib/itext-2.1.2.jar"  does not point to a valid jar for a Class-Path reference.
      11:33:39,757 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry bcmail-jdk14-138.jar in "/E:/Devlopment/Server/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/standalone/deployments/RI_EAR_APP-ear.ear/RI_EAR_APP.war/WEB-INF/lib/itext-2.1.2.jar"  does not point to a valid jar for a Class-Path reference.
      11:33:39,773 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-2) Class Path entry bcprov-jdk14-138.jar in "/E:/Devlopment/Server/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/standalone/deployments/RI_EAR_APP-ear.ear/RI_EAR_APP.war/WEB-INF/lib/itext-2.1.2.jar"  does not point to a valid jar for a Class-Path reference.
      11:33:39,835 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.subunit."RI_EAR_APP-ear.ear"."RI_EAR_APP.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."RI_EAR_APP-ear.ear"."RI_EAR_APP.war".PARSE: Failed to process phase PARSE of subdeployment "RI_EAR_APP.war" of deployment "RI_EAR_APP-ear.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: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/E:/Devlopment/Server/jboss-as-web-7.0.0.Final/jboss-as-web-7.0.0.Final/standalone/deployments/RI_EAR_APP-ear.ear/RI_EAR_APP.war/WEB-INF/jboss-web.xml"
          at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:66)
          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
          ... 5 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[5,5]
      Message: Unexpected element 'class-loading' encountered
          at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
          at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:182)
          at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:64)
          ... 6 more
      
      11:33:39,913 INFO  [org.jboss.jpa] (MSC service thread 1-1) read persistence.xml for RI_EAR_APP
      11:33:40,241 WARN  [org.jboss.as.protocol] (pool-2-thread-1) Got error closing channel JBREM00206: Channel is not open
      11:33:40,507 INFO  [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "RI_EAR_APP-ear.ear" was rolled back with failure message {"Failed services" => {"jboss.deployment.subunit.\"RI_EAR_APP-ear.ear\".\"RI_EAR_APP.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"RI_EAR_APP-ear.ear\".\"RI_EAR_APP.war\".PARSE: Failed to process phase PARSE of subdeployment \"RI_EAR_APP.war\" of deployment \"RI_EAR_APP-ear.ear\""}}
      11:33:40,507 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) Service status report
        Services which failed to start:
            service jboss.deployment.subunit."RI_EAR_APP-ear.ear"."RI_EAR_APP.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."RI_EAR_APP-ear.ear"."RI_EAR_APP.war".PARSE: Failed to process phase PARSE of subdeployment "RI_EAR_APP.war" of deployment "RI_EAR_APP-ear.ear"
      
      11:33:40,507 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.\"RI_EAR_APP-ear.ear\".\"RI_EAR_APP.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"RI_EAR_APP-ear.ear\".\"RI_EAR_APP.war\".PARSE: Failed to process phase PARSE of subdeployment \"RI_EAR_APP.war\" of deployment \"RI_EAR_APP-ear.ear\""}}}}
      11:33:40,538 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment jboss-seam-2.2.1.Final.jar in 39ms
      11:33:40,538 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) Stopped deployment RI_EAR_APP-ejb.jar in 40ms
      11:33:41,085 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment RI_EAR_APP.war in 584ms
      11:33:41,538 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) Stopped deployment RI_EAR_APP-ear.ear in 1039ms
      11:33:44,320 WARN  [org.jboss.as.protocol] (pool-2-thread-4) Got error closing channel JBREM00206: Channel is not open