Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3142

VirtualFile error messages

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 7.1.2.Final (EAP)
    • 7.1.0.CR1b
    • VFS
    • None
    • Add error messages with parameters and variables to org.jboss.vfs.VirtualFile, specifically when "Given parent is not an ancestor of this virtual file" is thrown.

    Description

      I'm migrating an app from JBoss 5.0.1 to JBoss 7.1 and getting an error when starting deployment of the EAR. It is almost impossible for me to troubleshoot as the error message is too vague. Please add the virtual file name and any other information that would make this error useful, thank you.

      [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.subunit."xxx-ear.ear"."xxx.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."xxx-ear.ear"."xxx.war".PARSE: Failed to process phase PARSE of subdeployment "oflows.war" of deployment "xxx-ear.ear"
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
      at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
      at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
      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: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:105)
      at org.jboss.as.web.deployment.TldParsingDeploymentProcessor.deploy(TldParsingDeploymentProcessor.java:81)
      at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
      ... 5 more

      Attachments

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            Ben.Maisano Ben Software Engineer (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: