JBoss not parsing TLD file
martsecurit Aug 20, 2012 9:33 AMHello I am having issues with a WAR containing a custom TLD. This works fine under WebSphere and my tld file validates against these schemas:
this http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd
Despite passing this validation JBoss refuses to parse the tld file. The tld file is stored in the root of the WEB-INF directory.
Here is the error that I receive when deploying in JBoss and the tld is attached.
Any idea what I can do? As I say no worries with WebSphere.
Thanks for reading
--------------------------- start error ---------------------------
14:53:10,755 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.u
nit."my.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."trustbuilder-admin
.war".PARSE: Failed to process phase PARSE of deployment "my.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-ser
ver-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$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor "/C:/
jboss-7.1.1/bin/content/my.war/WEB-INF/tbagTag.tld" at [11,9]
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-ser
ver-7.1.1.Final.jar:7.1.1.Final]
... 5 more
--------------------------- end error ---------------------------
-
tbagTag.tld.zip 903 bytes