Deployment Problem - JBAS018014: Failed to parse xml descriptor

Solution Verified - Updated -

Issue

  • We are migrating an application from jboss 4 to eap 6.2.2.
    The application uses the jar : ui.components-1.0.jar , which is packaged in the war. When deploying the application on eap 6.2.2 we have the following error :
jboss.deployment.subunit."archie-ear-2.3.0.jboss6-SNAPSHOT.ear"."archie-war-2.3.0.jboss6-SNAPSHOT.war".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "archie-war-2.3.0.jboss6-SNAPSHOT.war" of deployment "archie-ear-2.3.0.jboss6-SNAPSHOT.ear"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server.jar:7.3.0.Final-redhat-14]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc.jar:1.0.4.GA-redhat-1]
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc.jar:1.0.4.GA-redhat-1]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_55]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_55]
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_55]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "$JBOSS_HOME/bin/content/test.ear/test.war/WEB-INF/lib/ui.components-1.0.jar/META-INF/ui.tld" at [1292,44]
    at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:143)
    at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:122)
    at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:84)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server.jar:7.3.0.Final-redhat-14]
    ... 5 more

The log shows a problem with the file ui.tld found in the jar, knowing that on jboss 4 the application is deployed without any problems. Is it the version of the xsd used by this file that causes the problem ? I couldn't find in the jboss specifications any information about this xsd. Or is it the content of the file itself (ui.tld) that is not valid. Does eap 6.2.2 make extra validations that were not done in version 4 ? Any suggestions for a solution are welcomed.

  • Apache string-1.1.0.jar taglib.tld parsing Error. org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/D:/xxxxxxxxx/xxxxxxxxxx.war/WEB-INF/lib/string-1.1.0.jar/META-INF/taglib.tld" at [713,18]

  • Application has a dependency on spring-modules-validation-0.9.jar. While migrating a Weblogic application to Jboss, the application is failed to deploy on JBoss EAP 6.2. The Jar (and also the version 0.8) works fine with Weblogic server. But, it gives following exception while deploying in EAP 6.2

...
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-13) MSC000001: Failed to start service jboss.deployment.unit."XXXXXXXXX.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."XXXXXXXX.war".PARSE: JBAS018733: Failed to process phase PARSE of deployment "XXXXXXXXX.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.3.0.Final-redhat-14.jar:7.3.0.Final-redhat-14]
...
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/content/XXXXXXX.war/WEB-INF/lib/spring-modules-validation-0.9.jar/META-INF/valang.tld" at [13,23]
...

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.2
  • Red Hat JBoss Portal (JPP)
    • 6.1.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content