jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "wendy Lee" <hawkliw...@gmail.com>
Subject Re: [jira] Commented: (JCR-595) Refactoring of the Persistence Managers
Date Tue, 31 Oct 2006 13:09:11 GMT
Yes I have met the same  problem  with it .How to solve it ?

2006/10/31, Przemo Pakulski (JIRA) <jira@apache.org>:
>
>     [
> http://issues.apache.org/jira/browse/JCR-595?page=comments#action_12445876]
>
> Przemo Pakulski commented on JCR-595:
> -------------------------------------
>
> DatabasePersistenceManagers kept for compatibility  (in old
> org.apache.jackrabbit.core.state.db package) doesn't work longer.
> Following exception is thrown during initailization of repository (file
> with schema cannot be found) :
>
> Testcase: testFillInSearchData(org.apache.jackrabbit.init.QueryTestData):
> Caused an ERROR
> Failed to get Repository instance.: javax.jcr.RepositoryException: Cannot
> instantiate persistence manager
> org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Configuration
> error: unknown schema 'derby': Configuration error: unknown schema 'derby'
> javax.jcr.RepositoryException: Failed to get Repository instance.:
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Configuration
> error: unknown schema 'derby': Configuration error: unknown schema 'derby':
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Configuration
> error: unknown schema 'derby': Configuration error: unknown schema 'derby'
>         at org.apache.jackrabbit.test.RepositoryHelper.getRepository(
> RepositoryHelper.java:70)
>         at org.apache.jackrabbit.test.RepositoryHelper.getProperty(
> RepositoryHelper.java:150)
>         at org.apache.jackrabbit.test.AbstractJCRTest.getProperty(
> AbstractJCRTest.java:429)
>         at org.apache.jackrabbit.test.AbstractJCRTest.setUp(
> AbstractJCRTest.java:254)
>         at org.apache.jackrabbit.test.AbstractJCRTest.run(
> AbstractJCRTest.java:393)
> Caused by: org.apache.jackrabbit.test.RepositoryStubException:
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Configuration
> error: unknown schema 'derby': Configuration error: unknown schema 'derby'
>         at
> org.apache.jackrabbit.core.JackrabbitRepositoryStub.getRepository(
> JackrabbitRepositoryStub.java:112)
>         at org.apache.jackrabbit.test.RepositoryHelper.getRepository(
> RepositoryHelper.java:68)
>         ... 15 more
> org.apache.jackrabbit.test.RepositoryStubException:
> javax.jcr.RepositoryException: Cannot instantiate persistence manager
> org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: Configuration
> error: unknown schema 'derby': Configuration error: unknown schema 'derby'
>         at
> org.apache.jackrabbit.core.JackrabbitRepositoryStub.getRepository(
> JackrabbitRepositoryStub.java:112)
>         at org.apache.jackrabbit.test.RepositoryHelper.getRepository(
> RepositoryHelper.java:68)
>         at org.apache.jackrabbit.test.RepositoryHelper.getProperty(
> RepositoryHelper.java:150)
>         at org.apache.jackrabbit.test.AbstractJCRTest.getProperty(
> AbstractJCRTest.java:429)
>         at org.apache.jackrabbit.test.AbstractJCRTest.setUp(
> AbstractJCRTest.java:254)
>         at org.apache.jackrabbit.test.AbstractJCRTest.run(
> AbstractJCRTest.java:393)
>
> > Refactoring of the Persistence Managers
> > ---------------------------------------
> >
> >                 Key: JCR-595
> >                 URL: http://issues.apache.org/jira/browse/JCR-595
> >             Project: Jackrabbit
> >          Issue Type: Improvement
> >          Components: core
> >    Affects Versions: 1.1.1
> >            Reporter: Tobias Bocanegra
> >         Assigned To: Tobias Bocanegra
> >            Priority: Minor
> >             Fix For: 1.1.1
> >
> >         Attachments: jackrabbit.465518.patch
> >
> >
> > currently the persistence managers reside in:
> >  org.apache.jackrabbit.core.state
> >  org.apache.jackrabbit.core.state.db
> >  org.apache.jackrabbit.core.state.mem
> >  org.apache.jackrabbit.core.state.obj
> >  org.apache.jackrabbit.core.state.xml
> >  (org.apache.jackrabbit.core.state.util)
> > there are also a lot of other classes that deal with states (eg:
> > SharedItemStateManager) in the state package that do not relate to
> > pms.
> > i would like to move all persistencemanagers and pm related stuff to:
> >  org.apache.jackrabbit.core.persistence
> > I'd keep the current classes as deprecated subclasses within
> > jackrabbit-core.jar until Jackrabbit 2.0. There may (?) be people who
> > are extending the existing classes, so I'd avoid breaking binary
> > compatibility there even though we've never promised to actually honor
> > compatiblity within o.a.j.core.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message