4 Replies Latest reply on Apr 28, 2015 8:17 PM by Lyle Wang

    JBAS018014: Failed to parse XML descriptor

    Manish Sharma Newbie

      Hi,

      I am migrating an application from Glassfish 2.1 (already in production with no issues) to JBOSS 6.4 GA version (development mode).

      I encountered below error:

      JBAS018014: Failed to parse XML descriptor

      ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      [Server:server-one]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]

      [Server:server-two]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]

      [Server:server-one]     at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]

      [Server:server-one] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/C:/Program Files/J

      BOSSEap/content/ARP3.ear/ARP3.war/WEB-INF/lib/f1jtaglib.jar/META-INF/f1taglib.tld" at [3,2]

      [Server:server-two]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]

      [Server:server-two]     at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]

      [Server:server-one]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:143)

      [Server:server-one]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:122)

      [Server:server-two] Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/C:/Program Files/J

      BOSSEap/content/ARP3.ear/ARP3.war/WEB-INF/lib/f1jtaglib.jar/META-INF/f1taglib.tld" at [3,2]

      [Server:server-one]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:84)

      [Server:server-two]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:143)

      [Server:server-one]     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.0.Final-red

      hat-21.jar:7.5.0.Final-redhat-21]

      [Server:server-two]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:122)

      [Server:server-two]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:84)

      [Server:server-two]     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.0.Final-red

      hat-21.jar:7.5.0.Final-redhat-21]

      [Server:server-one]     ... 5 more

      [Server:server-two]     ... 5 more

      [Server:server-one] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,2]

      [Server:server-two] Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,2]

      [Server:server-one] Message: Unexpected element 'tlibversion' encountered

      [Server:server-two] Message: Unexpected element 'tlibversion' encountered

      [Server:server-one]     at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)

      [Server:server-two]     at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)

      [Server:server-one]     at org.jboss.metadata.parser.jsp.TldMetaDataParser.parse(TldMetaDataParser.java:146)

      [Server:server-two]     at org.jboss.metadata.parser.jsp.TldMetaDataParser.parse(TldMetaDataParser.java:146)

      [Server:server-one]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:141)

      [Server:server-two]     at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:141)

       

      ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

      I am attaching the file f1taglib.tld file which was part of standard jar f1jtaglib.jar file.

      The MANIFEST.MF file of this jar have content

      ------------------------------------------------------------------------------------------------------------------------------

      Manifest-Version: 1.0

      Ant-Version: Apache Ant 1.6.1

      Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)

       

       

      Name: com/f1j/swing/JBook.class

      Java-Bean: True

      ---------------------------------------------------------------------------------------------------------

      Thanks in advance for any help on above.

       

      Regards,

      Manish Sharma