4 Replies Latest reply on Sep 13, 2013 4:10 AM by Bogdan B

    jboss-service.xml throws java.lang.IllegalStateException: Not a textual event (START_ELEMENT) when reading the attribute

    Unice Gwe Mbuamuh Newbie

      Hi,

       

      I am having the following exception when deploying a service. I suspect this happens at the level of the attribute declarations in the jboss-service.xml. Am i declaring it wrongly for jboss eap 6.1 Beta? as this worked in Jboss 4 from which i am migrating. Find the jboss-service.xml and beans attached to this discusssion. Thanks.

       

      10:09:21,331 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.subunit."FRMW-ear.ear"."com.ec.frmw.jboss.quartz.service-0.0.1-SNAPSHOT.sar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."FRMW-ear.ear"."com.ec.frmw.jboss.quartz.service-0.0.1-SNAPSHOT.sar".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "com.ec.frmw.jboss.quartz.service-0.0.1-SNAPSHOT.sar" of deployment "FRMW-ear.ear"

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

          at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-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$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_41]

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

          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_41]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS017224: Failed to parse service xml ["/C:/project/jboss-eap-6.1Beta/standalone/deployments/FRMW-ear.ear/com.ec.frmw.jboss.quartz.service-0.0.1-SNAPSHOT.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-4.jar:7.2.0.Final-redhat-4]

          ... 5 more

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

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

          at com.ctc.wstx.sr.BasicStreamReader.getText(BasicStreamReader.java:833)

          at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.getText(XMLExtendedStreamReaderImpl.java:275)

          at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.unexpectedContent(JBossServiceXmlDescriptorParser.java:629)

          at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.parseAttribute(JBossServiceXmlDescriptorParser.java:380)

          at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.parseMBean(JBossServiceXmlDescriptorParser.java:264)

          at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.readElement(JBossServiceXmlDescriptorParser.java:190)

          at org.jboss.as.service.descriptor.JBossServiceXmlDescriptorParser.readElement(JBossServiceXmlDescriptorParser.java:47)

          at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)

          at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)

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

          ... 6 more