org.xml.sax.SAXParseException: Content is not allowed in prolog.

progress.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OIM Jboss Won't start - URGENT!!! Please Help!

    Oracle Community | 7 years ago | Alex Stanciu
    org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
  2. 0

    [emfWorkbench] Z/OS save of TranslatorResource fails with SAXParseException

    Eclipse Bugzilla | 1 decade ago | bitonti
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error parsing XML file from a HttpServletRequest using JAXP

    Oracle Community | 1 decade ago | 843834
    java.lang.Exception: Could not build document
  5. 0

    Can we do a 32 bit encryption (AES256) in Mule

    Stack Overflow | 6 months ago | Mule_Agent
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    Content is not allowed in prolog.

    at org.apache.xerces.parsers.DOMParser.parse()
  2. Xerces2-j
    DocumentBuilderImpl.parse
    1. org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    2. org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    2 frames
  3. Java RT
    DocumentBuilder.parse
    1. javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    1 frame
  4. Apache Log4j
    DOMConfigurator.configure
    1. org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:690)
    2. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:789)
    3. org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696)
    4. org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:821)
    4 frames
  5. com.sonicsw.xqimpl
    XQContainer.init
    1. com.sonicsw.xqimpl.util.log.XQLog4jConfigurator.setConfiguration(XQLog4jConfigurator.java:93)
    2. com.sonicsw.xqimpl.service.XQContainer.initLog4j(XQContainer.java:468)
    3. com.sonicsw.xqimpl.service.XQContainer.init(XQContainer.java:397)
    3 frames
  6. com.sonicsw.mf
    ContainerImpl.<init>
    1. com.sonicsw.mf.framework.agent.AbstractMBean.<init>(AbstractMBean.java:293)
    2. com.sonicsw.mf.framework.agent.ComponentMBean.<init>(ComponentMBean.java:170)
    3. com.sonicsw.mf.framework.agent.ContainerImpl.internalLoadComponent(ContainerImpl.java:3368)
    4. com.sonicsw.mf.framework.agent.ContainerImpl.loadComponent(ContainerImpl.java:1297)
    5. com.sonicsw.mf.framework.agent.ContainerImpl.loadConfiguredComponent(ContainerImpl.java:473)
    6. com.sonicsw.mf.framework.agent.ContainerImpl.loadConfiguredComponents(ContainerImpl.java:4101)
    7. com.sonicsw.mf.framework.agent.ContainerImpl.loadAllConfiguredComponents(ContainerImpl.java:3937)
    8. com.sonicsw.mf.framework.agent.ContainerImpl.bootFramework(ContainerImpl.java:2225)
    9. com.sonicsw.mf.framework.agent.ContainerImpl.<init>(ContainerImpl.java:313)
    9 frames
  7. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:501)
    4 frames