Stephen,

Stephen More wrote:
On 3/10/06, Markus Strickler <[email protected]> wrote:
Make sure Magnolia has read/write access to your repository directory
(/home/mores/wip/magnolia-2.1.5/tomcat/webapps/magnoliaAuthor/
repositories/ in your case).

The directories look good to me:
$ ls -ld repositories/
drwxrwxr-x  6 mores mores 4096 Mar 10 09:04 repositories/
$ ls -ld repositories/*
drwxrwxr-x  5 mores mores 4096 Mar 10 15:39 repositories/config
drwxrwxr-x  5 mores mores 4096 Mar 10 15:40 repositories/userroles
drwxrwxr-x  5 mores mores 4096 Mar 10 15:39 repositories/users
drwxrwxr-x  5 mores mores 4096 Mar 10 15:39 repositories/website
$

Yes this looks ok so far.


The first time it started I was able to login to magnoliaAuthor/ but
the screen had nothing but a background image.

I restarted the application...my previous exceptions are not showing
up, now I am getting new ones:
ERROR  info.magnolia.cms.security.SessionAccessControl
SessionAccessControl.java(updateRolesACL:383) 10.03.2006 15:43:01 Failed to update roles ACL
ERROR  info.magnolia.cms.security.SessionAccessControl
SessionAccessControl.java(updateRolesACL:384) 10.03.2006 15:43:01 superuser
javax.jcr.PathNotFoundException: superuser
        at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2206)
        at info.magnolia.cms.core.Content.<init>(Content.java:110)

The database was only partially initialized, so will probably get all kinds of 
weird errors.
Stopping tomcat, deleting everything under repositories and starting tomcat 
again will trigger the initialization again.
Did you get any OutOfMemory exceptions during startup? That's the no. 1 reason for partial initialization.
If not, maybe the Exception you got after:
"Failed to create database
'/home/mores/wip/magnolia-2.1.5/tomcat/webapps/magnoliaAuthor/repositories/userroles/workspaces/default/db',
see the next exception for details."

sheds some more light on what actually happened.

-markus

Is anyone else using a non-Sun SDK ?

-Steve More

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


--
Markus Strickler

http://www.braindump.ms/markus/

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to