Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-739

Pack200 appears to be mangling plugin JAR files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.9.1
    • Fix Version/s: None
    • Component/s: Plugins
    • Labels:

      Description

      It appears that the Pack200 compression is not working correctly, and that various plugin JAR files are getting mangled. Note the size differences between two builds of the same plugin (one with compression enabled, and the other without):

      Hazelcast plugin (compressed/extracted via Pack200)
      rw-rw-r-. 1 openfire openfire 2614267 Feb 10 09:45 hazelcast-3.1.5.jar
      rw-rw-r-. 1 openfire openfire 18590 Feb 10 09:45 hazelcast-cloud-3.1.5.jar
      rw-rw-r-. 1 openfire openfire 88572 Feb 10 09:45 hazelcast-lib.jar
      rw-rw-r-. 1 openfire openfire 356 Feb 10 09:45 plugin-hazelcast.jar
      rw-rw-r-. 1 openfire openfire 9022 Feb 10 09:45 plugin-hazelcast-jspc.jar

      Hazelcast plugin (no compression)
      rw-rw-r-. 1 openfire openfire 2615677 Feb 10 10:12 hazelcast-3.1.5.jar
      rw-rw-r-. 1 openfire openfire 18656 Feb 10 10:12 hazelcast-cloud-3.1.5.jar
      rw-rw-r-. 1 openfire openfire 89275 Feb 10 10:12 hazelcast-lib.jar
      rw-rw-r-. 1 openfire openfire 349 Feb 10 10:12 plugin-hazelcast.jar
      rw-rw-r-. 1 openfire openfire 9093 Feb 10 10:12 plugin-hazelcast-jspc.jar

      Temporary workaround is to disable Pack200 for plugins. Further investigation is needed to resolve root problem.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tevans Tom Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: