Deleting the repository directory doesn't help. I have tried this
earlier, I think that a new repository is created by KronosApplication
and is immediately started and locked, so later a KronosSession cannot
start it again.

Best regards,
Daniel Stoch

On 5/21/07, Daniel Stoch <[EMAIL PROTECTED]> wrote:
>
> It's possible to delete the repository directory.
> When this is done it should work.
>
> best regards,
>
> Ted Roeloffzen
>
>
> 2007/5/16, Daniel Stoch <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>:
>
>     Hi,
>
>     I want to run a Wicket-Kronos-CMS on Tomcat. When I try to enter a
>     home page I have an error:
>     "WicketMessage: Can't instantiate page using constructor public
>     wicket.kronos.frontpage.Frontpage(wicket.PageParameters) and argument
>     "
>     which is caused by:
>     javax.jcr.RepositoryException: The repository home at repository
>     appears to be in use since the file at repository\.lock is locked by
>     another process.
>         at
>     
> org.apache.jackrabbit.core.RepositoryImpl.acquireRepositoryLock(RepositoryImpl.java:323)
>         at org.apache.jackrabbit.core.RepositoryImpl
>     .<init>(RepositoryImpl.java:198)
>         at
>     org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:484)
>         at
>     
> org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:241)
>
>         at
>     
> org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:261)
>         at
>     
> org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:329)
>         at org.apache.jackrabbit.core.TransientRepository.login
>     (TransientRepository.java:359)
>         at wicket.kronos.KronosSession.getJCRSession(KronosSession.java:145)
>         at wicket.kronos.frontpage.Frontpage.<init>(Frontpage.java:43)
>         at java.lang.reflect.Constructor.newInstance (Constructor.java:494)
>
>     At KronosApplication class there is a line 44:
>     DataProcessor.repositoryStartup();
>     which starts repository and makes a .lock. When I want to enter a
>     Kronos home page in web browser then KronosSession.getJCRSession() is
>     called and it wants to start a repository once again.
>
>     Is it a bug or what do I wrong?
>     Is there any documentation about this project?
>
>     Best regards,
>     Daniel Stoch

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to