Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Issue

...

width700px

My Jenkins agent cannot access

...

ecu.test after restart of Jenkins controller:

...

width40px
Code Block
languagejava
themeConfluence
java.lang.UnsatisfiedLinkError: Native Library jacob-1.18-x64/86.dll already loaded in another classloader

Solution

...

This is a known limitation when running the ECU-TEST agent in a user session while the master restarts and reconnects to the agent. Ensure that the agent agent is always restarted when the master restarts.

This can be achieved by creating an appropriate Windows task named RESTART_JENKINS_AGENT. Starting with release 2.6 the default Windows task name can be overridden by system propertyecutest.taskName on each agent individually.

An example configuration export is attached here and can be easily imported and modified in the Windows Task Scheduler.