upgrade library org.apache.commons.discovery to version 0.5

jira/confluence Reinstall pugin error exception java.lang.IllegalStateException: The bundle is uninstalled.

Posted by Dongyupu on April 6, 2020

upgrade library org.apache.commons.discovery to version 0.5

NOTE: This suggestion is for JIRA Server.

Link

Summary

  • JIRA (and Confluence) is using obsolete version 0.2 dated to 2003.
  • When using AXIS library bundled in JIRA within add-on calls to AXISClient are not usable after deployment.

Steps to reproduce

  • Install add-on with AXISClient
  • Invoke some WS calls
  • Reinstall add-on
  • Invoke same WS calls

    Expected behaviour

  • WS calls returns same results

Actual behaviour

  • WS calls after reinstall fail with exception java.lang.IllegalStateException: The bundle is uninstalled.

Workaround

  • Restart JIRA

Proposed solution

Upgrade library org.apache.commons.discovery to version 0.5