Uploaded image for project: '{RETIRED} XWiki Enterprise'
  1. {RETIRED} XWiki Enterprise
  2. XE-1302

Deployment on JBoss 7.1.1 Final may failed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 5.0.1, 5.0.2
    • Fix Version/s: None
    • Labels:
    • Environment:
      Windows 7, JDK 6 u 25, Jboss 7.1.1 Final
      Windows 7, JDK 7 u 21, Jboss 7.1.1 Final
      Linux Mint 15 RC1, JDK 7 u 21, Jboss 7.1.1 Final
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      XWiki deploiment on JBoss 7.1.1 may failed during the "structure check" phase: The problem is known at Jboss under this issue: https://issues.jboss.org/browse/WFLY-788

      The deployment Jboss log is:

      18:35:11,626 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "xwiki-enterprise-web-5.0.2.war"
      18:35:56,870 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xerces-2.5.0.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/batik-rasterizer-1.7.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,881 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xalan-2.6.0.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/batik-rasterizer-1.7.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,885 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xml-apis-1.3.04.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/batik-rasterizer-1.7.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,889 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry fop-0.94.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/batik-rasterizer-1.7.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,901 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry batik-js.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/batik-rasterizer-1.7.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,910 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry emory-util-io.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/emory-util-classloader-2.1.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,917 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry emory-util-security.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/emory-util-classloader-2.1.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,923 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry emory-util-io.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/emory-util-security-2.1.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,929 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry avalon-framework-4.2.0.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,931 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry batik-all-1.7.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,934 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-io-1.3.1.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,936 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-logging-1.0.4.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,939 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry fop-hyph.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,941 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry serializer-2.7.0.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,951 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry servlet-2.2.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,959 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xalan-2.7.0.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,961 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xercesImpl-2.7.1.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,964 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry xml-apis-1.3.04.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/fop-1.0.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,971 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jaxb-api.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jaxb-impl-2.1.12.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,974 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry activation.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jaxb-impl-2.1.12.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,976 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jsr173_1.0_api.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jaxb-impl-2.1.12.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,979 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jaxb1-impl.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jaxb-impl-2.1.12.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,983 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-io-1.4.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:56,986 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry commons-cli-1.1.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:57,003 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry sigar-1.6.5.132.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:57,006 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry json-20090211.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/jodconverter-core-3.0-beta-4-xwiki-20110822.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:57,008 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ridl.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/juh-3.2.1.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:57,011 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry jurt.jar in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/juh-3.2.1.jar"  does not point to a valid jar for a Class-Path reference.
      18:35:57,013 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry ../../lib/ in "/D:/jboss-as-7.1.1.Final/content/xwiki-enterprise-web-5.0.2.war/WEB-INF/lib/juh-3.2.1.jar"  does not point to a valid jar for a Class-Path reference.
      18:36:02,938 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."xwiki-enterprise-web-5.0.2.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xwiki-enterprise-web-5.0.2.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "xwiki-enterprise-web-5.0.2.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:1145) [rt.jar:1.7.0_21]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
      	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
      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:110)
      	at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.createAdditionalModule(ManifestClassPathProcessor.java:193) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
      	at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.handlingExistingClassPathEntry(ManifestClassPathProcessor.java:185) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
      	at org.jboss.as.server.deployment.module.ManifestClassPathProcessor.deploy(ManifestClassPathProcessor.java:162) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
      	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
      
      18:36:02,959 INFO  [org.jboss.as.server] (HttpManagementService-threads - 3) JBAS015870: Deploy of deployment "xwiki-enterprise-web-5.0.2.war" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"xwiki-enterprise-web-5.0.2.war\".STRUCTURE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"xwiki-enterprise-web-5.0.2.war\".STRUCTURE: Failed to process phase STRUCTURE of deployment \"xwiki-enterprise-web-5.0.2.war\""}}
      18:36:02,960 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment xwiki-enterprise-web-5.0.2.war in 2ms
      18:36:02,964 INFO  [org.jboss.as.controller] (HttpManagementService-threads - 3) JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."xwiki-enterprise-web-5.0.2.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."xwiki-enterprise-web-5.0.2.war".STRUCTURE: Failed to process phase STRUCTURE of deployment "xwiki-enterprise-web-5.0.2.war"
      

      The exact problem is due to some relative classpath declarations in the MANIFEST.MF file of some Jar files included in the xwiki war file. These files are:

      • juh-3.2.1.jar
      • jurt-3.2.1.jar

      The resolution (and the workaround) is to embedded these jar files without the Classpath entry in their MANIFEST.MF file.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              l.cotonea L. Cotonea
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: