Skip to content

Fixing the REST API Jar Conflict

netwolfuk edited this page Sep 19, 2020 · 9 revisions

ℹ️ Since TeamCity 2019.2, this procedure is no longer required.

For background info, see #43

⚠️ After cleaning the TeamCity REST API jar, TeamCity will be degraded until it is restarted. It's advisable to run the clean tool and then restart TeamCity immediately after.

Cleaning the TeamCity REST API Plugin

Manual Intervention

On Windows, in certain configurations, it is not possible to remove the jars from the .unpacked folder because Windows has the files open and locked. In that case, please do the following:

  1. Copy the Unpacked Location from the WebHook REST API Admin page.
  2. Open a Windows Explorer window on the server at that location.
  3. Navigate into the "server" sub folder.
  4. Stop the TeamCity service using Windows Services (or however you control the TeamCity process on Windows)
  5. Delete the two files jaxb jar files. They should delete OK because TeamCity no longer has them open.
  6. Start the TeamCity service again using Windows Services.