Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12781

Can't install a modified version of an installed jar extension on jetty

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.2
    • Fix Version/s: None
    • Component/s: Classloader, Extension
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      By default just doing uninstall/reinstall of the same extension id/version will always reinstall the same jar because it's kept in local repository but it's possible to clean the local repository using something like http://extensions.xwiki.org/xwiki/bin/view/Extension/Extension+Tweak. In this case the process is

      • uninstall
      • clean using extension tweak
      • install

      This works well with Tomcat 7 (you get the new behavior) but looks like in Jetty there is some kind of optimization which keep the old class somewhere...

      The workaround is to restart.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tmortagne Thomas Mortagne
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: