Agent managed with Agent Setup plugin fails to launch

Article ID:115002626192
1 minute readKnowledge base


The agent that is managed by Agent Setup plugin fails to launch via Java Web Start. The following error is present in the console output/agent logs:

Exception in thread "main" The specified remoting internal directory should be fully accessible to the remoting executable (RWX): /
  at org.jenkinsci.remoting.engine.WorkDirManager.verifyDirectory(
  at org.jenkinsci.remoting.engine.WorkDirManager.initializeWorkDir(
  at hudson.remoting.Engine.startEngine(
  at hudson.remoting.Engine.startEngine(
  at hudson.remoting.jnlp.Main.main(
  at hudson.remoting.jnlp.Main._main(
  at hudson.remoting.Launcher.main(



The embedded Jenkins Remoting version has been updated from 3.7 to 3.10 in the Jenkins core 2.73.x. It introduces support for work directories, which may be used by Remoting to store caches, logs and other metadata.

This introduced a change to the configuration of the "Launch agent via Java Web Start" launch method, i.e., options to disable or enable Working Directory support and configure the locations.

As of the moment of writing, the latest available version of the Agent Setup Plugin (1.10) have no support for new configuration. The effect of this is that invalid jnlp file is generated which causes a failure of the launcher.

Using the "Launch agent via Java Web Start" directly appears to be the only way to resolve the issue.

Since Jenkins LTS 2.176.1 "Launch agent via Java Web Start" is known as "Launch agent by connecting it to the controller".