1 Reply Latest reply on Feb 6, 2012 12:15 PM by Mehboob Alam

    AS7  - RAR deployment issue in build # 548

    Mehboob Alam Newbie

      Standalone rar (not inside of an ear) won't deploy. This is happening on build # 548. It used to work. However, the good news is that if the rar was inside an ear, it now deploys successfully and registers the connection factory.

       

       

      09:51:48,344 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."helloworld.rar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."helloworld.rar".PARSE: Failed to process phase PARSE of deployment "helloworld.rar"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      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_20]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]
      at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: IJ010061: Unexpected element: connection-factories
      at org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:85)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
      ... 5 more
      Caused by: org.jboss.jca.common.metadata.ParserException: IJ010061: Unexpected element: connection-factories
      at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:123)
      at org.jboss.jca.common.metadata.ds.DsParser.parse(DsParser.java:82)
      at org.jboss.as.connector.deployers.processors.DsXmlDeploymentParsingProcessor.deploy(DsXmlDeploymentParsingProcessor.java:80)
      ... 6 more

      09:51:48,360 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015871: Deploy of deployment "myapp.ear" was rolled back with no failure message