0 Replies Latest reply on Sep 6, 2007 8:22 AM by wonkwonk

    Installation on Glassfish

    wonkwonk
      I'm trying to us FDS in Glassfish. After deploying the flex.war file I get the following error when the server starts:
      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:195)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrappe r.java:174)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.jav a:388)
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1411)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocum entScannerImpl.java:1017)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImp l.java:645)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDo cumentFragmentScannerImpl.java:508)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:807)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.ja va:737)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1205)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.j ava:522)
      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:5109)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:324)
      at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
      at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
      at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1622)
      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:296)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
      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:864)
      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:597)
      at com.sun.enterprise.server.PELaunch.main(PELaunch.java:294)
      PWC1315: Error reading listeners from TLD
      javax.servlet.ServletException: PWC3037: Exception processing TLD at resource path /WEB-INF/lib/flex-bootstrap-jsp.jar in context /flex
      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:5109)
      at com.sun.enterprise.web.WebModule.start(WebModule.java:324)
      at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
      at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:296)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
      at com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1622)
      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:296)
      at com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:168)
      at com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:184)
      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:864)
      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:597)
      at com.sun.enterprise.server.PELaunch.main(PELaunch.java:294)
      Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java :1231)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.j ava:522)
      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
      09/06 08:49:34 INFO Loading configuration file C:\Program Files\glassfish-v2-b53\domains\domain1\applications\j2ee-modules\flex\WEB-INF\flex\flex-w ebtier-config.xml
      09/06 08:49:35 INFO Loading configuration file C:\Program Files\glassfish-v2-b53\domains\domain1\applications\j2ee-modules\flex\WEB-INF\flex\flex-c onfig.xml
      PWC1412: WebModule[/flex] ServletContext.log():FlexMxmlServlet: Starting Adobe Flex Web Tier Compiler
      PWC1412: WebModule[/flex] ServletContext.log():FlexMxmlServlet: Adobe Flex Web Tier Compiler Build: 166921
      SMGT0007: Self Management Rules service is enabled
      Application server startup complete.

      I can't figure out what xml file is causing the problem.