[jira] [Comment Edited] (JCR-3929) ConsistencyCheck may fail on empty repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219264#comment-16219264 ] Julian Reschke edited comment on JCR-3929 at 6/11/18 8:46 AM: -- trunk: [r1810108|http://svn.apache.org/r1810108] 2.14: [r1813337|http://svn.apache.org/r1813337] 2.12: [r1829886|http://svn.apache.org/r1829886] 2.10: [r1831481|http://svn.apache.org/r1831481] 2.8: [r1833312|http://svn.apache.org/r1833312] was (Author: reschke): trunk: [r1810108|http://svn.apache.org/r1810108] 2.14: [r1813337|http://svn.apache.org/r1813337] 2.12: [r1829886|http://svn.apache.org/r1829886] 2.10: [r1831481|http://svn.apache.org/r1831481] > ConsistencyCheck may fail on empty repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core >Affects Versions: 2.7.1 >Reporter: Kamil >Assignee: Julian Reschke >Priority: Major > Fix For: 2.16, 2.15.7, 2.14.4, 2.12.9, 2.10.8, 2.8.8 > > Attachments: JCR_3929.patch > > > Creation of fresh repository doesn't work with versions >= 2.7.1 > When I use version 2.6.5 or 2.7.0, remove old repository folder > (D:\jackrabbitdocuments), drop/recreate journal database and start the server > - everything work correctly. > When I switch from 2.7.0 to 2.7.1, remove old repository folder > (D:\jackrabbitdocuments), drop/recreate journal database and start the server > I obtain following exception: > {noformat} > 2015-11-03 13:16:42.568 INFO [localhost-startStop-1] RepositoryImpl.java:257 > Starting repository... > 2015-11-03 13:16:42.578 INFO [localhost-startStop-1] > LocalFileSystem.java:164 LocalFileSystem initialized at path > D:\jackrabbitdocuments\repository > 2015-11-03 13:16:42.696 INFO [localhost-startStop-1] > NodeTypeRegistry.java:870 no custom node type definitions found > 2015-11-03 13:16:42.974 INFO [localhost-startStop-1] > DatabaseJournal.java:375 Initialized local revision to 0 > 2015-11-03 13:16:42.975 INFO [localhost-startStop-1] > DatabaseJournal.java:384 Cluster revision janitor thread not started > 2015-11-03 13:16:42.976 INFO [localhost-startStop-1] > DatabaseJournal.java:280 DatabaseJournal initialized. > 2015-11-03 13:16:42.979 INFO [localhost-startStop-1] > LocalFileSystem.java:164 LocalFileSystem initialized at path > D:\jackrabbitdocuments\version > 2015-11-03 13:16:43.122 ERROR [localhost-startStop-1] RepositoryImpl.java:367 > failed to start Repository: Cannot instantiate persistence manager > org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager > javax.jcr.RepositoryException: Cannot instantiate persistence manager > org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager > at > org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1354) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:487) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:312) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:590) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCARepositoryManager.createNonTransientRepository(JCARepositoryManager.java:124) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:79) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:216) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:153) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.springframework.jca.support.LocalConnectionFactoryBean.afterPropertiesSet(LocalConnectionFactoryBean.java:118) > [spring-tx-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.bean
[jira] [Comment Edited] (JCR-3929) ConsistencyCheck may fail on empty repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219264#comment-16219264 ] Julian Reschke edited comment on JCR-3929 at 5/12/18 2:25 PM: -- trunk: [r1810108|http://svn.apache.org/r1810108] 2.14: [r1813337|http://svn.apache.org/r1813337] 2.12: [r1829886|http://svn.apache.org/r1829886] 2.10: [r1831481|http://svn.apache.org/r1831481] was (Author: reschke): trunk: [r1810108|http://svn.apache.org/r1810108] 2.14: [r1813337|http://svn.apache.org/r1813337] 2.12: [r1829886|http://svn.apache.org/r1829886] > ConsistencyCheck may fail on empty repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core >Affects Versions: 2.7.1 >Reporter: Kamil >Assignee: Julian Reschke >Priority: Major > Labels: candidate_jcr_2_8 > Fix For: 2.16, 2.15.7, 2.14.4, 2.12.9, 2.10.8 > > Attachments: JCR_3929.patch > > > Creation of fresh repository doesn't work with versions >= 2.7.1 > When I use version 2.6.5 or 2.7.0, remove old repository folder > (D:\jackrabbitdocuments), drop/recreate journal database and start the server > - everything work correctly. > When I switch from 2.7.0 to 2.7.1, remove old repository folder > (D:\jackrabbitdocuments), drop/recreate journal database and start the server > I obtain following exception: > {noformat} > 2015-11-03 13:16:42.568 INFO [localhost-startStop-1] RepositoryImpl.java:257 > Starting repository... > 2015-11-03 13:16:42.578 INFO [localhost-startStop-1] > LocalFileSystem.java:164 LocalFileSystem initialized at path > D:\jackrabbitdocuments\repository > 2015-11-03 13:16:42.696 INFO [localhost-startStop-1] > NodeTypeRegistry.java:870 no custom node type definitions found > 2015-11-03 13:16:42.974 INFO [localhost-startStop-1] > DatabaseJournal.java:375 Initialized local revision to 0 > 2015-11-03 13:16:42.975 INFO [localhost-startStop-1] > DatabaseJournal.java:384 Cluster revision janitor thread not started > 2015-11-03 13:16:42.976 INFO [localhost-startStop-1] > DatabaseJournal.java:280 DatabaseJournal initialized. > 2015-11-03 13:16:42.979 INFO [localhost-startStop-1] > LocalFileSystem.java:164 LocalFileSystem initialized at path > D:\jackrabbitdocuments\version > 2015-11-03 13:16:43.122 ERROR [localhost-startStop-1] RepositoryImpl.java:367 > failed to start Repository: Cannot instantiate persistence manager > org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager > javax.jcr.RepositoryException: Cannot instantiate persistence manager > org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager > at > org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1354) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:487) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:312) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:590) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCARepositoryManager.createNonTransientRepository(JCARepositoryManager.java:124) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:79) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:216) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:153) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.springframework.jca.support.LocalConnectionFactoryBean.afterPropertiesSet(LocalConnectionFactoryBean.java:118) > [spring-tx-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBe
[jira] [Comment Edited] (JCR-3929) ConsistencyCheck may fail on empty repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16219264#comment-16219264 ] Julian Reschke edited comment on JCR-3929 at 4/23/18 1:40 PM: -- trunk: [r1810108|http://svn.apache.org/r1810108] 2.14: [r1813337|http://svn.apache.org/r1813337] 2.12: [r1829886|http://svn.apache.org/r1829886] was (Author: reschke): trunk: [r1810108|http://svn.apache.org/r1810108] 2.14: [r1813337|http://svn.apache.org/r1813337] > ConsistencyCheck may fail on empty repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core >Affects Versions: 2.7.1 >Reporter: Kamil >Assignee: Julian Reschke >Priority: Major > Labels: candidate_jcr_2_10, candidate_jcr_2_8 > Fix For: 2.16, 2.15.7, 2.14.4, 2.12.9 > > Attachments: JCR_3929.patch > > > Creation of fresh repository doesn't work with versions >= 2.7.1 > When I use version 2.6.5 or 2.7.0, remove old repository folder > (D:\jackrabbitdocuments), drop/recreate journal database and start the server > - everything work correctly. > When I switch from 2.7.0 to 2.7.1, remove old repository folder > (D:\jackrabbitdocuments), drop/recreate journal database and start the server > I obtain following exception: > {noformat} > 2015-11-03 13:16:42.568 INFO [localhost-startStop-1] RepositoryImpl.java:257 > Starting repository... > 2015-11-03 13:16:42.578 INFO [localhost-startStop-1] > LocalFileSystem.java:164 LocalFileSystem initialized at path > D:\jackrabbitdocuments\repository > 2015-11-03 13:16:42.696 INFO [localhost-startStop-1] > NodeTypeRegistry.java:870 no custom node type definitions found > 2015-11-03 13:16:42.974 INFO [localhost-startStop-1] > DatabaseJournal.java:375 Initialized local revision to 0 > 2015-11-03 13:16:42.975 INFO [localhost-startStop-1] > DatabaseJournal.java:384 Cluster revision janitor thread not started > 2015-11-03 13:16:42.976 INFO [localhost-startStop-1] > DatabaseJournal.java:280 DatabaseJournal initialized. > 2015-11-03 13:16:42.979 INFO [localhost-startStop-1] > LocalFileSystem.java:164 LocalFileSystem initialized at path > D:\jackrabbitdocuments\version > 2015-11-03 13:16:43.122 ERROR [localhost-startStop-1] RepositoryImpl.java:367 > failed to start Repository: Cannot instantiate persistence manager > org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager > javax.jcr.RepositoryException: Cannot instantiate persistence manager > org.apache.jackrabbit.core.persistence.pool.PostgreSQLPersistenceManager > at > org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1354) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:487) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:312) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:590) > [jackrabbit-core-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCARepositoryManager.createNonTransientRepository(JCARepositoryManager.java:124) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(JCARepositoryManager.java:79) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(JCAManagedConnectionFactory.java:216) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory(JCAManagedConnectionFactory.java:153) > [jackrabbit-jca-2.7.1.jar:2.7.1] > at > org.springframework.jca.support.LocalConnectionFactoryBean.afterPropertiesSet(LocalConnectionFactoryBean.java:118) > [spring-tx-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) > [spring-beans-4.2.0.RELEASE.jar:4