Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2711

Schematic API does not support OSGI Service Loader Mediation

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API, Configuration, Storage
    • Labels:
      None

      Description

      When deployed in OSGI, the Schematic API will not load db providers using the TCCL java.util.ServiceLoader. A work around using a "Service Loader Mediator" as discussed here.

      I have tried this, without success. See stacktrace and bundle info.
      The error message is this "None of the existing persistence providers could return a Schematic DB with type ..." It does not matter what persistence provider is specified.

      Not sure where to go with this. Maybe refactoring out the CL from the getDb method?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                christopher-johnson Christopher Johnson
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: