RuntimeException Building WildFly 9.0.2 Final
robert.pepersack Apr 25, 2016 10:06 AMHello all,
I'm trying to downgrade JSF in WildFly 9.0.2 from 2.2 to 2.1.3. I'm using Windows 7, apache-maven-3.2.3, and JDK 1.8.0_71. I followed the instructions here Steps to add any new JSF implementation or version to WildFly and downloaded WildFly from here Release 9.0.2.Final · wildfly/wildfly · GitHub
The sub-projects build successfully up through "Full Feature Pack" and the build fails on the "Build" sub-project with this exception when I build using the -e parameter:
[ERROR] Failed to execute goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build (server-provisioning) on project wildfly-build: Execution server-provisioning of goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build failed: java.lang.RuntimeException: java.lang.RuntimeException: Failed to process feature pack C:\bit9prog\dev\wildfly-9.0.2.Final.src\wildfly-9.0.2.Final\feature-pack\target\wildfly-9.0.2.Final.zip modules: Could not extract resources from org.apache.cxf:cxf-rt-transports-http-hc: error in opening zip file -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build (server-provisioning) on project wildfly-build: Execution server-provisioning of goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build failed: java.lang.RuntimeException: java.lang.RuntimeException: Failed to process feature pack C:\bit9prog\dev\wildfly-9.0.2.Final.src\wildfly-9.0.2.Final\feature-pack\target\wildfly-9.0.2.Final.zip modules
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution server-provisioning of goal org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build failed: java.lang.Runtim
eException: java.lang.RuntimeException: Failed to process feature pack C:\bit9prog\dev\wildfly-9.0.2.Final.src\wildfly-9.0.2.Final\feature-pack\target\wildfly-9.0.2.Final.zip modules
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: Failed to process feature pack C:\bit9prog\dev\wildfly-9.0.2.Final.src\wildfly-9.0.2.Final\feature-pack\t
arget\wildfly-9.0.2.Final.zip modules
at org.wildfly.build.plugin.ServerProvisioningMojo.execute(ServerProvisioningMojo.java:124)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 20 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed to process feature pack C:\bit9prog\dev\wildfly-9.0.2.Final.src\wildfly-9.0.2.Final\feature-pack\target\wildfly-9.0.2.Final.zi
p modules
at org.wildfly.build.provisioning.ServerProvisioner.build(ServerProvisioner.java:116)
at org.wildfly.build.plugin.ServerProvisioningMojo.execute(ServerProvisioningMojo.java:122)
... 21 more
Caused by: java.lang.RuntimeException: Failed to process feature pack C:\bit9prog\dev\wildfly-9.0.2.Final.src\wildfly-9.0.2.Final\feature-pack\target\wildfly-9.0.2.Final.zip modules
at org.wildfly.build.provisioning.ServerProvisioner.processFeaturePackModules(ServerProvisioner.java:274)
at org.wildfly.build.provisioning.ServerProvisioner.processModules(ServerProvisioner.java:197)
at org.wildfly.build.provisioning.ServerProvisioner.build(ServerProvisioner.java:106)
... 22 more
Caused by: java.lang.RuntimeException: Could not extract resources from org.apache.cxf:cxf-rt-transports-http-hc
at org.wildfly.build.provisioning.ServerProvisioner.processFeaturePackModules(ServerProvisioner.java:257)
... 24 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:219)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.zip.ZipFile.<init>(ZipFile.java:163)
at org.wildfly.build.util.ZipFileSubsystemInputStreamSources.addAllSubsystemFileSourcesFromZipFile(ZipFileSubsystemInputStreamSources.java:67)
at org.wildfly.build.provisioning.ServerProvisioner.processFeaturePackModules(ServerProvisioner.java:237)
... 24 more
I've tried building with build.bat and with these Maven commands:
- mvn install
- mvn clean install -Dmaven.test.skip=true
- mvn clean install -Dmaven.test.skip=true -e
- mvn clean install -Dmaven.test.skip=true -X
Here is the debug output just before the exception:
[INFO] --- wildfly-server-provisioning-maven-plugin:1.0.0.Final:build (server-provisioning) @ wildfly-build ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=47, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=29, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=0, ConflictResolver.conflictItemCount=47, DefaultDependencyCollector.collectTime=32, DefaultDependencyCollector.transformTime=0}
[DEBUG] org.wildfly.build:wildfly-server-provisioning-maven-plugin:jar:1.0.0.Final:
[DEBUG] org.apache.maven:maven-model:jar:3.1.0:compile
[DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.10:compile
[DEBUG] org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.3:compile
[DEBUG] org.wildfly.build:wildfly-feature-pack-build-maven-plugin:jar:1.0.0.Final:compile
[DEBUG] org.wildfly.build:wildfly-server-provisioning:jar:1.0.0.Final:compile
[DEBUG] org.apache.maven:maven-aether-provider:jar:3.1.0:compile
[DEBUG] org.apache.maven:maven-model-builder:jar:3.1.0:compile
[DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.16:compile
[DEBUG] org.apache.maven:maven-repository-metadata:jar:3.1.0:compile
[DEBUG] org.eclipse.aether:aether-api:jar:1.0.0.v20140518:provided
[DEBUG] org.eclipse.aether:aether-spi:jar:1.0.0.v20140518:compile
[DEBUG] org.eclipse.aether:aether-util:jar:1.0.0.v20140518:compile
[DEBUG] org.eclipse.aether:aether-impl:jar:1.0.0.v20140518:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a:compile
[DEBUG] javax.enterprise:cdi-api:jar:1.0:compile
[DEBUG] javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG] javax.inject:javax.inject:jar:1:compile
[DEBUG] com.google.guava:guava:jar:10.0.1:compile
[DEBUG] com.google.code.findbugs:jsr305:jar:1.3.9:compile
[DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[DEBUG] aopalliance:aopalliance:jar:1.0:compile
[DEBUG] org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M2a:compile
[DEBUG] asm:asm:jar:3.3.1:compile
[DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG] org.jboss:jandex:jar:1.2.1.Final:compile
[DEBUG] org.jboss.logging:jboss-logging:jar:3.1.4.GA:compile
[DEBUG] org.jboss:staxmapper:jar:1.1.0.Final:compile
[DEBUG] Created new class realm plugin>org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final
[DEBUG] Importing foreign packages into class realm plugin>org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final
[DEBUG] Imported: < project>org.wildfly:wildfly-parent:9.0.2.Final
[DEBUG] Populating class realm plugin>org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final
[DEBUG] Included: org.wildfly.build:wildfly-server-provisioning-maven-plugin:jar:1.0.0.Final
[DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.10
[DEBUG] Included: org.apache.maven.plugin-tools:maven-plugin-annotations:jar:3.3
[DEBUG] Included: org.wildfly.build:wildfly-feature-pack-build-maven-plugin:jar:1.0.0.Final
[DEBUG] Included: org.wildfly.build:wildfly-server-provisioning:jar:1.0.0.Final
[DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.16
[DEBUG] Included: org.eclipse.aether:aether-util:jar:1.0.0.v20140518
[DEBUG] Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG] Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG] Included: javax.inject:javax.inject:jar:1
[DEBUG] Included: com.google.guava:guava:jar:10.0.1
[DEBUG] Included: com.google.code.findbugs:jsr305:jar:1.3.9
[DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG] Included: aopalliance:aopalliance:jar:1.0
[DEBUG] Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M2a
[DEBUG] Included: asm:asm:jar:3.3.1
[DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG] Included: org.jboss:jandex:jar:1.2.1.Final
[DEBUG] Included: org.jboss.logging:jboss-logging:jar:3.1.4.GA
[DEBUG] Included: org.jboss:staxmapper:jar:1.1.0.Final
[DEBUG] Excluded: org.apache.maven:maven-model:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-aether-provider:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-model-builder:jar:3.1.0
[DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:3.1.0
[DEBUG] Excluded: org.eclipse.aether:aether-api:jar:1.0.0.v20140518
[DEBUG] Excluded: org.eclipse.aether:aether-spi:jar:1.0.0.v20140518
[DEBUG] Excluded: org.eclipse.aether:aether-impl:jar:1.0.0.v20140518
[DEBUG] Excluded: org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M2a
[DEBUG] Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4
[DEBUG] Configuring mojo org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build from plugin realm ClassRealm[plugin>org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final, parent: sun.misc.Launcher$AppClassLoader@70dea4e]
[DEBUG] Configuring mojo 'org.wildfly.build:wildfly-server-provisioning-maven-plugin:1.0.0.Final:build' with basic configurator -->
[DEBUG] (f) buildName = C:\wildfly-9.0.2.Final.release\wildfly-9.0.2.Final\build\target
[DEBUG] (f) configDir = C:\wildfly-9.0.2.Final.release\wildfly-9.0.2.Final\build
[DEBUG] (f) configFile = server-provisioning.xml
[DEBUG] (f) project = MavenProject: org.wildfly:wildfly-build:9.0.2.Final @ C:\wildfly-9.0.2.Final.release\wildfly-9.0.2.Final\build\pom.xml
[DEBUG] (f) remoteRepos = [jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/, releases+snapshots), central (https://repo.maven.apache.org/maven2, releases)]
[DEBUG] (f) repoSession = org.eclipse.aether.DefaultRepositorySystemSession@6647c2fc
[DEBUG] (f) serverName = wildfly-9.0.2.Final
[DEBUG] (f) systemPropertyVersionOverrides = false
[DEBUG] -- end configuration --
Can anyone help?
Thanks.