DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36334>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36334

           Summary: [PATCH] JCR ConfigurationException on start-up.
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P1
         Component: Repository Integration
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


After a clean build, a ConfigurationException is thrown on start-up:

org.apache.jackrabbit.core.config.ConfigurationException: Failed to create
configuration directory for workspace default.
        at
org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:299)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:218)
        at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:97)
        at
org.apache.cocoon.jcr.JackrabbitRepository.configure(JackrabbitRepository.java:82)
        at 
org.apache.lenya.cms.jcr.LenyaRepository.configure(LenyaRepository.java:67)
        at
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:240)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:269)
        at 
....

A possible work-around is to manually delete the newly created 'repository'
directory and restart the application.

The problem is solved by adding the workspace.xml before start-up (see patch).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to