org.xml.sax.SAXParseException

Content is not allowed in prolog.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web401

Stack trace

  • org.xml.sax.SAXParseException: Content is not allowed in prolog. at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at org.apache.log4j.xml.DOMConfigurator$2.parse(DOMConfigurator.java:690) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:789) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:696) at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:821) at com.sonicsw.xqimpl.util.log.XQLog4jConfigurator.setConfiguration(XQLog4jConfigurator.java:93) at com.sonicsw.xqimpl.service.XQContainer.initLog4j(XQContainer.java:468) at com.sonicsw.xqimpl.service.XQContainer.init(XQContainer.java:397) at com.sonicsw.mf.framework.agent.AbstractMBean.<init>(AbstractMBean.java:293) at com.sonicsw.mf.framework.agent.ComponentMBean.<init>(ComponentMBean.java:170) at com.sonicsw.mf.framework.agent.ContainerImpl.internalLoadComponent(ContainerImpl.java:3368) at com.sonicsw.mf.framework.agent.ContainerImpl.loadComponent(ContainerImpl.java:1297) at com.sonicsw.mf.framework.agent.ContainerImpl.loadConfiguredComponent(ContainerImpl.java:473) at com.sonicsw.mf.framework.agent.ContainerImpl.loadConfiguredComponents(ContainerImpl.java:4101) at com.sonicsw.mf.framework.agent.ContainerImpl.loadAllConfiguredComponents(ContainerImpl.java:3937) at com.sonicsw.mf.framework.agent.ContainerImpl.bootFramework(ContainerImpl.java:2225) at com.sonicsw.mf.framework.agent.ContainerImpl.<init>(ContainerImpl.java:313) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:501)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
Unknown visitor
Unknown visitorOnce,
bernardpaulusbernardpaulus
7 times, last one
34 more bugmates