Hi Matt,
I went ahead and restored the author DB from the public dump. I replaced the
author repositories with the public repositories and removed all the index/*
content.
I also removed a .lock file i found in the repositories directory after
deploying the tar from the public.
When I started tomcat I noticed in the logs a bunch of exceptions similar to:
[code]
javax.jcr.RepositoryException: Cannot instantiate persistence manager
com.iorga.jackrabbit.core.persistence.db.PooledJNDIDatabasePersistenceManager:
Name magnoliapublic is not bound in this Context: Name magnoliapublic is not
bound in this Context
at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1121)
....
[/code]
I noticed that the repositories I restored from the public instance contained a
bunch of worspace.xml files that were pointing to the "public" schema:
[code]
<PersistenceManager
class="com.iorga.jackrabbit.core.persistence.db.PooledJNDIDatabasePersistenceManager">
<param name="dataSourceLocation"
value="java:comp/env/jdbc/magnoliapublic"/>
<param name="schemaObjectPrefix" value="${wsp.name}_"/>
<param name="externalBLOBs" value="false"/>
</PersistenceManager>
[/code]
So I manually changed all to point to "java:comp/env/jdbc/magnoliaauthor".
When I start tomcat now, there are no exceptions and it allows me to login, but
there are no objects in the UI... website is empty, documents is empty etc?
I noticed the following warning in tomcat log when I logged in:
[code]
WARN info.magnolia.cms.security.MgnlSecurityUtil
MgnlSecurityUtil.java(collectPropertyNames:92) 07.02.2012 13:33:46 Can't find
userroles node by UUID adddfaa5-0f00-4a01-9664-ed5cfd0fdd0f referred by node
/editors/roles/0
[/code]
Is that the reason?
I don?t have the superuser password, but I found a post in the wiki
([url]http://wiki.magnolia-cms.com/display/WIKI/Reset+superuser+account[/url])
and I?m going to try and reset it? not sure if that will lead me anywhere
though.
Any ideas would be truly appreciated.
Thanks,
David
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=6db90c8d-3431-46d1-87ee-719d916895f6
----------------------------------------------------------------
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]>
----------------------------------------------------------------