2 Replies Latest reply on Nov 8, 2012 6:02 PM by Stephen Coy

    tld from ear lib not contained in root of web module

    Michal Gebauer Newbie

      We are migrating our project from Websphere 7 to JBoss AS 7 and facing a strange problem with jsf libs. E.g. for tomahawk-1.1.9.jar,which is in ear project, we are getting following exception during server start:

       

      10:48:51,879 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.subunit."xy.ear"."xy-web.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."xy.ear"."xy-web.war".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "xy-web.war" of deployment "xy.ear"

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

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

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

                at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_02]

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

                at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_02]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018097: TLD file /C:/jboss-eap-60/standalone/deployments/xy.ear/tomahawk-1.1.9.jar/META-INF/tomahawk.tld not contained in root /C:/jboss-eap-60/standalone/deployments/xy.ear/xy-web.war

                at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:119)

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

                at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                ... 5 more

      Caused by: java.lang.IllegalArgumentException: Given parent is not an ancestor of this virtual file

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:116)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:122)

                at org.jboss.vfs.VirtualFile.getPathNameRelativeTo(VirtualFile.java:110)

                at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.processTlds(TldParsingDeploymentProcessor.java:117)

                ... 7 more