[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185906#comment-16185906 ] Julian Reschke commented on JCR-3929: - [~lbeis] - can you check again with the change I just submitted? > Can not create new 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 > Labels: candidate_jcr_2_10, candidate_jcr_2_12, > candidate_jcr_2_14, candidate_jcr_2_6, candidate_jcr_2_8 > Fix For: 2.16, 2.15.7 > > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.g
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185905#comment-16185905 ] Julian Reschke commented on JCR-3929: - trunk: [r1810108|http://svn.apache.org/r1810108] > Can not create new 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 > Labels: candidate_jcr_2_10, candidate_jcr_2_12, > candidate_jcr_2_14, candidate_jcr_2_6, candidate_jcr_2_8 > Fix For: 2.16, 2.15.7 > > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(Def
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185761#comment-16185761 ] Julian Reschke commented on JCR-3929: - As a matter of fact, the problem can already be reproduced by: {noformat} cd jackrabbit-core; mvn test -Dtest=ConsistencyCheckerImplTest {noformat} Why isn't this test run by default? > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > or
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180469#comment-16180469 ] Leonidas Beis commented on JCR-3929: I dont think issue 3665 pertains to this, as OP does, we too have a brand new jcr database initialised without any data included, unless you meant to say this was caused indirectly by some collateral change included in 3665. We will try to come up with a proof of concept and keep you posted so this can be reproduced. > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSin
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180364#comment-16180364 ] Julian Reschke commented on JCR-3929: - FWIW, the tests create new repositories all the time, so there must be something else that's needed to trigger the problem. Also, there's a patch attached to the bug - did anybody try it to see whether it resolves the problem? > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16180345#comment-16180345 ] Leonidas Beis commented on JCR-3929: +1 for this also. Was using 2.12.1 and had this issue when creating a new repository for scratch. Upgraded to latest version available (2.15.5) and nothing, after seeing this thread I downgraded to 2.6.5 and no more issues when creating a brand new repository. > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179182#comment-16179182 ] Julian Reschke commented on JCR-3929: - [~unico] - this might be caused by the changes for JCR-3665. Could you have a look? > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) >
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179132#comment-16179132 ] jimi adrian commented on JCR-3929: -- + 1 for fixing this issue > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > or
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16131910#comment-16131910 ] Jakub Kalicki commented on JCR-3929: Hey, this problem still occurs in latest stable version 2.14.2. Any chances for implementing this in next version? > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(A
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098203#comment-15098203 ] Anton P. commented on JCR-3929: --- I've attached JCR_3929.patch. Please take a look. > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098043#comment-15098043 ] Julian Reschke commented on JCR-3929: - Proposal: write a unit test that reproduces the problem; then see by which change this was broken. > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) > [spring-beans-4.2.0.REL
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15098022#comment-15098022 ] Anton P. commented on JCR-3929: --- Hi, Julian, I can reproduce it for jackrabbit-core 2.10.1 too. org.apache.jackrabbit.core.persistence.bundle.ConsistencyCheckerImpl:246 Will produce same NPE as Kamil reported. So this ticket is still valid for repositories with no nodes (newly created). > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELE
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15056725#comment-15056725 ] Anton P. commented on JCR-3929: --- Met this issue in Version 2.6.5: lastId equals null for new repository (no nodes exist) {code:title=ConsistencyCheckerImpl.java:143} if (CHECKAFTERLOADING) { if (pm.exists(lastId)) { // check info for (Map.Entry entry : allInfos.entrySet()) { checkBundleConsistency(entry.getKey(), entry.getValue(), fix, lostNFound, reports, allInfos); } } else { log.info("Failed to read all nodes, starting over"); internalCheckConsistency(uuids, recursive, fix, reports, lostNFoundId); } } {code} > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > > 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.AbstractAutowireCapable
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987233#comment-14987233 ] Kamil commented on JCR-3929: Yes. Version 2.6.5, remove old repository folder (D:\jackrabbitdocuments), drop/recreate journal database and start the server: {noformat} 2015-11-03 14:05:44.464 INFO [localhost-startStop-1] RepositoryImpl.java:256 Starting repository... 2015-11-03 14:05:44.475 INFO [localhost-startStop-1] LocalFileSystem.java:164 LocalFileSystem initialized at path D:\jackrabbitdocuments\repository 2015-11-03 14:05:44.604 INFO [localhost-startStop-1] NodeTypeRegistry.java:841 no custom node type definitions found 2015-11-03 14:05:44.908 INFO [localhost-startStop-1] DatabaseJournal.java:375 Initialized local revision to 0 2015-11-03 14:05:44.909 INFO [localhost-startStop-1] DatabaseJournal.java:384 Cluster revision janitor thread not started 2015-11-03 14:05:44.909 INFO [localhost-startStop-1] DatabaseJournal.java:280 DatabaseJournal initialized. 2015-11-03 14:05:44.912 INFO [localhost-startStop-1] LocalFileSystem.java:164 LocalFileSystem initialized at path D:\jackrabbitdocuments\version 2015-11-03 14:05:45.041 INFO [localhost-startStop-1] ConsistencyCheckerImpl.java:107 No 'lost+found' node specified: orphans cannot be fixed 2015-11-03 14:05:45.044 INFO [localhost-startStop-1] ConsistencyCheckerImpl.java:214 version: checked 0 bundles. 2015-11-03 14:05:45.131 INFO [localhost-startStop-1] RepositoryImpl.java:2001 initializing workspace 'default'... 2015-11-03 14:05:45.132 INFO [localhost-startStop-1] LocalFileSystem.java:164 LocalFileSystem initialized at path D:\jackrabbitdocuments\workspaces\default 2015-11-03 14:05:45.211 INFO [localhost-startStop-1] ConsistencyCheckerImpl.java:107 No 'lost+found' node specified: orphans cannot be fixed 2015-11-03 14:05:45.214 INFO [localhost-startStop-1] ConsistencyCheckerImpl.java:214 default: checked 0 bundles. 2015-11-03 14:05:45.358 INFO [localhost-startStop-1] ClusterNode.java:432 not started: namespace operation ignored. 2015-11-03 14:05:45.360 INFO [localhost-startStop-1] ClusterNode.java:432 not started: namespace operation ignored. 2015-11-03 14:05:45.361 INFO [localhost-startStop-1] ClusterNode.java:432 not started: namespace operation ignored. 2015-11-03 14:05:46.305 INFO [localhost-startStop-1] MultiIndex.java:1221 indexing... /jcr:system/jcr:nodeTypes/rep:Activities/jcr:childNodeDefinition (100) 2015-11-03 14:05:46.586 INFO [localhost-startStop-1] SearchIndex.java:579 Running consistency check... 2015-11-03 14:05:46.588 INFO [localhost-startStop-1] ConsistencyCheck.java:204 Checking index of workspace null 2015-11-03 14:05:46.588 INFO [localhost-startStop-1] ConsistencyCheck.java:241 Loading nodes 2015-11-03 14:05:46.591 INFO [localhost-startStop-1] ConsistencyCheck.java:275 Checking index consistency 2015-11-03 14:05:46.606 INFO [localhost-startStop-1] ConsistencyCheck.java:283 progress: 10% 2015-11-03 14:05:46.608 INFO [localhost-startStop-1] ConsistencyCheck.java:283 progress: 20% 2015-11-03 14:05:46.610 INFO [localhost-startStop-1] ConsistencyCheck.java:283 progress: 30% 2015-11-03 14:05:46.612 INFO [localhost-startStop-1] ConsistencyCheck.java:283 progress: 40% 2015-11-03 14:05:46.614 INFO [localhost-startStop-1] ConsistencyCheck.java:283 progress: 49% 2015-11-03 14:05:46.615 INFO [localhost-startStop-1] ConsistencyCheck.java:315 progress: 60% 2015-11-03 14:05:46.617 INFO [localhost-startStop-1] ConsistencyCheck.java:315 progress: 70% 2015-11-03 14:05:46.618 INFO [localhost-startStop-1] ConsistencyCheck.java:315 progress: 80% 2015-11-03 14:05:46.620 INFO [localhost-startStop-1] ConsistencyCheck.java:315 progress: 90% 2015-11-03 14:05:46.622 INFO [localhost-startStop-1] ConsistencyCheck.java:315 progress: 99% 2015-11-03 14:05:46.622 INFO [localhost-startStop-1] ConsistencyCheck.java:363 Checking index completeness 2015-11-03 14:05:46.624 INFO [localhost-startStop-1] ConsistencyCheck.java:679 Removing deleted node from index: deadbeef-cafe-cafe-cafe-babecafebabe 2015-11-03 14:05:46.636 INFO [localhost-startStop-1] ConsistencyCheck.java:679 Removing deleted node from index: 3d561990-dfc5-979b-b34f-31e357f980d8 2015-11-03 14:05:46.637 INFO [localhost-startStop-1] ConsistencyCheck.java:679 Removing deleted node from index: 8d525a8d-22cd-66ca-9757-eae57493bf2d 2015-11-03 14:05:46.639 INFO [localhost-startStop-1] ConsistencyCheck.java:679 Removing deleted node from index: e6dba33f-7fe5-2ad1-96dd-7203aeb8be70 2015-11-03 14:05:46.640 INFO [localhost-startStop-1] ConsistencyCheck.java:679 Removing deleted node from index: 6f537f48-a03f-7848-13fd-59d0cf8e88b4 2015-11-03 14:05:46.641 INFO [localhost-startStop-1] ConsistencyCheck.java:679 Removing deleted node from index: ea5784ee-6096-50a9-fc9b-f83174255359 2015-11-03 14:05:46.642 INFO [localhost-startStop-1] Consistenc
[jira] [Commented] (JCR-3929) Can not create new repository
[ https://issues.apache.org/jira/browse/JCR-3929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14987219#comment-14987219 ] Julian Reschke commented on JCR-3929: - 2.7.* are unstable releases (and thus not terrible interesting to investigate). Can you reproduce the problem with the last release of the 2.6 or 2.8 branches? > Can not create new repository > - > > Key: JCR-3929 > URL: https://issues.apache.org/jira/browse/JCR-3929 > Project: Jackrabbit Content Repository > Issue Type: Bug >Affects Versions: 2.7.1 >Reporter: Kamil > > 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.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) > [spring-beans-4.2.0.RELEASE.jar:4.2.0.RELEASE] > at > org.springframework.beans.factory.support.AbstractBeanFactory.doGet