0 Replies Latest reply on Mar 27, 2014 9:38 AM by M R

    Service Archive deployment in JBOSS-EAP-6.1

    M R Newbie

      Hi,

       

      I ma getting the below error when I deploy *.sar (Service Archive File) in jboss-eap-6.1 but I am able to deploy the same *.sar file in jboss-4.0.3 without any error.

       

      Thanks.

       

      6:58:37,732 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."LoggerJMX.sar".PARSE:

      org.jboss.msc.service.StartException in service jboss.deployment.unit."LoggerJMX.sar".PARSE: JBAS018733: Failed to process phase PARSE of deployment "LoggerJMX.sar"

             at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7

      2.0.Final-redhat-8]

             at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-re

      hat-1]

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

             at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]

             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]

             at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

      aused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS017224: Failed to parse service xml ["/D:/jboss-eap-6.1/bin/content/Log

      erJMX.sar/META-INF/jboss-service.xml"]

             at org.jboss.as.service.ServiceDeploymentParsingProcessor.deploy(ServiceDeploymentParsingProcessor.java:102)

             at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7

      2.0.Final-redhat-8]

             ... 5 more

      aused by: java.lang.IllegalStateException: Not a textual event (START_ELEMENT)

             at com.ctc.wstx.sr.BasicStreamReader.throwNotTextual(BasicStreamReader.java:5510)