-
Bug
-
Resolution: Done
-
Major
-
EAP-XP-1.0.0.GA-CR1
Exception's stacktrace is printed into stderr when running setup command on Windows:
Tried with XP manager 1.0.0.GA-CR2
Exception in thread "main" java.nio.file.DirectoryNotEmptyException: C:\cygwin\tmp\wildfly-mp-manager2916043452475791684 at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:266) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1126) at org.jboss.eap.util.xp.patch.stream.manager.FileVisitors$DeleteDirectory.postVisitDirectory(FileVisitors.java:33) at org.jboss.eap.util.xp.patch.stream.manager.FileVisitors$DeleteDirectory.postVisitDirectory(FileVisitors.java:30) at java.nio.file.Files.walkFileTree(Files.java:2688) at java.nio.file.Files.walkFileTree(Files.java:2742) at org.jboss.eap.util.xp.patch.stream.manager.SetupManagerAction.doExecute(SetupManagerAction.java:103) at org.jboss.eap.util.xp.patch.stream.manager.ManagerAction.execute(ManagerAction.java:36) at org.jboss.eap.util.xp.patch.stream.manager.ManagerMain.main(ManagerMain.java:55)
The exception is thrown because the setup fails to delete temporary directory created during setup process.