-
Bug
-
Resolution: Done
-
Critical
-
8.1.0.Beta
-
None
-
False
-
None
-
False
-
Regression
-
-
-
-
-
-
-
-
There seems to be a regression in installation of selected version of Myfaces JSF implementation via GUI installer.
This happens only on Windows.
When one tries to configure "JSF Setup" screen as:
JSF Project: Myfaces
JSF Version: 4.0.1
Myfaces repository URL: https://repo1.maven.org/maven2/ (the default)
Target channel repository path: C:\tmp\EAP-8.1\jsf-repo (the default)
Then proceeding with the installation fails on "Processing" screen with dialog:
Failed to apply configuration changes
and log:
Adding admin user admin. Admin user added. Creating JSF library module. Creating MyFaces manifest in c:\tmp\EAP-8.1\jsf-repo. Registering the server with the MyFaces channel. Starting installation of MyFaces feature pack. Starting phase Resolving feature-packs Completed phase Resolving feature-packs Starting phase Installing packages Completed phase Installing packages Starting phase Downloading components Completed phase Downloading components Starting phase Installing modules Completed phase Installing modules Starting phase Generating configuration Completed phase Generating configuration Starting phase Generating documentation Completed phase Generating documentation Starting phase Cleanup Failed to create JSF library module. org.jboss.installer.actions.ActionException: Unable to install the server. at org.jboss.installer.actions.impl.ProvisioningExceptionHandler.handle(ProvisioningExceptionHandler.java:63) at org.jboss.installer.postinstall.task.jsf.MyFacesJsfLibrarySetup.installFeaturePack(MyFacesJsfLibrarySetup.java:182) at org.jboss.installer.postinstall.task.impl.JsfLibraryTask.installMyFacesLibrary(JsfLibraryTask.java:117) at org.jboss.installer.postinstall.task.impl.JsfLibraryTask.applyToInstallation(JsfLibraryTask.java:75) at org.jboss.installer.postinstall.PostInstallTaskRunnerImpl.execute(PostInstallTaskRunnerImpl.java:111) at org.jboss.installer.postinstall.TaskRunnerWrapper.execute(TaskRunnerWrapper.java:78) at org.jboss.installer.screens.ProcessingScreen$1.perform(ProcessingScreen.java:124) at org.jboss.installer.core.DefaultActionExecutor$1.doInBackground(DefaultActionExecutor.java:44) at org.jboss.installer.core.DefaultActionExecutor$1.doInBackground(DefaultActionExecutor.java:40) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:842) Caused by: org.wildfly.prospero.api.exceptions.ApplyCandidateException: PRSP000272: Failed to apply the candidate changes due to: c:\tmp\EAP-8.1\bin\client\jboss-cli-client.jar: The process cannot access the file because it is being used by another process at org.wildfly.prospero.actions.ApplyCandidateAction.applyUpdate(ApplyCandidateAction.java:226) at org.jboss.installer.postinstall.task.jsf.MyFacesJsfLibrarySetup.installFeaturePack(MyFacesJsfLibrarySetup.java:174) ... 13 more Caused by: java.nio.file.FileSystemException: c:\tmp\EAP-8.1\bin\client\jboss-cli-client.jar: The process cannot access the file because it is being used by another process at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileCopy.copy(WindowsFileCopy.java:171) at java.base/sun.nio.fs.WindowsFileSystemProvider.copy(WindowsFileSystemProvider.java:284) at java.base/java.nio.file.Files.copy(Files.java:1305) at org.jboss.galleon.util.IoUtils$3.visitFile(IoUtils.java:184) at org.jboss.galleon.util.IoUtils$3.visitFile(IoUtils.java:161) at java.base/java.nio.file.Files.walkFileTree(Files.java:2811) at org.jboss.galleon.util.IoUtils.copy(IoUtils.java:160) at org.jboss.galleon.util.IoUtils.copy(IoUtils.java:151) at org.wildfly.prospero.actions.ApplyCandidateAction.copyFiles(ApplyCandidateAction.java:476) at org.wildfly.prospero.actions.ApplyCandidateAction$1.visitFile(ApplyCandidateAction.java:664) at org.wildfly.prospero.actions.ApplyCandidateAction$1.visitFile(ApplyCandidateAction.java:648) at java.base/java.nio.file.Files.walkFileTree(Files.java:2811) at java.base/java.nio.file.Files.walkFileTree(Files.java:2882) at org.wildfly.prospero.actions.ApplyCandidateAction.doApplyUpdate(ApplyCandidateAction.java:648) at org.wildfly.prospero.actions.ApplyCandidateAction.applyUpdate(ApplyCandidateAction.java:193) ... 14 more
- is caused by
-
JBEAP-28553 (8.1.0) [GUI Installer] Use dynamically loaded WF client library to run configuration tasks
-
- Verified
-
- is incorporated by
-
JBEAP-29474 (8.1.0.GA) Upgrade eap-installer to version 8.1.0.Beta-dev3
-
- Verified
-