[
https://issues.apache.org/jira/browse/SLING-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612328#comment-13612328
]
Ian Boston commented on SLING-2788:
-----------------------------------
The reason the authentication service was missing is because the
org.apache.jackrabbit.mk.osgi.MicroKernelService component was not configured.
Adding a configuration in the launchpad resource at
src/main/resources/resources/config/org.apache.jackrabbit.mk.osgi.MicroKernelService.config
results in the file being placed at
sling/config/org/apache/jackrabbit/mk/osgi/MicroKernelService.config by the
OsgiInstaller, which cause the MicronKernelService to start (as its now
configured).
Next error is no SecurityProvider (reported and patched, see OAK-716 ).
Next error is missing node types:
25.03.2013 11:30:29.412 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent:
pid=org.apache.jackrabbit.mk.osgi.MicroKernelService)]
org.apache.sling.jcr.base.internal.RepositoryPrinterProvider Providing new
configuration printer for
org.apache.jackrabbit.oak.sling.SlingRepositoryImpl@4cb0f24a : {service.id=131,
objectClass=[Ljava.lang.String;@74f2ff9b}
25.03.2013 11:30:29.423 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent:
pid=org.apache.jackrabbit.mk.osgi.MicroKernelService)]
org.apache.sling.jcr.base Service [132] ServiceEvent REGISTERED
25.03.2013 11:30:29.426 *INFO* [CM Event Dispatcher (Fire ConfigurationEvent:
pid=org.apache.jackrabbit.mk.osgi.MicroKernelService)]
org.apache.sling.jcr.contentloader
[org.apache.sling.jcr.contentloader.internal.ContentLoaderService] Dependency
Manager: Service repository registered, activate component
25.03.2013 11:30:29.499 *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent:
pid=org.apache.jackrabbit.mk.osgi.MicroKernelService)]
org.apache.sling.jcr.contentloader.internal.ContentLoaderService activate:
Problem while loading initial content and registering mappings for existing
bundles javax.jcr.nodetype.NoSuchNodeTypeException: sling:Folder
at
org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.internalGetNodeType(ReadOnlyNodeTypeManager.java:450)
at
org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getNodeType(ReadOnlyNodeTypeManager.java:177)
at org.apache.jackrabbit.oak.jcr.NodeImpl$5.perform(NodeImpl.java:283)
at org.apache.jackrabbit.oak.jcr.NodeImpl$5.perform(NodeImpl.java:239)
at
org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.perform(SessionDelegate.java:101)
at org.apache.jackrabbit.oak.jcr.ItemImpl.perform(ItemImpl.java:67)
at org.apache.jackrabbit.oak.jcr.NodeImpl.addNode(NodeImpl.java:239)
at
org.apache.sling.jcr.contentloader.internal.ContentLoaderService.createRepositoryPath(ContentLoaderService.java:194)
at
org.apache.sling.jcr.contentloader.internal.ContentLoaderService.activate(ContentLoaderService.java:220)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Sling running using Apache OAK
> ------------------------------
>
> Key: SLING-2788
> URL: https://issues.apache.org/jira/browse/SLING-2788
> Project: Sling
> Issue Type: Wish
> Components: General
> Reporter: Antonio Sanso
> Assignee: Ian Boston
>
> It would be nice to have a runMode of Sling that runs on top of Apache OAK
> [0]
> [0] http://jackrabbit.apache.org/oak/
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira