Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1616

Integration test failures

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 2.8.3.Final
    • 2.8.3.Final
    • Testing
    • None

      After recent (unrelated?) changes, several tests in ConfigurationTest have begun failing on some platforms:

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.modeshape.test.integration.ConfigurationTest
      java.lang.NullPointerException
      	at org.hsqldb.scriptio.ScriptWriterText.writeDeleteStatement(Unknown Source)
      	at org.hsqldb.persist.Log.writeDeleteStatement(Unknown Source)
      	at org.hsqldb.persist.Logger.writeDeleteStatement(Unknown Source)
      	at org.hsqldb.Table.deleteNoCheck(Unknown Source)
      	at org.hsqldb.Table.deleteNoRefCheck(Unknown Source)
      	at org.hsqldb.Table.delete(Unknown Source)
      	at org.hsqldb.CompiledStatementExecutor.executeDeleteStatement(Unknown Source)
      	at org.hsqldb.CompiledStatementExecutor.executeImpl(Unknown Source)
      	at org.hsqldb.CompiledStatementExecutor.execute(Unknown Source)
      	at org.hsqldb.Session.sqlExecute(Unknown Source)
      	at org.hsqldb.Session.execute(Unknown Source)
      	at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
      	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
      	at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101)
      	at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:421)
      	at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283)
      	at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1278)
      	at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117)
      	at org.hibernate.ejb.QueryImpl.internalExecuteUpdate(QueryImpl.java:183)
      	at org.hibernate.ejb.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:99)
      	at org.modeshape.connector.store.jpa.model.simple.SubgraphQuery.create(SubgraphQuery.java:95)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaRepository$Workspace.removeUuidReference(SimpleJpaRepository.java:418)
      	at org.modeshape.graph.connector.map.AbstractMapWorkspace.removeNode(AbstractMapWorkspace.java:268)
      	at org.modeshape.graph.connector.map.MapRequestProcessor.process(MapRequestProcessor.java:282)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:250)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:363)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:235)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaConnection.execute(SimpleJpaConnection.java:133)
      	at org.modeshape.graph.connector.RepositoryConnectionPool$ConnectionWrapper.execute(RepositoryConnectionPool.java:1124)
      	at org.modeshape.graph.Graph.execute(Graph.java:288)
      	at org.modeshape.graph.Graph$Batch.execute(Graph.java:4970)
      	at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeTypes(RepositoryNodeTypeManager.java:1826)
      	at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeTypes(RepositoryNodeTypeManager.java:1922)
      	at org.modeshape.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:682)
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:900)
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:883)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      java.lang.NullPointerException
      	at org.hsqldb.scriptio.ScriptWriterText.writeRow(Unknown Source)
      	at org.hsqldb.scriptio.ScriptWriterText.writeInsertStatement(Unknown Source)
      	at org.hsqldb.persist.Log.writeInsertStatement(Unknown Source)
      	at org.hsqldb.persist.Logger.writeInsertStatement(Unknown Source)
      	at org.hsqldb.Table.insertNoCheck(Unknown Source)
      	at org.hsqldb.Table.insertRow(Unknown Source)
      	at org.hsqldb.Table.insert(Unknown Source)
      	at org.hsqldb.CompiledStatementExecutor.executeInsertValuesStatement(Unknown Source)
      	at org.hsqldb.CompiledStatementExecutor.executeImpl(Unknown Source)
      	at org.hsqldb.CompiledStatementExecutor.execute(Unknown Source)
      	at org.hsqldb.Session.sqlExecute(Unknown Source)
      	at org.hsqldb.Session.execute(Unknown Source)
      	at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
      	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
      	at org.hibernate.id.insert.AbstractSelectingDelegate.performInsert(AbstractSelectingDelegate.java:57)
      	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2329)
      	at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2836)
      	at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:71)
      	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:268)
      	at org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:321)
      	at org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:204)
      	at org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:130)
      	at org.hibernate.ejb.event.EJB3PersistEventListener.saveWithGeneratedId(EJB3PersistEventListener.java:69)
      	at org.hibernate.event.def.DefaultPersistEventListener.entityIsTransient(DefaultPersistEventListener.java:179)
      	at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:135)
      	at org.hibernate.event.def.DefaultPersistEventListener.onPersist(DefaultPersistEventListener.java:61)
      	at org.hibernate.impl.SessionImpl.firePersist(SessionImpl.java:800)
      	at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:774)
      	at org.hibernate.impl.SessionImpl.persist(SessionImpl.java:778)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:668)
      	at org.modeshape.connector.store.jpa.model.simple.SubgraphQuery.create(SubgraphQuery.java:66)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaRepository$Workspace.getBranch(SimpleJpaRepository.java:502)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleRequestProcessor.process(SimpleRequestProcessor.java:63)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:291)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:363)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:235)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaConnection.execute(SimpleJpaConnection.java:133)
      	at org.modeshape.graph.connector.RepositoryConnectionPool$ConnectionWrapper.execute(RepositoryConnectionPool.java:1124)
      	at org.modeshape.graph.request.CompositeRequestChannel$2.call(CompositeRequestChannel.java:223)
      	at org.modeshape.graph.request.CompositeRequestChannel$2.call(CompositeRequestChannel.java:212)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      Tests run: 11, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 166.127 sec <<< FAILURE!
      
      Results :
      
      Tests in error: 
        shouldStartWithEdsConfigurationAndRestart(org.modeshape.test.integration.ConfigurationTest): Error starting the "eds" repository (check the configuration): Error starting the "eds" repository (check the configuration): org.hibernate.exception.GenericJDBCException: could not execute update query
        shouldReadNodeTypesUponRestartUsingJpaConnector(org.modeshape.test.integration.ConfigurationTest): Error starting the "Repo" repository (check the configuration): Error starting the "Repo" repository (check the configuration): org.hibernate.exception.GenericJDBCException: Cannot open connection
      
      Tests run: 11, Failures: 0, Errors: 2, Skipped: 0
      

      where the JUnit test output shows:

      -------------------------------------------------------------------------------
      Test set: org.modeshape.test.integration.ConfigurationTest
      -------------------------------------------------------------------------------
      Tests run: 11, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 143.434 sec <<< FAILURE!
      shouldStartWithEdsConfigurationAndRestart(org.modeshape.test.integration.ConfigurationTest)  Time elapsed: 40.179 sec  <<< ERROR!
      javax.jcr.RepositoryException: Error starting the "eds" repository (check the configuration): Error starting the "eds" repository (check the configuration): org.hibernate.exception.GenericJDBCException: could not execute update query
      	at org.modeshape.jcr.JcrEngine$JcrRepositoryHolder.getRepository(JcrEngine.java:825)
      	at org.modeshape.jcr.JcrEngine.getRepository(JcrEngine.java:380)
      	at org.modeshape.test.integration.ConfigurationTest.shouldStartWithEdsConfigurationAndRestart(ConfigurationTest.java:281)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      Caused by: javax.jcr.RepositoryException: Error starting the "eds" repository (check the configuration): org.hibernate.exception.GenericJDBCException: could not execute update query
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:911)
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:883)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute update query
      	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1168)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:1245)
      	at org.hibernate.ejb.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:108)
      	at org.modeshape.connector.store.jpa.model.simple.SubgraphQuery.create(SubgraphQuery.java:95)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaRepository$Workspace.removeUuidReference(SimpleJpaRepository.java:418)
      	at org.modeshape.graph.connector.map.AbstractMapWorkspace.removeNode(AbstractMapWorkspace.java:268)
      	at org.modeshape.graph.connector.map.MapRequestProcessor.process(MapRequestProcessor.java:282)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:250)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:363)
      	at org.modeshape.graph.request.processor.RequestProcessor.process(RequestProcessor.java:235)
      	at org.modeshape.connector.store.jpa.model.simple.SimpleJpaConnection.execute(SimpleJpaConnection.java:133)
      	at org.modeshape.graph.connector.RepositoryConnectionPool$ConnectionWrapper.execute(RepositoryConnectionPool.java:1124)
      	at org.modeshape.graph.Graph.execute(Graph.java:288)
      	at org.modeshape.graph.Graph$Batch.execute(Graph.java:4970)
      	at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeTypes(RepositoryNodeTypeManager.java:1826)
      	at org.modeshape.jcr.RepositoryNodeTypeManager.registerNodeTypes(RepositoryNodeTypeManager.java:1922)
      	at org.modeshape.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:682)
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:900)
      	... 6 more
      Caused by: org.hibernate.exception.GenericJDBCException: could not execute update query
      	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:110)
      	at org.hibernate.hql.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:421)
      	at org.hibernate.engine.query.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:283)
      	at org.hibernate.impl.SessionImpl.executeUpdate(SessionImpl.java:1278)
      	at org.hibernate.impl.QueryImpl.executeUpdate(QueryImpl.java:117)
      	at org.hibernate.ejb.QueryImpl.internalExecuteUpdate(QueryImpl.java:183)
      	at org.hibernate.ejb.AbstractQueryImpl.executeUpdate(AbstractQueryImpl.java:99)
      	... 21 more
      Caused by: java.sql.SQLException: S1000 General error java.lang.NullPointerException in statement [delete from MODE_SUBGRAPH_NODES where QUERY_ID=?]
      	at org.hsqldb.jdbc.Util.throwError(Unknown Source)
      	at org.hsqldb.jdbc.jdbcPreparedStatement.executeUpdate(Unknown Source)
      	at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
      	at org.hibernate.hql.ast.exec.BasicExecutor.execute(BasicExecutor.java:101)
      	... 27 more
      shouldReadNodeTypesUponRestartUsingJpaConnector(org.modeshape.test.integration.ConfigurationTest)  Time elapsed: 87.255 sec  <<< ERROR!
      javax.jcr.RepositoryException: Error starting the "Repo" repository (check the configuration): Error starting the "Repo" repository (check the configuration): org.hibernate.exception.GenericJDBCException: Cannot open connection
      	at org.modeshape.jcr.JcrEngine$JcrRepositoryHolder.getRepository(JcrEngine.java:825)
      	at org.modeshape.jcr.JcrEngine.getRepository(JcrEngine.java:380)
      	at org.modeshape.test.integration.ConfigurationTest.startEngineThenShutdownThenRestartAndTestForNodeTypes(ConfigurationTest.java:398)
      	at org.modeshape.test.integration.ConfigurationTest.shouldReadNodeTypesUponRestartUsingJpaConnector(ConfigurationTest.java:370)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      Caused by: javax.jcr.RepositoryException: Error starting the "Repo" repository (check the configuration): org.hibernate.exception.GenericJDBCException: Cannot open connection
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:911)
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:883)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
      	at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1235)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:631)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:585)
      	at org.modeshape.connector.store.jpa.util.StoreOptions.getOption(StoreOptions.java:107)
      	at org.modeshape.connector.store.jpa.util.StoreOptions.getRootNodeUuid(StoreOptions.java:54)
      	at org.modeshape.connector.store.jpa.JpaSource.getConnection(JpaSource.java:1344)
      	at org.modeshape.graph.connector.RepositoryConnectionPool.newWrappedConnection(RepositoryConnectionPool.java:975)
      	at org.modeshape.graph.connector.RepositoryConnectionPool.getConnection(RepositoryConnectionPool.java:831)
      	at org.modeshape.repository.RepositoryLibrary.createConnection(RepositoryLibrary.java:566)
      	at org.modeshape.jcr.JcrRepository.<init>(JcrRepository.java:714)
      	at org.modeshape.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:607)
      	at org.modeshape.jcr.JcrEngine$RepositoryInitializer.call(JcrEngine.java:900)
      	... 6 more
      Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection
      	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
      	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
      	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)
      	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
      	at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
      	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
      	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1596)
      	at org.hibernate.loader.Loader.doQuery(Loader.java:717)
      	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:270)
      	at org.hibernate.loader.Loader.loadEntity(Loader.java:1933)
      	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)
      	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)
      	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3270)
      	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)
      	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)
      	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
      	at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
      	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
      	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1080)
      	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:997)
      	at org.hibernate.impl.SessionImpl.get(SessionImpl.java:990)
      	at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:610)
      	... 16 more
      Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
      	at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
      	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
      	at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
      	at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)
      	at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
      	... 34 more
      Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
      	at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
      	at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
      	at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
      	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
      	... 37 more
      

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: