Created
July 20, 2012 10:38
-
-
Save signed8bit/3150095 to your computer and use it in GitHub Desktop.
Database Init Error dotCMS 2.1 with Oracle 11.2.0.2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[20/07/12 09:26:35:150 UTC] WARN util.JDBCExceptionReporter: SQL Error: 2291, SQLState: 23000 | |
[20/07/12 09:26:35:151 UTC] ERROR util.JDBCExceptionReporter: ORA-02291: integrity constraint (ROOT.FK_PLUGIN_PLUGIN_PROPERTY) violated - parent key not found | |
[20/07/12 09:26:35:152 UTC] ERROR impl.SessionImpl: Could not synchronize database state with session | |
[20/07/12 09:26:35:169 UTC] ERROR util.ImportExportUtil: Unable to save Object to Hibernate Session | |
com.dotmarketing.exception.DotHibernateException: Unable to save Object to Hibernate Session | |
at com.dotmarketing.db.HibernateUtil.save(HibernateUtil.java:448) | |
at com.dotmarketing.util.ImportExportUtil.doXMLFileImport(ImportExportUtil.java:1433) | |
at com.dotmarketing.util.ImportExportUtil.doXMLFileImport(ImportExportUtil.java:1051) | |
at com.dotmarketing.util.ImportExportUtil.doImport(ImportExportUtil.java:314) | |
at com.dotmarketing.db.DotCMSInitDb.loadStarterSite(DotCMSInitDb.java:98) | |
at com.dotmarketing.db.DotCMSInitDb.InitializeDb(DotCMSInitDb.java:39) | |
at com.dotmarketing.startup.runalways.Task00004LoadStarter.executeUpgrade(Task00004LoadStarter.java:15) | |
at com.dotmarketing.startup.StartupTasksExecutor.executeUpgrades(StartupTasksExecutor.java:201) | |
at com.liferay.portal.servlet.MainServlet.init(MainServlet.java:117) | |
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) | |
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) | |
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) | |
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) | |
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) | |
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) | |
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) | |
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) | |
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) | |
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) | |
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) | |
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) | |
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) | |
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) | |
at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) | |
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) | |
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) | |
at org.apache.catalina.core.StandardService.start(StandardService.java:519) | |
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) | |
at org.apache.catalina.startup.Catalina.start(Catalina.java:581) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:601) | |
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) | |
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) | |
Caused by: net.sf.hibernate.exception.ConstraintViolationException: could not insert: [com.dotmarketing.plugin.model.PluginProperty#com.dotmarketing.plugin.model.PluginProperty@9daa8059] | |
at net.sf.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:73) | |
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) | |
at net.sf.hibernate.persister.AbstractEntityPersister.convert(AbstractEntityPersister.java:1331) | |
at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:472) | |
at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:436) | |
at net.sf.hibernate.impl.ScheduledInsertion.execute(ScheduledInsertion.java:37) | |
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2449) | |
at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2435) | |
at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2392) | |
at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2261) | |
at com.dotmarketing.db.HibernateUtil.save(HibernateUtil.java:446) | |
... 34 more | |
Caused by: java.sql.SQLException: ORA-02291: integrity constraint (ROOT.FK_PLUGIN_PLUGIN_PROPERTY) violated - parent key not found | |
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) | |
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110) | |
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171) | |
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455) | |
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413) | |
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030) | |
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194) | |
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947) | |
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222) | |
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381) | |
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462) | |
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1061) | |
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102) | |
at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:22) | |
at net.sf.hibernate.persister.EntityPersister.insert(EntityPersister.java:462) | |
... 41 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment