Uploaded image for project: 'Imaging'
  1. Imaging
  2. MGNLIMG-55

Preload AWT library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.1
    • None
    • None
    • None

    Description

      Under certain circumstances/environments, it seems that loading the awt library from several threads causes these threads to be blocked; if we generate ONE image on one instance that just started, everything works fine afterwards. If otoh the first requests goes to a page that attempts to generate multiple images at once (demo-project.html), it seems there is contention around calls to Toolkit.loadLibraries (and ColorModel.loadLibraries)

      If we have ensure the awt lib is loaded prior to using the imaging framwork, everything seems to work fine.

      As a simple workaround, we'll add a module that does just that.

      So far, we've seen this issue on

      • osx 10.4 client on a PPC machine, Java 1.5(_19-b02-306), JBoss 4.0.2
        To be confirmed: the same with JBoss 4.2.3

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              gjoseph Magnolia International
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD