java.io.IOException: Unable to delete 'D:\tools\Terracotta\terracotta-2.3.0\samp les\..\lib\dso-boot\dso-boot-hotspot_win32_150_11.jar'

Terracotta | anson | 10 years ago
  1. 0

    terracotta--tomcat cluster single-point problem

    Terracotta | 10 years ago | anson
    java.io.IOException: Unable to delete 'D:\tools\Terracotta\terracotta-2.3.0\samp les\..\lib\dso-boot\dso-boot-hotspot_win32_150_11.jar'
  2. 0

    Build failed in Jenkins: AriesWithSnapshotDependencies #345

    aries-dev | 4 years ago | Apache Jenkins Server
    hudson.util.IOException2: Failed to install http://archive.apache.org/dist/maven/binaries/apache-maven-3.0.3-bin.zip to /home/hudson/tools/maven/apache-maven-3.0.3
  3. 0

    Build failed in Jenkins: maven-plugins-ITs-m3 #263 - Grokbase

    grokbase.com | 1 year ago
    hudson.util.IOException2: Failed to install to /home/hudson/tools/maven/apache-maven-3.0.3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: Unable to open root Jar file - still, everything works nicely

    GitHub | 3 years ago | PerGon
    java.io.IOException: Unable to open root Jar file 'jndi:/localhost/WEB-INF/lib/spring-boot-starter-aop-1.0.0.RC2.jar'
  6. 0

    i had updated our maven configuration which is distributed by an autoinstaller, and by coincidence about 15 of our jobs were triggered for rebuilding shortly thereafter. The jobs are distributed to 3 vmware instances with 5 executors each. For 4 out of the 5 executors on the same node i got this build exception: {code} hudson.util.IOException2: Failed to install http://ci/hudson-install/maven-2.2.1-custom-CI.zip to d:\hudson\tools\maven-2.2.1 at hudson.FilePath.installIfNecessaryFrom(FilePath.java:642) at hudson.tools.ZipExtractionInstaller.performInstallation(ZipExtractionInstaller.java:82) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:149) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:497) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:377) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1273) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:291) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: hudson.util.IOException2: remote file operation failed: d:\hudson\tools\maven-2.2.1 at hudson.remoting.Channel@7e4042:s-agri-ci-xp2 at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.FilePath.deleteContents(FilePath.java:831) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:619) ... 11 more Caused by: java.io.IOException: Unable to delete d:\hudson\tools\maven-2.2.1\lib\maven-2.2.1-uber.jar at hudson.Util.deleteFile(Util.java:260) at hudson.Util.deleteRecursive(Util.java:302) at hudson.Util.deleteContentsRecursive(Util.java:221) at hudson.Util.deleteRecursive(Util.java:301) at hudson.Util.deleteContentsRecursive(Util.java:221) at hudson.FilePath$10.invoke(FilePath.java:833) at hudson.FilePath$10.invoke(FilePath.java:831) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1899) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} What is going on IMO is that every job detects that there has been a change in the maven configuration and the autoinstaller kicks in to fetch and install the new version. Likely they trample over each other trying to update the maven installation. Perhaps the autoinstaller could grab a per-node lock before attempting to auto-install ?

    Jenkins JIRA | 6 years ago | Jorg Heymans
    hudson.util.IOException2: Failed to install http://ci/hudson-install/maven-2.2.1-custom-CI.zip to d:\hudson\tools\maven-2.2.1

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Unable to delete 'D:\tools\Terracotta\terracotta-2.3.0\samp les\..\lib\dso-boot\dso-boot-hotspot_win32_150_11.jar'

      at com.tc.object.tools.BootJarHandler.copyFile()
    2. com.tc.object
      BootJarTool.main
      1. com.tc.object.tools.BootJarHandler.copyFile(BootJarHandler.java:176)
      2. com.tc.object.tools.BootJarHandler.createFinalBootJar(BootJarHandler.java:120)
      3. com.tc.object.tools.BootJarHandler.announceCreationEnd(BootJarHandler.java:85)
      4. com.tc.object.tools.BootJarTool.generateJar(BootJarTool.java:344)
      5. com.tc.object.tools.BootJarTool.main(BootJarTool.java:1913)
      5 frames