Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Fedora trunk
    • Fix Version/s: Fedora 3.3
    • Component/s: Fedora, FeSL
    • Labels:
      None
    • Environment:
      Mac OS X 10.6, Java5

      Description

      Integration tests which use the imagemanip service fail when FeSL is enabled. Call to the imagemanip service hang until eventually timing out.

      With FeSL enabled, an individual request to
      http://localhost:8080/imagemanip/ImageManipulation?op=resize&newWidth=50&url=http://localhost:8080/tomcat.gif
      hangs and eventually times out.

      Workarounds for imagemanip:
      - remove fedora.war
      - disable fesl
      - comment out calls to PopulatePolicyDatabase.addDocuments(); and pdp = new PDP(config.getDefaultPDPConfig()); in MelcoePDPImpl

        Activity

        Show
        Edwin Shin added a comment - Also see: http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/ and the mailing list discussion: http://thread.gmane.org/gmane.comp.cms.fedora-commons.devel/1510
        Hide
        Kai St [X] (Inactive) added a comment -
        On the Fedora side the following happens:
        FedoraClient.getAPIM() calls FedoraClient.getSOAPStub() which calls APIAStubFactory.getStubAltPath(). Here a check Administrator.INSTANCE == null occurs which initializes the static variables of the Administrator class. Some of them happen to be AWT based, so X (or headless) is needed which can clearly be seen by the "focus stealing" effect on OSX.

        Show
        Kai St [X] (Inactive) added a comment - On the Fedora side the following happens: FedoraClient.getAPIM() calls FedoraClient.getSOAPStub() which calls APIAStubFactory.getStubAltPath(). Here a check Administrator.INSTANCE == null occurs which initializes the static variables of the Administrator class. Some of them happen to be AWT based, so X (or headless) is needed which can clearly be seen by the "focus stealing" effect on OSX.
        Hide
        Chris Wilper added a comment -
        Kai, I've added your comment to FCREPO-601, which I spun off of this to deal with the focus-stealing problem.
        Show
        Chris Wilper added a comment - Kai, I've added your comment to FCREPO-601 , which I spun off of this to deal with the focus-stealing problem.

          People

          • Assignee:
            Edwin Shin
            Reporter:
            Edwin Shin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: