0 Replies Latest reply on Feb 27, 2009 11:01 AM by rogierdoekes

    Startup Exception Content is not allowed in prolog

    rogierdoekes
      Hi,

      Whenever I reboot our Glassfish V2 server, or reload the Flex 2 DS web application, I find an exception.
      Any ideas what I can do to resolve this?


      [#|2009-02-27T13:54:14.072-0500|SEVERE|sun-appserver9.1|com.sun.org.apache.commons.digeste r.Digester|_ThreadID=10;_ThreadName=main;_RequestID=7a943ce2-fb88-41d5-857d-f16e46b8865a;| Parse Fatal Error at line 1 column 1: Content is not allowed in prolog.
      org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Error HandlerWrapper.java:236)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrappe r.java:215)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav a:386)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav a:316)
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch( XMLDocumentScannerImpl.java:899)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:368)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:834)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:764)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1242)
      at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
      at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:656)
      at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:701)
      at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:442)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5117)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
      at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
      at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
      at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
      at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
      at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
      at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer. java:453)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)
      at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
      at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
      at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
      at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
      at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
      at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
      |#]

      [#|2009-02-27T13:54:14.087-0500|SEVERE|sun-appserver9.1|org.apache.catalina.core.StandardC ontext|_ThreadID=10;_ThreadName=main;_RequestID=7a943ce2-fb88-41d5-857d-f16e46b8865a;|PWC1 315: Error reading listeners from TLD
      javax.servlet.ServletException: PWC3037: Exception processing TLD at resource path /WEB-INF/lib/flex-bootstrap-jsp.jar in context /grendel25
      at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:703)
      at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:442)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:5117)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
      at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
      at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
      at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1672)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:955)
      at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
      at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:176)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:192)
      at com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer. java:453)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1231)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:533)
      at org.apache.catalina.startup.Embedded.start(Embedded.java:936)
      at com.sun.enterprise.web.WebContainer.start(WebContainer.java:873)
      at com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:790)
      at com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:84)
      at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:442)
      at com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:120)
      at com.sun.enterprise.server.PEMain.run(PEMain.java:411)
      at com.sun.enterprise.server.PEMain.main(PEMain.java:338)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412)
      Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1269)
      at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
      at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:656)
      at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:701)
      ... 30 more
      |#]