Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-739

Random SAXParseException When Parsing activemq.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • JBoss A-MQ 6.1
    • JBoss A-MQ 6.1
    • fabric8
    • None
    • Hide

      Is only occurring at one particular site; have been unable to reproduce.

      Show
      Is only occurring at one particular site; have been unable to reproduce.

      When starting up a broker, ActiveMQServiceFactory encounters a random SAXParseException when parsing the target activemq.xml file. The different instances of SAXParseException carry with it different messages describing the reason for the exception. This works the majority of the time with the same file. ActiveMQServiceFactory.doStart() states that it will try again in 10 seconds, but that is not occurring.

      2014-07-17 06:24:54,090 | INFO | pool-21-thread-1 | ActiveMQServiceFactory | q.fabric.ActiveMQServiceFactory$ 64 | 135 - org.jboss.amq.mq-fabric - 6.1.0.redhat-379 | Broker amq failed to start. Will try again in 10 seconds
      2014-07-17 06:24:54,098 | ERROR | pool-21-thread-1 | ActiveMQServiceFactory | ceFactory$ClusteredConfiguration 452 | 135 - org.jboss.amq.mq-fabric - 6.1.0.redhat-379 | Exception on start: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 303 in XML document from file [/home/mediaworks/jboss-a-mq-6.1.0.redhat-379/etc/activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
      org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 303 in XML document from file [/home/mediaworks/jboss-a-mq-6.1.0.redhat-379/etc/activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)[108:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[108:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]

            Unassigned Unassigned
            Argo_Integration Travis North (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: