Sling
  1. Sling
  2. SLING-408

Repository service not registered when using Equinox Declarative Services

    Details

      Description

      While trying to run the jcr/jackrabbit-server bundle inside Equinox with the Equinox Declarative Services and Configuration Admin implementations, I discovered, that the handling of ComponentFactories is different in the Equinox DS and Apache Felix DS:

      • Equinox DS seems to expect factory components to be set as immediate="false", while Felix DS expects immediate="true"
      • Equinox DS does not seem to start the services properly

      I am not sure, whether this is actually related to wrong implementation in Felix DS or a bug in Equinox DS. This will have to be investigated.

      Versions used:
      Equinox DS: org.eclipse.equinox.ds_1.0.0.v20070226.jar
      Felix DS: 1.0.0

        Issue Links

          Activity

          Hide
          Felix Meschberger added a comment -

          The Apache Felix Declarative Services and maven-scr-plugin assume wrong default and accepted values for component factories. After fixing these implementations, the Sling jcr/jackrabbit-server and jcr/jackrabbit-client bundles (as well as others using component factories with explicit immediate attribute values must be fixed.

          Component factories not using explicit immediate attribute declarations need not be fixed as default value handling is correct after fixing the issues.

          See FELIX-593 for details.

          Show
          Felix Meschberger added a comment - The Apache Felix Declarative Services and maven-scr-plugin assume wrong default and accepted values for component factories. After fixing these implementations, the Sling jcr/jackrabbit-server and jcr/jackrabbit-client bundles (as well as others using component factories with explicit immediate attribute values must be fixed. Component factories not using explicit immediate attribute declarations need not be fixed as default value handling is correct after fixing the issues. See FELIX-593 for details.
          Hide
          Felix Meschberger added a comment -

          The second issue has in fact been another wrong implementation in the Felix DS implementation (see FELIX-1416).

          Show
          Felix Meschberger added a comment - The second issue has in fact been another wrong implementation in the Felix DS implementation (see FELIX-1416 ).
          Hide
          Felix Meschberger added a comment -

          Finally fixed this in the embedded server (Rev. 887137) and client bundles (Rev. 887138)

          Show
          Felix Meschberger added a comment - Finally fixed this in the embedded server (Rev. 887137) and client bundles (Rev. 887138)

            People

            • Assignee:
              Felix Meschberger
              Reporter:
              Felix Meschberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development