1 Reply Latest reply on Jan 13, 2012 7:30 PM by Stephen Coy

    Error parsing tld

    Sebastian Otaegui Newbie

      This works on jboss 4.3 eap (I am trying to make the app work on jboss 7.1 CR1b

       

      {noformat}

      16:45:59,191 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."WLS.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."WLS.war".PARSE: Failed to process phase PARSE of deployment "WLS.war"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]

                at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/root/jboss-as-7.1.0.CR1b/standalone/deployments/WLS.war/WEB-INF/wls.tld" at [16,2]

                at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:126)

                at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:89)

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]

                ... 5 more

      {noformat}

       

       

      The tld in question looks like this:

       

       

      {code}

      <?xml version="1.0" encoding="ISO-8859-1" ?>

       

       

              <!--

      Purpose:

              Defines commons functions for WLS

      -->

       

       

      <taglib>

              <uri>http://www.thewarrantygroup.com/fns/core</uri>

              <description>

              </description>

       

       

              <!--         -->

              <!-- Imports -->

              <!--         -->

              <import>

                      <import-name>BasicTagLibFns</import-name>

                      <import-class>com.aon.awg.jsp.tag.lib.BasicTagLibFns</import-class>

              </import>

       

       

              <!--           -->

              <!-- Functions -->

              <!--           -->

              <function>

                      <name>l</name>

                      <function-class>com.aon.awg.jsp.tag.lib.BasicTagLibFns

                      </function-class>

                      <function-signature>

                              java.lang.String getField(java.lang.String)

                      </function-signature>

                      <description>

                              Returns the field stored in the database used for the given key.

                      </description>

              </function>

      </taglib>

      {code}

       

        • 1. Re: Error parsing tld
          Stephen Coy Master

          Someone else had this problem a few weeks back.

           

          This

           

                  <import>
                          <import-name>BasicTagLibFns</import-name>
                          <import-class>com.aon.awg.jsp.tag.lib.BasicTagLibFns</import-class>
                  </import>

           

          does not exist in any version of the taglib schemas (1.2, 2.0 or 2.1).

           

          I can only assume that:

          • this was some vendor's (WebLogic?) extension at some time
          • earlier versions of JBoss maybe were not validating the descriptor

           

          Try removing it and see what happens.