[jira] [Resolved] (OAK-8110) Observer Whiteboard is missing
[ https://issues.apache.org/jira/browse/OAK-8110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved OAK-8110. --- Resolution: Abandoned > Observer Whiteboard is missing > -- > > Key: OAK-8110 > URL: https://issues.apache.org/jira/browse/OAK-8110 > Project: Jackrabbit Oak > Issue Type: Documentation > Components: doc >Reporter: Oliver Lietz >Priority: Major > > The documentation for the Whiteboard is missing which allows adding > [Observers|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/commit/Observer.html] > to > [Observables|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/commit/Observable.html] > to listen for content changes. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Resolved] (OAK-7380) Add missing OSGi capabilities
[ https://issues.apache.org/jira/browse/OAK-7380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved OAK-7380. --- Resolution: Abandoned > Add missing OSGi capabilities > - > > Key: OAK-7380 > URL: https://issues.apache.org/jira/browse/OAK-7380 > Project: Jackrabbit Oak > Issue Type: Improvement >Affects Versions: 1.8.2 >Reporter: Oliver Lietz >Priority: Major > > For resolving bundles (Karaf and Sling/OSGi features) at compile-time it's > essential to have the proper meta data in place. The following capabilities > are missing from Oak (to get up Sling, probably more): > {noformat} > osgi.service;objectClass=org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore > osgi.service;objectClass=org.apache.jackrabbit.oak.spi.blob.BlobStore > osgi.service;objectClass=org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean > osgi.service;objectClass=org.apache.jackrabbit.oak.api.jmx.QueryEngineSettingsMBean > osgi.service;objectClass=org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > osgi.service;objectClass=org.apache.jackrabbit.oak.spi.security.SecurityProvider > osgi.service;objectClass=org.apache.jackrabbit.oak.spi.state.NodeStore > osgi.service;objectClass=org.apache.jackrabbit.oak.spi.state.NodeStoreProvider > osgi.service;objectClass=org.apache.jackrabbit.oak.stats.StatisticsProvider > {noformat} > Usually bnd adds meta data for capabilities to {{MANIFEST.MF}} when building > bundles but does not take services into account when using e.g. > {{BundleContext.registerService(...)}}. > See SLING-7546. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Resolved] (OAK-7756) Register node store as Observable
[ https://issues.apache.org/jira/browse/OAK-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved OAK-7756. --- Resolution: Abandoned > Register node store as Observable > - > > Key: OAK-7756 > URL: https://issues.apache.org/jira/browse/OAK-7756 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Oliver Lietz >Priority: Major > > The recently released [Sling Clam > module|https://github.com/apache/sling-org-apache-sling-clam] uses the > NodeStore service for listening to add and change events. > That works fine on Sling but a cast to {{Observable}} is required. > On AEM it works not OOTB as > {{com.day.crx.sling.server.impl.jmx.SecureContentRepositoryAccess}} prevents > direct access to {{NodeStore}} and therefore > {{SecureContentRepositoryAccess}} component has to be disabled to make it > work. > To get rid of the cast and the limitation on AEM node stores should be > registered as {{Observable}} also. > * {{SegmentNodeStore}} in {{SegmentNodeStoreService}} > * {{DocumentNodeStore}} in {{DocumentNodeStoreService}} > * {{CompositeNodeStore}} in {{CompositeNodeStoreService}} -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Created] (OAK-8110) Observer Whiteboard is missing
Oliver Lietz created OAK-8110: - Summary: Observer Whiteboard is missing Key: OAK-8110 URL: https://issues.apache.org/jira/browse/OAK-8110 Project: Jackrabbit Oak Issue Type: Documentation Components: doc Reporter: Oliver Lietz The documentation for the Whiteboard is missing which allows adding [Observers|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/commit/Observer.html] to [Observables|https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/spi/commit/Observable.html] to listen for content changes. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7756) Register node store as Observable
[ https://issues.apache.org/jira/browse/OAK-7756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16618962#comment-16618962 ] Oliver Lietz commented on OAK-7756: --- bq. I think this is rather an improvement. Changed issue type accordingly. Well, from an OSGi point of view it's in my opinion a bug as knowing and relying on (private) internals and a cast is required. But as long as it's gets fixed or improved I'm fine with any type. bq. Registering a NodeStore also as an Observable sounds reasonable to me, but since the Observable provides read access to the NodeStore, I would think the same application code that restricts access to the NodeStore will also restrict access to an Observable. Probably, so it would be nice to make {{SecureContentRepositoryAccess}} configurable – but this is a different story. bq. So even if Oak exposed the NodeStore as an Observable you'd be back to square one. That's maybe true for AEM but for Sling it's fine and makes the intention in code obvious. [~mreutegg], can you take over this issue? Should I open PRs for the three stores (did I miss a NodeStore)? > Register node store as Observable > - > > Key: OAK-7756 > URL: https://issues.apache.org/jira/browse/OAK-7756 > Project: Jackrabbit Oak > Issue Type: Improvement >Reporter: Oliver Lietz >Priority: Major > > The recently released [Sling Clam > module|https://github.com/apache/sling-org-apache-sling-clam] uses the > NodeStore service for listening to add and change events. > That works fine on Sling but a cast to {{Observable}} is required. > On AEM it works not OOTB as > {{com.day.crx.sling.server.impl.jmx.SecureContentRepositoryAccess}} prevents > direct access to {{NodeStore}} and therefore > {{SecureContentRepositoryAccess}} component has to be disabled to make it > work. > To get rid of the cast and the limitation on AEM node stores should be > registered as {{Observable}} also. > * {{SegmentNodeStore}} in {{SegmentNodeStoreService}} > * {{DocumentNodeStore}} in {{DocumentNodeStoreService}} > * {{CompositeNodeStore}} in {{CompositeNodeStoreService}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7756) Node stores are not registered as Observable
Oliver Lietz created OAK-7756: - Summary: Node stores are not registered as Observable Key: OAK-7756 URL: https://issues.apache.org/jira/browse/OAK-7756 Project: Jackrabbit Oak Issue Type: Bug Reporter: Oliver Lietz The recently released [Sling Clam module|https://github.com/apache/sling-org-apache-sling-clam] uses the NodeStore service for listening to add and change events. That works fine on Sling but a cast to {{Observable}} is required. On AEM it works not OOTB as {{com.day.crx.sling.server.impl.jmx.SecureContentRepositoryAccess}} prevents direct access to {{NodeStore}} and therefore {{SecureContentRepositoryAccess}} component has to be disabled to make it work. To get rid of the cast and the limitation on AEM node stores should be registered as {{Observable}} also. * {{SegmentNodeStore}} in {{SegmentNodeStoreService}} * {{DocumentNodeStore}} in {{DocumentNodeStoreService}} * {{CompositeNodeStore}} in {{CompositeNodeStoreService}} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7380) Add missing OSGi capabilities
Oliver Lietz created OAK-7380: - Summary: Add missing OSGi capabilities Key: OAK-7380 URL: https://issues.apache.org/jira/browse/OAK-7380 Project: Jackrabbit Oak Issue Type: Improvement Affects Versions: 1.8.2 Reporter: Oliver Lietz For resolving bundles (Karaf and Sling/OSGi features) at compile-time it's essential to have the proper meta data in place. The following capabilities are missing from Oak (to get up Sling, probably more): {noformat} osgi.service;objectClass=org.apache.jackrabbit.oak.plugins.document.DocumentNodeStore osgi.service;objectClass=org.apache.jackrabbit.oak.spi.blob.BlobStore osgi.service;objectClass=org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean osgi.service;objectClass=org.apache.jackrabbit.oak.api.jmx.QueryEngineSettingsMBean osgi.service;objectClass=org.apache.jackrabbit.oak.spi.mount.MountInfoProvider osgi.service;objectClass=org.apache.jackrabbit.oak.spi.security.SecurityProvider osgi.service;objectClass=org.apache.jackrabbit.oak.spi.state.NodeStore osgi.service;objectClass=org.apache.jackrabbit.oak.spi.state.NodeStoreProvider osgi.service;objectClass=org.apache.jackrabbit.oak.stats.StatisticsProvider {noformat} Usually bnd adds meta data for capabilities to {{MANIFEST.MF}} when building bundles but does not take services into account when using e.g. {{BundleContext.registerService(...)}}. See SLING-7546. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362018#comment-16362018 ] Oliver Lietz commented on OAK-7203: --- [~rombert], [~stillalex] any chance to get this fixed for 1.8? It's quite strange to depend on an experimental module when running on OSGi. > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: authorization-cug, core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346838#comment-16346838 ] Oliver Lietz commented on OAK-7203: --- [~stillalex], it's ugly main class (those methods are not required, only used for testing) vs ugly test class and I prefer ugly test classes in general (you can make it nicer by adding exception to method signatures of overridden methods). > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: authorization-cug, core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346826#comment-16346826 ] Oliver Lietz commented on OAK-7203: --- +1 for moving {{MountInfoProviderService}} to {{oak-core}} > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: authorization-cug, core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Comment Edited] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345316#comment-16345316 ] Oliver Lietz edited comment on OAK-7203 at 1/30/18 4:40 PM: -How about registering the default {{MountInfoProvider}} ({{MountInfoProvider.DEFAULT_PROVIDER}}) as OSGi service from {{oak-core}}?- ...doesn't make sense at all when reference is static (probably default will be then first always). was (Author: olli): How about registering the default {{MountInfoProvider}} ({{MountInfoProvider.DEFAULT_PROVIDER}}) as OSGi service from {{oak-core}}? > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: authorization-cug, core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345316#comment-16345316 ] Oliver Lietz commented on OAK-7203: --- How about registering the default {{MountInfoProvider}} ({{MountInfoProvider.DEFAULT_PROVIDER}}) as OSGi service from {{oak-core}}? > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: authorization-cug, core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345153#comment-16345153 ] Oliver Lietz commented on OAK-7203: --- [~stillalex], [~rombert], [^OAK-7203.patch] adjusted (bind/unbind removed additionally) > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-7203: -- Attachment: OAK-7203.patch > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-7203: -- Attachment: (was: OAK-7203.patch) > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-7203: -- Description: While testing Sling with Oak 1.8 I've observed that AuthorizationConfigurationImpl gets not activated due to missing MountInfoProvider service: {noformat} @Reference private MountInfoProvider mountInfoProvider = Mounts.defaultMountInfoProvider(); {noformat} {noformat} org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Bundle org.apache.jackrabbit.oak-core (63) Implementation Class org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Default State enabled Activation delayed Configuration Policyoptional Service Typesingleton Services org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration org.apache.jackrabbit.oak.spi.security.SecurityConfiguration PID org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Reference mountInfoProvider Unsatisfied Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider Cardinality: 1..1 Policy: static Policy Option: reluctant No Services bound Properties component.id = 35 component.name = org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl configurationRanking = 100 importBehavior = abort oak.security.name = org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, /jcr:system/rep:privileges] {noformat} was: While testing Sling with Oak 1.8 I've observed that AuthorizationConfigurationImpl is losing its MountInfoProvider: {noformat} @Reference private MountInfoProvider mountInfoProvider = Mounts.defaultMountInfoProvider(); {noformat} {noformat} org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Bundle org.apache.jackrabbit.oak-core (63) Implementation Class org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Default State enabled Activation delayed Configuration Policyoptional Service Typesingleton Services org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration org.apache.jackrabbit.oak.spi.security.SecurityConfiguration PID org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Reference mountInfoProvider Unsatisfied Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider Cardinality: 1..1 Policy: static Policy Option: reluctant No Services bound Properties component.id = 35 component.name = org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl configurationRanking = 100 importBehavior = abort oak.security.name = org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, /jcr:system/rep:privileges] {noformat} > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl gets not activated due to missing > MountInfoProvider service: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces
[jira] [Updated] (OAK-7203) Make MountInfoProvider service in AuthorizationConfigurationImpl optional
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-7203: -- Summary: Make MountInfoProvider service in AuthorizationConfigurationImpl optional (was: AuthorizationConfigurationImpl is losing its MountInfoProvider) > Make MountInfoProvider service in AuthorizationConfigurationImpl optional > - > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-7203: -- Issue Type: Improvement (was: Bug) > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-7203: -- Attachment: OAK-7203.patch > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > Attachments: OAK-7203.patch > > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz reopened OAK-7203: --- [^OAK-7203.patch] makes {{oak-store-composite}} on OSGi optional. [~stillalex], [~rombert], please have a look. > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16341020#comment-16341020 ] Oliver Lietz commented on OAK-7203: --- If it works as designed... sure. > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340982#comment-16340982 ] Oliver Lietz commented on OAK-7203: --- That works (Sling runs with Oak 1.8.1). Thanks, [~rombert]. So {{oak-store-composite}} is mandatory for Oak on OSGi, right? Is that the intended behavior or a bug? {{oak-store-composite}} is not listed in {{dev_getting_started.md}} – can you add it, please? > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339283#comment-16339283 ] Oliver Lietz commented on OAK-7203: --- The reference {{mountInfoProvider}} is unsatisfied therefore {{AuthorizationConfigurationImpl}} gets not activated therefore [{{SecurityProvider}}|http://jackrabbit.apache.org/oak/docs/security/introduction.html] gets not registered. > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
[ https://issues.apache.org/jira/browse/OAK-7203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339262#comment-16339262 ] Oliver Lietz commented on OAK-7203: --- [~rombert], can you have a look? > AuthorizationConfigurationImpl is losing its MountInfoProvider > -- > > Key: OAK-7203 > URL: https://issues.apache.org/jira/browse/OAK-7203 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.8.1 >Reporter: Oliver Lietz >Priority: Major > > While testing Sling with Oak 1.8 I've observed that > AuthorizationConfigurationImpl is losing its MountInfoProvider: > {noformat} > @Reference > private MountInfoProvider mountInfoProvider = > Mounts.defaultMountInfoProvider(); > {noformat} > {noformat} > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Bundleorg.apache.jackrabbit.oak-core (63) > Implementation Class > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Default State enabled > Activationdelayed > Configuration Policy optional > Service Type singleton > Services > org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration > org.apache.jackrabbit.oak.spi.security.SecurityConfiguration > PID > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > Reference mountInfoProvider Unsatisfied > Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider > Cardinality: 1..1 > Policy: static > Policy Option: reluctant > No Services bound > Propertiescomponent.id = 35 > component.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > configurationRanking = 100 > importBehavior = abort > oak.security.name = > org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl > readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, > /jcr:system/rep:privileges] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (OAK-7203) AuthorizationConfigurationImpl is losing its MountInfoProvider
Oliver Lietz created OAK-7203: - Summary: AuthorizationConfigurationImpl is losing its MountInfoProvider Key: OAK-7203 URL: https://issues.apache.org/jira/browse/OAK-7203 Project: Jackrabbit Oak Issue Type: Bug Components: core Affects Versions: 1.8.1 Reporter: Oliver Lietz While testing Sling with Oak 1.8 I've observed that AuthorizationConfigurationImpl is losing its MountInfoProvider: {noformat} @Reference private MountInfoProvider mountInfoProvider = Mounts.defaultMountInfoProvider(); {noformat} {noformat} org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Bundle org.apache.jackrabbit.oak-core (63) Implementation Class org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Default State enabled Activation delayed Configuration Policyoptional Service Typesingleton Services org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration org.apache.jackrabbit.oak.spi.security.SecurityConfiguration PID org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl Reference mountInfoProvider Unsatisfied Service Name: org.apache.jackrabbit.oak.spi.mount.MountInfoProvider Cardinality: 1..1 Policy: static Policy Option: reluctant No Services bound Properties component.id = 35 component.name = org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl configurationRanking = 100 importBehavior = abort oak.security.name = org.apache.jackrabbit.oak.security.authorization.AuthorizationConfigurationImpl readPaths = [/jcr:system/rep:namespaces, /jcr:system/jcr:nodeTypes, /jcr:system/rep:privileges] {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (OAK-5921) Make import org.apache.log4j optional
[ https://issues.apache.org/jira/browse/OAK-5921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-5921: -- Attachment: OAK-5921.patch > Make import org.apache.log4j optional > - > > Key: OAK-5921 > URL: https://issues.apache.org/jira/browse/OAK-5921 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: segment-tar >Affects Versions: 1.6.1 >Reporter: Oliver Lietz > Attachments: OAK-5921.patch > > > {{oak-segment-tar}} imports {{org.apache.log4j}}. I didn't investigate why > {{oak-segment-tar}} is importing {{org.apache.log4j}} at all (no direct use), > but that import could be optional (did some tests in Sling). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Created] (OAK-5921) Make import org.apache.log4j optional
Oliver Lietz created OAK-5921: - Summary: Make import org.apache.log4j optional Key: OAK-5921 URL: https://issues.apache.org/jira/browse/OAK-5921 Project: Jackrabbit Oak Issue Type: Improvement Components: segment-tar Affects Versions: 1.6.1 Reporter: Oliver Lietz {{oak-segment-tar}} imports {{org.apache.log4j}}. I didn't investigate why {{oak-segment-tar}} is importing {{org.apache.log4j}} at all (no direct use), but that import could be optional (did some tests in Sling). -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (OAK-5496) Creating service user and setting ACLs immediately for this user fails
[ https://issues.apache.org/jira/browse/OAK-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15903314#comment-15903314 ] Oliver Lietz commented on OAK-5496: --- [~anchela], repoinit was using Jackrabbit's {{AccessControlUtils}} (and therefore {{PrincipalManager}}) to get new principals. > Creating service user and setting ACLs immediately for this user fails > -- > > Key: OAK-5496 > URL: https://issues.apache.org/jira/browse/OAK-5496 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.5.17 >Reporter: Oliver Lietz > > -This error happens only with Mongo, not with Tar.- Both Mongo and Tar are > affected. > {noformat} > [...] > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,186 | DEBUG | Apache Sling Repository Startup Thread | > UserManagerImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | System user created: sling-i18n > 2017-01-20T11:20:09,186 | INFO | Apache Sling Repository Startup Thread | > AclVisitor | 101 - org.apache.sling.jcr.repoinit - > 1.1.2 | Adding ACL 'allow' entry '[jcr:read]' for [sling-i18n] on [/] > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable]
[jira] [Commented] (OAK-5496) Creating service user and setting ACLs immediately for this user fails
[ https://issues.apache.org/jira/browse/OAK-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834500#comment-15834500 ] Oliver Lietz commented on OAK-5496: --- I had a very simple test, but then the failure didn't surface. So there needs to be some pressure on the repository to let it happen (and Tar *seems* to be more stable). > Creating service user and setting ACLs immediately for this user fails > -- > > Key: OAK-5496 > URL: https://issues.apache.org/jira/browse/OAK-5496 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core, security >Affects Versions: 1.5.17 >Reporter: Oliver Lietz > > -This error happens only with Mongo, not with Tar.- Both Mongo and Tar are > affected. > {noformat} > [...] > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,186 | DEBUG | Apache Sling Repository Startup Thread | > UserManagerImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | System user created: sling-i18n > 2017-01-20T11:20:09,186 | INFO | Apache Sling Repository Startup Thread | > AclVisitor | 101 - org.apache.sling.jcr.repoinit - > 1.1.2 | Adding ACL 'allow' entry '[jcr:read]' for [sling-i18n] on [/] > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as >
[jira] [Updated] (OAK-5496) Creating service user and setting ACLs immediately for this user fails
[ https://issues.apache.org/jira/browse/OAK-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-5496: -- Description: -This error happens only with Mongo, not with Tar.- Both Mongo and Tar are affected. {noformat} [...] 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,186 | DEBUG | Apache Sling Repository Startup Thread | UserManagerImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | System user created: sling-i18n 2017-01-20T11:20:09,186 | INFO | Apache Sling Repository Startup Thread | AclVisitor | 101 - org.apache.sling.jcr.repoinit - 1.1.2 | Adding ACL 'allow' entry '[jcr:read]' for [sling-i18n] on [/] 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,189 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,189 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:A
[jira] [Updated] (OAK-5496) Creating service user and setting ACLs immediately for this user fails
[ https://issues.apache.org/jira/browse/OAK-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-5496: -- Component/s: segmentmk > Creating service user and setting ACLs immediately for this user fails > -- > > Key: OAK-5496 > URL: https://issues.apache.org/jira/browse/OAK-5496 > Project: Jackrabbit Oak > Issue Type: Bug > Components: mongomk, segmentmk >Affects Versions: 1.5.17 >Reporter: Oliver Lietz > > -This error happens only with Mongo, not with Tar.- Both Mongo and Tar are > affected. > {noformat} > [...] > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,186 | DEBUG | Apache Sling Repository Startup Thread | > UserManagerImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | System user created: sling-i18n > 2017-01-20T11:20:09,186 | INFO | Apache Sling Repository Startup Thread | > AclVisitor | 101 - org.apache.sling.jcr.repoinit - > 1.1.2 | Adding ACL 'allow' entry '[jcr:read]' for [sling-i18n] on [/] > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authoriz
[jira] [Commented] (OAK-5496) Creating service user and setting ACLs immediately for this user fails
[ https://issues.apache.org/jira/browse/OAK-5496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15834424#comment-15834424 ] Oliver Lietz commented on OAK-5496: --- [~mreutegg], do you need a dedicated test or are the bootstrap tests from Sling sufficient? * [SlingLaunchpadOakMongoIT|https://github.com/apache/sling/blob/trunk/karaf/org.apache.sling.karaf-integration-tests/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingLaunchpadOakMongoIT.java] * [SlingLaunchpadOakTarIT|https://github.com/apache/sling/blob/trunk/karaf/org.apache.sling.karaf-integration-tests/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingLaunchpadOakTarIT.java] > Creating service user and setting ACLs immediately for this user fails > -- > > Key: OAK-5496 > URL: https://issues.apache.org/jira/browse/OAK-5496 > Project: Jackrabbit Oak > Issue Type: Bug > Components: mongomk >Affects Versions: 1.5.17 >Reporter: Oliver Lietz > > This error happens only with Mongo, not with Tar. > {noformat} > [...] > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,186 | DEBUG | Apache Sling Repository Startup Thread | > UserManagerImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | System user created: sling-i18n > 2017-01-20T11:20:09,186 | INFO | Apache Sling Repository Startup Thread | > AclVisitor | 101 - org.apache.sling.jcr.repoinit - > 1.1.2 | Adding ACL 'allow' entry '[jcr:read]' for [sling-i18n] on [/] > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select > [rep:Authorizable].[rep:principalName] as > [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] > as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as > [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as > [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as > [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as > [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as > [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = > $principalName > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > PropertyIndex| 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | property cost for principalName is 2.0 > 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | > QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - > 1.5.17 | No alternatives found. Query: select
[jira] [Created] (OAK-5496) Creating service user and setting ACLs immediately for this user fails
Oliver Lietz created OAK-5496: - Summary: Creating service user and setting ACLs immediately for this user fails Key: OAK-5496 URL: https://issues.apache.org/jira/browse/OAK-5496 Project: Jackrabbit Oak Issue Type: Bug Components: mongomk Affects Versions: 1.5.17 Reporter: Oliver Lietz This error happens only with Mongo, not with Tar. {noformat} [...] 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,185 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,186 | DEBUG | Apache Sling Repository Startup Thread | UserManagerImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | System user created: sling-i18n 2017-01-20T11:20:09,186 | INFO | Apache Sling Repository Startup Thread | AclVisitor | 101 - org.apache.sling.jcr.repoinit - 1.1.2 | Adding ACL 'allow' entry '[jcr:read]' for [sling-i18n] on [/] 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,187 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,188 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl | 58 - org.apache.jackrabbit.oak-core - 1.5.17 | No alternatives found. Query: select [rep:Authorizable].[rep:principalName] as [rep:Authorizable.rep:principalName], [rep:Authorizable].[rep:authorizableId] as [rep:Authorizable.rep:authorizableId], [rep:Authorizable].[jcr:uuid] as [rep:Authorizable.jcr:uuid], [rep:Authorizable].[jcr:primaryType] as [rep:Authorizable.jcr:primaryType], [rep:Authorizable].[jcr:created] as [rep:Authorizable.jcr:created], [rep:Authorizable].[jcr:createdBy] as [rep:Authorizable.jcr:createdBy] from [rep:Authorizable] as [rep:Authorizable] where [rep:Authorizable].[rep:principalName] = $principalName 2017-01-20T11:20:09,189 | DEBUG | Apache Sling Repository Startup Thread | PropertyIndex| 58 - org.apache.jackrabbit.oak-core - 1.5.17 | property cost for principalName is 2.0 2017-01-20T11:20:09,189 | DEBUG | Apache Sling Repository Startup Thread | QueryEngineImpl
[jira] [Created] (OAK-5423) MultiplexingNodeStoreService: Missing element AD in element OCD
Oliver Lietz created OAK-5423: - Summary: MultiplexingNodeStoreService: Missing element AD in element OCD Key: OAK-5423 URL: https://issues.apache.org/jira/browse/OAK-5423 Project: Jackrabbit Oak Issue Type: Bug Components: core Affects Versions: 1.5.16 Reporter: Oliver Lietz {noformat} [...] | ERROR | pool-3-thread-1 | metatype | 2 - org.apache.felix.metatype - 1.1.2 | Missing element AD in element OCD : bundle://49.0:0/OSGI-INF/metatype/org.apache.jackrabbit.oak.plugins.multiplex.MultiplexingNodeStoreService.xml {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-4862) Provide a MemoryNodeStoreService
[ https://issues.apache.org/jira/browse/OAK-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15604493#comment-15604493 ] Oliver Lietz commented on OAK-4862: --- [~chetanm], thanks for picking this issue up anyway. > Provide a MemoryNodeStoreService > > > Key: OAK-4862 > URL: https://issues.apache.org/jira/browse/OAK-4862 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: core >Affects Versions: 1.5.10 >Reporter: Oliver Lietz >Assignee: Chetan Mehrotra >Priority: Minor > > There should be a component for {{MemoryNodeStore}} similar to > {{SegmentNodeStoreService}} and {{DocumentNodeStoreService}} which can be > used e.g. (but not only) in ITs to reduce disk I/O. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OAK-4862) Provide a MemoryNodeStoreService
Oliver Lietz created OAK-4862: - Summary: Provide a MemoryNodeStoreService Key: OAK-4862 URL: https://issues.apache.org/jira/browse/OAK-4862 Project: Jackrabbit Oak Issue Type: Improvement Components: core Affects Versions: 1.5.10 Reporter: Oliver Lietz There should be a component for {{MemoryNodeStore}} similar to {{SegmentNodeStoreService}} and {{DocumentNodeStoreService}} which can be used e.g. (but not only) in ITs to reduce disk I/O. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
[ https://issues.apache.org/jira/browse/OAK-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz closed OAK-3083. - > Unable to resolve org.apache.jackrabbit.oak-core (missing service > org.apache.jackrabbit.core.util.db.ConnectionFactory) > --- > > Key: OAK-3083 > URL: https://issues.apache.org/jira/browse/OAK-3083 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.2.2, 1.3.2, 1.3.7 > Environment: Apache Karaf 4.0.0 >Reporter: Oliver Lietz > Fix For: 1.3.9 > > > The bundle {{org.apache.jackrabbit.oak-core}} requires > ({{Require-Capability}}) a service > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not > provided by its (Maven) dependencies or known bundles: > {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement > \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; > filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} > The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide > ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
[ https://issues.apache.org/jira/browse/OAK-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz resolved OAK-3083. --- Resolution: Fixed Fix Version/s: 1.3.9 fixed by OAK-3503 > Unable to resolve org.apache.jackrabbit.oak-core (missing service > org.apache.jackrabbit.core.util.db.ConnectionFactory) > --- > > Key: OAK-3083 > URL: https://issues.apache.org/jira/browse/OAK-3083 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.2.2, 1.3.2, 1.3.7 > Environment: Apache Karaf 4.0.0 >Reporter: Oliver Lietz > Fix For: 1.3.9 > > > The bundle {{org.apache.jackrabbit.oak-core}} requires > ({{Require-Capability}}) a service > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not > provided by its (Maven) dependencies or known bundles: > {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement > \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; > filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} > The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide > ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-2910) oak-jcr bundle should be usable as a standalone bundle
[ https://issues.apache.org/jira/browse/OAK-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951262#comment-14951262 ] Oliver Lietz commented on OAK-2910: --- [~rombert], how about making Oak aware of these dynamics and capable to handle it properly? Or create a new Oak setup every time configuration changes? > oak-jcr bundle should be usable as a standalone bundle > -- > > Key: OAK-2910 > URL: https://issues.apache.org/jira/browse/OAK-2910 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: jcr >Reporter: Chetan Mehrotra >Assignee: Chetan Mehrotra > Labels: modularization, osgi, technical_debt > Fix For: 1.3.8 > > > Currently oak-jcr bundle needs to be embedded within some other bundle if the > Oak needs to be properly configured in OSGi env. Need to revisit this aspect > and see what needs to be done to enable Oak to be properly configured without > requiring the oak-jcr bundle to be embedded in the repo -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
[ https://issues.apache.org/jira/browse/OAK-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-3083: -- Affects Version/s: 1.3.7 > Unable to resolve org.apache.jackrabbit.oak-core (missing service > org.apache.jackrabbit.core.util.db.ConnectionFactory) > --- > > Key: OAK-3083 > URL: https://issues.apache.org/jira/browse/OAK-3083 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.2.2, 1.3.2, 1.3.7 > Environment: Apache Karaf 4.0.0 >Reporter: Oliver Lietz > > The bundle {{org.apache.jackrabbit.oak-core}} requires > ({{Require-Capability}}) a service > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not > provided by its (Maven) dependencies or known bundles: > {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement > \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; > filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} > The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide > ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-3503) Upgrade Maven Bundle Plugin to 3.0.0
[ https://issues.apache.org/jira/browse/OAK-3503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-3503: -- Attachment: OAK-3503.patch > Upgrade Maven Bundle Plugin to 3.0.0 > > > Key: OAK-3503 > URL: https://issues.apache.org/jira/browse/OAK-3503 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: parent >Affects Versions: 1.3.7 >Reporter: Oliver Lietz > Fix For: 1.3.8 > > Attachments: OAK-3503.patch > > > This solves a problem with {{Require-Capability}} header (OAK-3083): > {{MANIFEST.MF}} with Maven Bundle Plugin {{2.5.3}}: > {noformat} > Manifest-Version: 1.0 > Bnd-LastModified: 1443377959783 > Build-Jdk: 1.7.0_51 > Built-By: amjain > Bundle-Category: oak > Bundle-Description: The goal of the Oak effort within the Apache Jackrab > bit™ project isto implement a scalable and performant hierarchica > l content repositoryfor use as the foundation of modern world-class > web sites and otherdemanding content applications. > Bundle-DocURL: http://jackrabbit.apache.org/oak/ > Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt > Bundle-ManifestVersion: 2 > Bundle-Name: Oak Core > Bundle-SymbolicName: org.apache.jackrabbit.oak-core > Bundle-Vendor: The Apache Software Foundation > Bundle-Version: 1.3.7 > Created-By: Apache Maven Bundle Plugin > DynamicImport-Package: org.apache.felix.jaas.boot > Embed-Transitive: true > Export-Package: org.apache.jackrabbit.oak;version="1.1.0";uses:="javax.a > nnotation,javax.management,org.apache.jackrabbit.oak.api,org.apache.jac > krabbit.oak.plugins.index,org.apache.jackrabbit.oak.query,org.apache.ja > ckrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi.lifecycle,org.apa > che.jackrabbit.oak.spi.query,org.apache.jackrabbit.oak.spi.security,org > .apache.jackrabbit.oak.spi.state,org.apache.jackrabbit.oak.spi.whiteboa > rd",org.apache.jackrabbit.oak.api;version="2.1";uses:="com.google.commo > n.base,javax.annotation,javax.jcr,javax.security.auth.login",org.apache > .jackrabbit.oak.api.jmx;version="2.0.0";uses:="javax.annotation,javax.m > anagement.openmbean,org.apache.jackrabbit.oak.api,org.apache.jackrabbit > .oak.commons.jmx",org.apache.jackrabbit.oak.stats;version="1.1";uses:=" > javax.annotation,javax.management.openmbean,org.apache.jackrabbit.api.s > tats,org.apache.jackrabbit.oak.api.jmx,org.apache.jackrabbit.oak.spi.wh > iteboard,org.apache.jackrabbit.stats,org.slf4j",org.apache.jackrabbit.o > ak.json;version="1.0";uses:="org.apache.jackrabbit.oak.api,org.apache.j > ackrabbit.oak.commons.json,org.apache.jackrabbit.oak.spi.state",org.apa > che.jackrabbit.oak.management;version="1.1.0";uses:="javax.annotation,j > avax.management.openmbean,org.apache.jackrabbit.oak.api.jmx,org.apache. > jackrabbit.oak.commons.jmx,org.apache.jackrabbit.oak.spi.whiteboard",or > g.apache.jackrabbit.oak.util;version="1.3.0";uses:="com.google.common.i > o,javax.annotation,javax.jcr,javax.management.openmbean,org.apache.jack > rabbit.oak.api,org.apache.jackrabbit.oak.api.jmx,org.apache.jackrabbit. > oak.namepath,org.apache.jackrabbit.oak.spi.state,org.apache.jackrabbit. > oak.spi.whiteboard,org.slf4j",org.apache.jackrabbit.oak.namepath;versio > n="2.0";uses:="javax.annotation,javax.jcr,javax.jcr.nodetype,org.apache > .jackrabbit.oak.api,org.apache.jackrabbit.oak.plugins.identifier,org.ap > ache.jackrabbit.oak.spi.state",org.apache.jackrabbit.oak.osgi;version=" > 2.0";uses:="javax.annotation,org.apache.jackrabbit.oak.spi.commit,org.a > pache.jackrabbit.oak.spi.whiteboard,org.osgi.framework,org.osgi.service > .component,org.osgi.util.tracker",org.apache.jackrabbit.oak.plugins.ato > mic;version="1.0";uses:="javax.annotation,org.apache.jackrabbit.oak.api > ,org.apache.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi.sta > te",org.apache.jackrabbit.oak.plugins.backup;version="1.0";uses:="javax > .annotation,javax.management.openmbean,org.apache.jackrabbit.oak.api,or > g.apache.jackrabbit.oak.spi.state",org.apache.jackrabbit.oak.plugins.co > mmit;version="1.1.0";uses:="javax.annotation,org.apache.jackrabbit.oak. > api,org.apache.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi. > state",org.apache.jackrabbit.oak.plugins.identifier;version="1.0";uses: > ="javax.annotation,org.apache.jackrabbit.oak.api,org.apache.jackrabbit. > oak.spi.state",org.apache.jackrabbit.oak.plugins.index;version="3.0.0"; > uses:="javax.annotation,javax.jcr,org.apache.jackrabbit.oak.api,org.apa > che.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi.state,org.a > pache.jackrabbit.oak.spi.whiteboard,org.apache.jackrabbit.oak.util",org > .apache.jackrabbit.oak.plugins.index.fulltext;version="1.0.0";uses:="ja > vax.annotation,org.apache.jackrabbit.oak.api",org.apache.jackrabbit.oak > .plugins.index.aggregate
[jira] [Created] (OAK-3503) Upgrade Maven Bundle Plugin to 3.0.0
Oliver Lietz created OAK-3503: - Summary: Upgrade Maven Bundle Plugin to 3.0.0 Key: OAK-3503 URL: https://issues.apache.org/jira/browse/OAK-3503 Project: Jackrabbit Oak Issue Type: Improvement Components: parent Affects Versions: 1.3.7 Reporter: Oliver Lietz Fix For: 1.3.8 This solves a problem with {{Require-Capability}} header (OAK-3083): {{MANIFEST.MF}} with Maven Bundle Plugin {{2.5.3}}: {noformat} Manifest-Version: 1.0 Bnd-LastModified: 1443377959783 Build-Jdk: 1.7.0_51 Built-By: amjain Bundle-Category: oak Bundle-Description: The goal of the Oak effort within the Apache Jackrab bit™ project isto implement a scalable and performant hierarchica l content repositoryfor use as the foundation of modern world-class web sites and otherdemanding content applications. Bundle-DocURL: http://jackrabbit.apache.org/oak/ Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt Bundle-ManifestVersion: 2 Bundle-Name: Oak Core Bundle-SymbolicName: org.apache.jackrabbit.oak-core Bundle-Vendor: The Apache Software Foundation Bundle-Version: 1.3.7 Created-By: Apache Maven Bundle Plugin DynamicImport-Package: org.apache.felix.jaas.boot Embed-Transitive: true Export-Package: org.apache.jackrabbit.oak;version="1.1.0";uses:="javax.a nnotation,javax.management,org.apache.jackrabbit.oak.api,org.apache.jac krabbit.oak.plugins.index,org.apache.jackrabbit.oak.query,org.apache.ja ckrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi.lifecycle,org.apa che.jackrabbit.oak.spi.query,org.apache.jackrabbit.oak.spi.security,org .apache.jackrabbit.oak.spi.state,org.apache.jackrabbit.oak.spi.whiteboa rd",org.apache.jackrabbit.oak.api;version="2.1";uses:="com.google.commo n.base,javax.annotation,javax.jcr,javax.security.auth.login",org.apache .jackrabbit.oak.api.jmx;version="2.0.0";uses:="javax.annotation,javax.m anagement.openmbean,org.apache.jackrabbit.oak.api,org.apache.jackrabbit .oak.commons.jmx",org.apache.jackrabbit.oak.stats;version="1.1";uses:=" javax.annotation,javax.management.openmbean,org.apache.jackrabbit.api.s tats,org.apache.jackrabbit.oak.api.jmx,org.apache.jackrabbit.oak.spi.wh iteboard,org.apache.jackrabbit.stats,org.slf4j",org.apache.jackrabbit.o ak.json;version="1.0";uses:="org.apache.jackrabbit.oak.api,org.apache.j ackrabbit.oak.commons.json,org.apache.jackrabbit.oak.spi.state",org.apa che.jackrabbit.oak.management;version="1.1.0";uses:="javax.annotation,j avax.management.openmbean,org.apache.jackrabbit.oak.api.jmx,org.apache. jackrabbit.oak.commons.jmx,org.apache.jackrabbit.oak.spi.whiteboard",or g.apache.jackrabbit.oak.util;version="1.3.0";uses:="com.google.common.i o,javax.annotation,javax.jcr,javax.management.openmbean,org.apache.jack rabbit.oak.api,org.apache.jackrabbit.oak.api.jmx,org.apache.jackrabbit. oak.namepath,org.apache.jackrabbit.oak.spi.state,org.apache.jackrabbit. oak.spi.whiteboard,org.slf4j",org.apache.jackrabbit.oak.namepath;versio n="2.0";uses:="javax.annotation,javax.jcr,javax.jcr.nodetype,org.apache .jackrabbit.oak.api,org.apache.jackrabbit.oak.plugins.identifier,org.ap ache.jackrabbit.oak.spi.state",org.apache.jackrabbit.oak.osgi;version=" 2.0";uses:="javax.annotation,org.apache.jackrabbit.oak.spi.commit,org.a pache.jackrabbit.oak.spi.whiteboard,org.osgi.framework,org.osgi.service .component,org.osgi.util.tracker",org.apache.jackrabbit.oak.plugins.ato mic;version="1.0";uses:="javax.annotation,org.apache.jackrabbit.oak.api ,org.apache.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi.sta te",org.apache.jackrabbit.oak.plugins.backup;version="1.0";uses:="javax .annotation,javax.management.openmbean,org.apache.jackrabbit.oak.api,or g.apache.jackrabbit.oak.spi.state",org.apache.jackrabbit.oak.plugins.co mmit;version="1.1.0";uses:="javax.annotation,org.apache.jackrabbit.oak. api,org.apache.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi. state",org.apache.jackrabbit.oak.plugins.identifier;version="1.0";uses: ="javax.annotation,org.apache.jackrabbit.oak.api,org.apache.jackrabbit. oak.spi.state",org.apache.jackrabbit.oak.plugins.index;version="3.0.0"; uses:="javax.annotation,javax.jcr,org.apache.jackrabbit.oak.api,org.apa che.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oak.spi.state,org.a pache.jackrabbit.oak.spi.whiteboard,org.apache.jackrabbit.oak.util",org .apache.jackrabbit.oak.plugins.index.fulltext;version="1.0.0";uses:="ja vax.annotation,org.apache.jackrabbit.oak.api",org.apache.jackrabbit.oak .plugins.index.aggregate;version="1.2.0";uses:="javax.annotation,org.ap ache.jackrabbit.oak.spi.query,org.apache.jackrabbit.oak.spi.state",org. apache.jackrabbit.oak.plugins.index.counter;version="1.0";uses:="javax. annotation,org.apache.jackrabbit.oak.api,org.apache.jackrabbit.oak.plug ins.index,org.apache.jackrabbit.oak.spi.commit,org.apache.jackrabbit.oa k.spi.state",org.ap
[jira] [Commented] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
[ https://issues.apache.org/jira/browse/OAK-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14934951#comment-14934951 ] Oliver Lietz commented on OAK-3083: --- [~bosschaert]: FYI > Unable to resolve org.apache.jackrabbit.oak-core (missing service > org.apache.jackrabbit.core.util.db.ConnectionFactory) > --- > > Key: OAK-3083 > URL: https://issues.apache.org/jira/browse/OAK-3083 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.2.2, 1.3.2 > Environment: Apache Karaf 4.0.0 >Reporter: Oliver Lietz > > The bundle {{org.apache.jackrabbit.oak-core}} requires > ({{Require-Capability}}) a service > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not > provided by its (Maven) dependencies or known bundles: > {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement > \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; > filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} > The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide > ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
[ https://issues.apache.org/jira/browse/OAK-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623319#comment-14623319 ] Oliver Lietz commented on OAK-3083: --- The {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} service ({{Require-Capability: osgi.service;effective:=active;filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}}) should be declared optional ({{resolution:=optional}}) - see SLING-4412. > Unable to resolve org.apache.jackrabbit.oak-core (missing service > org.apache.jackrabbit.core.util.db.ConnectionFactory) > --- > > Key: OAK-3083 > URL: https://issues.apache.org/jira/browse/OAK-3083 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.2.2, 1.3.2 > Environment: Apache Karaf 4.0.0 >Reporter: Oliver Lietz > > The bundle {{org.apache.jackrabbit.oak-core}} requires > ({{Require-Capability}}) a service > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not > provided by its (Maven) dependencies or known bundles: > {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement > \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; > filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} > The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide > ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
[ https://issues.apache.org/jira/browse/OAK-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oliver Lietz updated OAK-3083: -- Affects Version/s: 1.3.2 > Unable to resolve org.apache.jackrabbit.oak-core (missing service > org.apache.jackrabbit.core.util.db.ConnectionFactory) > --- > > Key: OAK-3083 > URL: https://issues.apache.org/jira/browse/OAK-3083 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core >Affects Versions: 1.2.2, 1.3.2 > Environment: Apache Karaf 4.0.0 >Reporter: Oliver Lietz > > The bundle {{org.apache.jackrabbit.oak-core}} requires > ({{Require-Capability}}) a service > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not > provided by its (Maven) dependencies or known bundles: > {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement > \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; > filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} > The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains > {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide > ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OAK-2910) oak-jcr bundle should be usable as a standalone bundle
[ https://issues.apache.org/jira/browse/OAK-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14618355#comment-14618355 ] Oliver Lietz commented on OAK-2910: --- Please, do not use start levels for managing service dependencies or start order. > oak-jcr bundle should be usable as a standalone bundle > -- > > Key: OAK-2910 > URL: https://issues.apache.org/jira/browse/OAK-2910 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: jcr >Reporter: Chetan Mehrotra >Assignee: Chetan Mehrotra > Labels: modularization, osgi, technical_debt > Fix For: 1.3.3 > > > Currently oak-jcr bundle needs to be embedded within some other bundle if the > Oak needs to be properly configured in OSGi env. Need to revisit this aspect > and see what needs to be done to enable Oak to be properly configured without > requiring the oak-jcr bundle to be embedded in the repo -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OAK-3083) Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory)
Oliver Lietz created OAK-3083: - Summary: Unable to resolve org.apache.jackrabbit.oak-core (missing service org.apache.jackrabbit.core.util.db.ConnectionFactory) Key: OAK-3083 URL: https://issues.apache.org/jira/browse/OAK-3083 Project: Jackrabbit Oak Issue Type: Bug Components: core Affects Versions: 1.2.2 Environment: Apache Karaf 4.0.0 Reporter: Oliver Lietz The bundle {{org.apache.jackrabbit.oak-core}} requires ({{Require-Capability}}) a service {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} which is not provided by its (Maven) dependencies or known bundles: {{Unable to resolve org.apache.jackrabbit.oak-core/1.2.2: missing requirement \[org.apache.jackrabbit.oak-core/1.2.2\] osgi.service; effective:=active; filter:="(objectClass=org.apache.jackrabbit.core.util.db.ConnectionFactory)"}} The bundle {{org.apache.jackrabbit.jackrabbit-data}} which contains {{org.apache.jackrabbit.core.util.db.ConnectionFactory}} does not provide ({{Provide-Capability}}) a service. -- This message was sent by Atlassian JIRA (v6.3.4#6332)