2 Replies Latest reply on Jul 11, 2013 4:13 PM by freakyprogrammer

    com.ctc.wstx.exc.WstxParsingException: Received non-all-whitespace CHARACTERS or CDATA event in nextTag(). when JMS stuff added to standalone.xml

    freakyprogrammer Newbie

      Hi I am trying to configure horneq in my server to perform JMS in my standalone.xml as per  this link. https://docs.jboss.org/author/display/AS71/Messaging+configuration. But I am getting the exception while starting the server. I got the following exception.

       

      17:06:11,609 ERROR [org.jboss.as.server] JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

                at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:141) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.ServerService.boot(ServerService.java:266) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:155) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                at java.lang.Thread.run(Thread.java:780) [vm.jar:1.7.0]

       

      Caused by: com.ctc.wstx.exc.WstxParsingException: Received non-all-whitespace CHARACTERS or CDATA event in nextTag().

      at javax.xml.stream.SerializableLocation@368d5a7e

                at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)

                at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)

                at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:464)

                at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1137)

                at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.nextTag(XMLExtendedStreamReaderImpl.java:152) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.as.messaging.MessagingSubsystemParser.processHornetQServer(MessagingSubsystemParser.java:226)

                at org.jboss.as.messaging.MessagingSubsystemParser.readElement(MessagingSubsystemParser.java:156)

                at org.jboss.as.messaging.MessagingSubsystemParser.readElement(MessagingSubsystemParser.java:119)

                at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:894) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_1(StandaloneXml.java:330) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:127) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:100) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

                at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:133) [jboss-as-controller-7.1.1.Final.jar:7.1.1.Final]

                ... 3 more

       

      I have added everything like (<extension module="org.jboss.as.messaging"/>). and ports too. I didn't find any exact reason or resolution for this online. Please help me.