Hi,

I have a requirement where I want to access Magnolia repository from Apache
sling. More preciously I want to deploy my application on apache sling and
internally would like to refer magnolia repository for content storing. I
know magnolia community edition doesn't come with the JNDI support for
external application integration and that's why I have opted for Magnolia
3.6 EE [evaluation edition for now] for this requirement. From sling I am
able to access the repository but it's not allowing me to create content
there. Anybody thoughts on this integration would be great.

Background

A Web Application framework based on REST principle that provides easy
development of content centric application. Sling uses JCR repository, such
as apache jackrabbit or Day's CRX to store and manage content internally.

For details: please visit http://incubator.apache.org/sling/site/index.html

What I did so far as given below.

1.      I downloaded the src from same site, and built the
org.apache.sling.jcr.jackrabbit.client-2.0.2-cubator.jar, and added to
sling\WEB-INF\resources\bundles.
2.      Updated the configuration for this module with the magnolia specific
JNDI information.

java.naming.factory.initial.name : info.magnolia.jndi.InMemoryContextFactory

java.naming.provider.url.name: http://www.magnolia.info/jcr

Repository Name: GlobalRepository

3.      Start the above mentioned bundle but running into error while
restarting sling.

20.03.2009 19:35:56.737 *ERROR* [SCR Component Actor]
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: sling: is
not a registered namespace prefix.: sling: is not a registered namespace
prefix.
            
            at
org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.getNodeType(NodeType
ManagerImpl.java:432)
            ... 13 more



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to