Thanks Jan. Steps are clear.
But 2 issues:
1) DefaultRepositoryManager is a final class.. I can not extend it :(
2) Even if I copy that class in my jar, I receive this (it seems IoC..)
exception:
----------------------------
2014-03-26 20:25:43,404 INFO info.magnolia.cms.beans.config.ConfigLoader
: Initializing content repositories
2014-03-26 20:25:43,411 INFO info.magnolia.repository.DefaultRepositoryManager
: Loading JCR
2014-03-26 20:25:43,425 INFO info.magnolia.repository.DefaultRepositoryManager
: Loading JCR magnolia
2014-03-26 20:25:43,440 INFO info.magnolia.jackrabbit.ProviderImpl
: Loading repository at C:\dev\repositories\xxxxx\magnoliaAuthor\magnolia
(config file:
C:\dev\workspaces\xxxxx\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\magnoliaAuthor\WEB-INF\config\repo-conf\jackrabbit-bundle-derby-search.xml)
- cluster id: "<unset>"
2014-03-26 20:25:43,723 WARN org.apache.jackrabbit.core.util.RepositoryLock
: Existing lock file C:\dev\repositories\xxxxx\magnoliaAuthor\magnolia\.lock
detected. Repository was not shut down properly.
2014-03-26 20:25:53,517 ERROR info.magnolia.cms.security.JCRSessionOp
: failed to retrieve repository mgnlVersion with mgnlVersion
javax.jcr.NoSuchWorkspaceException: mgnlVersion
at
com.xxxxx.intranet.yyyyyyyy.security.DefaultRepositoryManager.getSystemSession(DefaultRepositoryManager.java:215)
at
info.magnolia.context.SystemRepositoryStrategy.internalGetSession(SystemRepositoryStrategy.java:54)
--------------------------
I have understood the point, but I see some barriers here..
Or maybe I'm wrong somewhere..
M.
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=0f30a282-75c7-42ed-a73c-9379248d173b
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------