users@glassfish.java.net

TLD issue

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 May 2008 09:00:46 PDT

I am trying to migrate an enterprise application from SunOne 7 to Glassfish and I am encountering a problem when the server starts when tring to scan a TLD..
Here is the error:
[#|2008-05-08T10:57:45.679-0400|SEVERE|sun-appserver9.1|com.sun.org.apache.commons.digester.Digester|_ThreadID=16;_ThreadName=pool-1-thread-9;_RequestID=914dac33-9d97-4434-900b-106c1790203f;|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(Unknown Source)
        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.commons.digester.Digester.parse(Digester.java:1548)
        at org.apache.catalina.startup.TldConfig.tldScanStream(TldConfig.java:656)

Do you have any idea what is happening? This TLD is working correctly on SunOne 7.
[Message sent by forum member 'adelcast' (adelcast)]

http://forums.java.net/jive/thread.jspa?messageID=273366