9 Replies Latest reply on Apr 17, 2013 1:32 AM by nickarls

    Jboss 7.1.2 Final, Subsonic and string-1.1.0.jar parse error

    pathduck

      Hi,

      I'm deploying the Java media streamer Subsonic ( http://www.subsonic.org/ ) on JBoss 7.1.2 Final and get a parse error on string-1.1.0.jar on deployment:

       

      2012-03-26 18:58:54,437 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: 
       Failed to start service jboss.deployment.unit."subsonic.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."subsonic.war".
       PARSE: Failed to process phase PARSE of deployment "subsonic.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.6.0_18]  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.6.0_18]   
       at java.lang.Thread.run(Thread.java:636) [rt.jar:1.6.0_18]
      
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException:
        JBAS018014: Failed to parse XML descriptor "/content/subsonic.war/WEB-INF/lib/string-1.1.0.jar/META-INF/taglib.tld" at [713,18]   
       at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.parseTLD(TldParsingDeploymentProcessor.java:128)   
       at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:107)  
        at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:83)   
       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
      

       

      (note, error is from 7.1.1 Final but it's the same in 7.1.2, I just don't have access to logs atm)

       

      The problem within string.jar seems to be the bodycontent tag in taglib.tld containing uppercase EMPTY:

       

      <bodycontent>EMPTY</bodycontent>

       

      If I change this to lowercase 'empty' the WAR deploys fine.

       

      So what is the problem here; should the taglib.tld for string-1.1.0.jar be changed, or is JBoss too strict in its's parsing of this file?

       

      This is on JBoss 7.1.2 Final, running on Debian with Java 1.6.0_18.