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

Schematic API does not support OSGI Service Loader Mediation

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • API, Configuration, Storage
    • 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?

      Attachments

        Activity

          People

            Unassigned Unassigned
            christopher-johnson Christopher Johnson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: