Subsonic.war, JBoss 7.1.1 and string-1.1.0.jar

Need help? Post your questions here.

Moderator: moderators

Subsonic.war, JBoss 7.1.1 and string-1.1.0.jar

Postby Pathduck » Mon Mar 26, 2012 5:24 pm

Hey,
been using Subsonic standalone for a while now, so figured I would try to install on the latest JBoss 7.1.1 Final for the sake of the challenge ;) (and I want SSL).

Setting up JBoss is pretty straightforward, but when I deploy the war I get the following error and the deployment fails:

Code: Select all
2012-03-26 18:58:50,811 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "subsonic.war"
2012-03-26 18:58:54,295 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xml-apis.jar in "/content/subsonic.war/WEB-INF/lib/ant-optional-1.5.1.jar"  does not point to a valid jar for a Class-Path reference.
2012-03-26 18:58:54,308 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xercesImpl.jar in "/content/subsonic.war/WEB-INF/lib/ant-optional-1.5.1.jar"  does not point to a valid jar for a Class-Path reference.
2012-03-26 18:58:54,310 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry optional.jar in "/content/subsonic.war/WEB-INF/lib/ant-optional-1.5.1.jar"  does not point to a valid jar for a Class-Path reference.
2012-03-26 18:58:54,311 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xalan.jar in "/content/subsonic.war/WEB-INF/lib/ant-optional-1.5.1.jar"  does not point to a valid jar for a Class-Path reference.
2012-03-26 18:58:54,315 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jakarta-oro.jar in "/content/subsonic.war/WEB-INF/lib/radeox-1.0-b2.jar"  does not point to a valid jar for a Class-Path reference.
2012-03-26 18:58:54,316 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-logging.jar in "/content/subsonic.war/WEB-INF/lib/radeox-1.0-b2.jar"  does not point to a valid jar for a Class-Path reference.
2012-03-26 18:58:54,317 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry picocontainer.jar in "/content/subsonic.war/WEB-INF/lib/radeox-1.0-b2.jar"  does not point to a valid jar for a Class-Path reference.
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

2012-03-26 18:58:54,450 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment "subsonic.war" was rolled back with failure message {"JBAS014671: Failed services" => {"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\""}}


The WARNings are probably OK, but the error in the string jar is fatal. It is caused by this line:
<bodycontent>EMPTY</bodycontent>

I looked at the DTD and guessing the (strict?) jboss parser fails on case, I changed to this:
<bodycontent>empty</bodycontent>

It has since run fine and no problems so far after changing this :)

Other relevant stuff:
Code: Select all
Linux debian 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 UTC 2010 x86_64 GNU/Linux

java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.10) (6b18-1.8.10-0~lenny2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)


Any idea why this is and if there is a chance it could be fixed in future versions, or if it is the Jboss parser which is at fault here for not accepting a relatively standard jar file?
Image
Pathduck
 
Posts: 27
Joined: Wed Mar 18, 2009 10:14 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests