3 Replies Latest reply on Jun 18, 2012 4:19 AM by shuraa

    jboss as 7.1 failed to parse ...tld

    xin.zhang.song

      Hi everyone

       

      There is some error message in log files when I migrate jboss to as 7.

       

      Here are the log message:

       

      13:40:44,202 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."portal.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."portal.war".PARSE: Failed to process phase PARSE of deployment "portal.war"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

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

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

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0]

                at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/F:/JBoss7/jboss-as-7.1.1.Final/bv_framework/content/portal.war/WEB-INF/cache-el.tld" at [11,18]

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

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

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]

                ... 5 more

       

      Thanks!

        • 1. Re: jboss as 7.1 failed to parse ...tld
          shuraa

          Try to remove next line

          {code:xml}

          <bodycontent>jsp</bodycontent>

          {code}

          • 2. Re: jboss as 7.1 failed to parse ...tld
            xin.zhang.song

            but I can't know what will happen if I remove this line. can you explain that why need to remove this line ?

            • 3. Re: jboss as 7.1 failed to parse ...tld
              shuraa

              According to DTD - the default value for the tag <bodycontent> is JSP (case sensitive I guess):

              Provides a hint as to the content of the body of this tag. Primarily

              intended for use by page composition tools.

               

               

              There are currently three values specified:

               

              tagdependent          The body of the tag is interpreted by the tag

                                  implementation itself, and is most likely in a

                                  different "langage", e.g embedded SQL statements.

               

              JSP                    The body of the tag contains nested JSP syntax

               

              empty                    The body must be empty

               

              The default (if not defined) is JSP

               

              #PCDATA ::=  tagdependent | JSP | empty

              1 of 1 people found this helpful