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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Mule_Agent
, 1 year ago
Content is not allowed in prolog.
via Google Groups by Jonathan W Smith, 1 month ago
Content is not allowed in prolog.
via Oracle Community by 802245, 1 year ago
Content is not allowed in prolog.
via Eclipse Bugzilla by bitonti, 1 year ago
via Stack Overflow by Suki
, 2 years ago
Content is not allowed in prolog.
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.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 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.(AbstractMBean.java:293)
at com.sonicsw.mf.framework.agent.ComponentMBean.(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.(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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.