jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sébastien Launay (JIRA) <j...@apache.org>
Subject [jira] Updated: (JCR-2421) Unable to create repository using jackrabbit-webapp because a directory called "jackrabbit" already exists
Date Wed, 09 Dec 2009 09:20:19 GMT

     [ https://issues.apache.org/jira/browse/JCR-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sébastien Launay updated JCR-2421:
----------------------------------

    Attachment: JCR-2421-webapp-unable-to-create-repository.patch

Proposed patch using the third solution.

The only drawback is that a custom repository.xml may not use a LocalFileSystem with path
set to '${rep.home}/repository' but FWIR configTemplate uses '/org/apache/jackrabbit/core/repository.xml'
and is not configurable.

> Unable to create repository using jackrabbit-webapp because a directory called "jackrabbit"
already exists
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-2421
>                 URL: https://issues.apache.org/jira/browse/JCR-2421
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-standalone, jackrabbit-webapp
>    Affects Versions: 2.0-beta1, 2.0-beta3
>         Environment: Jetty 6.1.18 / Sun JDK 1.6.0_14-b08 / Ubuntu Jaunty 9.04
>            Reporter: Sébastien Launay
>            Assignee: Sébastien Launay
>         Attachments: JCR-2421-webapp-unable-to-create-repository.patch
>
>
> I mount the jackrabbit-webapp.war in a Jetty installation
> * at startup i have the following exception:
> ERROR RepositoryStartupServlet: Either create thejackrabbit/bootstrap.properties file
or
> ERROR RepositoryStartupServlet: use the '/config/index.jsp' for easy configuration.
> ERROR RepositoryStartupServlet: RepositoryStartupServlet initializing failed: javax.servlet.ServletException:
Repository startup configuration is not valid.
> * then when i access http://localhost:8080/ i am forwarded to the page:
>  http://localhost:8080/bootstrap/missing.jsp
> * creating the repository by clicking on "Create Content Repository" button fails complaining
that the jackrabbit directory already exists
> Indeed, i find a jackrabbit directory in my JETTY_HOME (from where is started Jetty).
> A workaround is to delete this "jackrabbit" directory and then i can create the repository
by clicking on the previous button and therefore access the newly created repository.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message