Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: Core
    • Labels:
      None
    • Environment:
      All

      Description

      OWB does not start on Google App Engine, because the use of sun.misc.Unsafe is prohibited.

      Another instantiator should be usable through spi, to circumvent this problem.

      1. patch-1029
        20 kB
        Ludovic Pénet

        Activity

        Hide
        lpenet Ludovic Pénet added a comment -

        The proposed patch solves this issue.

        The custom instantiator can be used by setting

        org.apache.webbeans.spi.InstantiatorService=org.apache.webbeans.service.GoogleAppEngineInstantiatorService

        in app src/main/resources/META-INF/openwebbean.properties.

        I can also provide a sample and a patch to 1.2.6.

        Show
        lpenet Ludovic Pénet added a comment - The proposed patch solves this issue. The custom instantiator can be used by setting org.apache.webbeans.spi.InstantiatorService=org.apache.webbeans.service.GoogleAppEngineInstantiatorService in app src/main/resources/META-INF/openwebbean.properties. I can also provide a sample and a patch to 1.2.6.
        Hide
        struberg Mark Struberg added a comment -

        This issue got shipped with OpenWebBeans-1.5.0

        Show
        struberg Mark Struberg added a comment - This issue got shipped with OpenWebBeans-1.5.0

          People

          • Assignee:
            Unassigned
            Reporter:
            lpenet Ludovic Pénet
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development