Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-19537

Exception thrown when running setup command on Windows

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            kkhan1@redhat.com Kabir Khan
            jkasik@redhat.com Jan Kašík
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: