2 Replies Latest reply on Jan 24, 2005 12:19 PM by Roland Chan

    Start up exception - Content is not allowed in prolog

    James Adams Novice

      I have started getting an exception when I start JBoss, but no idea what is causing it. Can anyone shed any light on what might be going on (or not) which is causing the trouble ? Below is the start of the exception listing in the JBoss console (I am running JBoss 3.2.3 on Windows XP).

      I am only deploying a single application on JBoss. Deployed as an EAR file with a web module (servlets) and EJBs.

      Thanks in advance.


      12:24:47,750 INFO [Engine] StandardWrapper[/web-console:default]: Loading container servlet default
      12:24:47,780 INFO [Engine] StandardWrapper[/web-console:invoker]: Loading container servlet invoker
      12:24:48,240 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/default/deploy/management/web-console.war
      12:24:48,240 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.3/server/default/deploy/grover.ear
      12:24:48,251 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.3/server/default/deploy/grover.ear
      12:24:48,501 ERROR [XmlFileLoader] Content is not allowed in prolog.:1:1
      org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:323)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)