Hi list,
Our continumm 1.1-beta-3 had been running smoothly for several weeks,
and this morning it crashed, apparently attempted to automatically
restart and failed because of an SQL Error.
I've stopped it, but now it does not restart.
I've attached a stack trace. Any help would be highly appreciated
as we cannot restart continumm at present.
Regards,
--
Julien
INFO | jvm 1 | 2007/10/05 15:20:18 | [ERROR] Error while deploying
appserver continuum-plexus-application-1.1-beta-3.jar.
INFO | jvm 1 | 2007/10/05 15:20:18 |
org.codehaus.plexus.appserver.ApplicationServerException: Error in the app
server lifecycle post-app-container-init-service-call phase.
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:119)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:88)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase$1.onJarDiscovered(ApplicationDeploymentPhase.java:44)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:100)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:73)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.lifecycle.phase.ApplicationDeploymentPhase.execute(ApplicationDeploymentPhase.java:58)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.DefaultApplicationServer.start(DefaultApplicationServer.java:218)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:69)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:297)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:291)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:155)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.PlexusApplicationHost.start(PlexusApplicationHost.java:85)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.PlexusApplicationHost.main(PlexusApplicationHost.java:289)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
java.lang.reflect.Method.invoke(Method.java:597)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
java.lang.Thread.run(Thread.java:619)
INFO | jvm 1 | 2007/10/05 15:20:18 | Caused by:
org.codehaus.plexus.appserver.application.deploy.lifecycle.AppDeploymentException:
Error calling service in pre-app init phase.
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:32)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:107)
INFO | jvm 1 | 2007/10/05 15:20:18 | ... 32 more
INFO | jvm 1 | 2007/10/05 15:20:18 | Caused by:
org.codehaus.plexus.appserver.service.PlexusServiceException: Error while
starting the context /continuum
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:252)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.appserver.application.deploy.lifecycle.phase.AfterAppStartServiceSetupPhase.execute(AfterAppStartServiceSetupPhase.java:28)
INFO | jvm 1 | 2007/10/05 15:20:18 | ... 33 more
INFO | jvm 1 | 2007/10/05 15:20:18 | Caused by:
org.codehaus.plexus.jetty.ServletContainerException: Error while starting the
context /continuum
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:213)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.service.jetty.JettyPlexusService.afterApplicationStart(JettyPlexusService.java:248)
INFO | jvm 1 | 2007/10/05 15:20:18 | ... 34 more
INFO | jvm 1 | 2007/10/05 15:20:18 | Caused by:
javax.jdo.JDODataStoreException: Insert request failed: INSERT INTO
PROJECTGROUP ("NAME",DESCRIPTION,MODEL_ENCODING,GROUP_ID,ID) VALUES (?,?,?,?,?)
INFO | jvm 1 | 2007/10/05 15:20:18 | NestedThrowables:
INFO | jvm 1 | 2007/10/05 15:20:18 | SQL Exception: The statement was
aborted because it would have caused a duplicate key value in a unique or
primary key constraint or unique index identified by 'PROJECTGROUP_PK' defined
on 'PROJECTGROUP'.
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:455)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.store.StoreManager.insert(StoreManager.java:920)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1198)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1261)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.jdo.PlexusJdoUtils.addObject(PlexusJdoUtils.java:97)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.jdo.PlexusJdoUtils.addObject(PlexusJdoUtils.java:78)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.maven.continuum.store.JdoContinuumStore.addObject(JdoContinuumStore.java:1585)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.maven.continuum.store.JdoContinuumStore.addObject(JdoContinuumStore.java:1580)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.maven.continuum.store.JdoContinuumStore.addProjectGroup(JdoContinuumStore.java:1575)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.maven.continuum.initialization.DefaultContinuumInitializer.createDefaultProjectGroup(DefaultContinuumInitializer.java:156)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.maven.continuum.initialization.DefaultContinuumInitializer.initialize(DefaultContinuumInitializer.java:109)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.maven.continuum.DefaultContinuum.start(DefaultContinuum.java:2619)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:128)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:142)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:132)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:90)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:147)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.container.initialization.StartLoadOnStartComponentsPhase.execute(StartLoadOnStartComponentsPhase.java:68)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.initializePhases(DefaultPlexusContainer.java:886)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:834)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.construct(DefaultPlexusContainer.java:811)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:222)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.DefaultPlexusContainer.<init>(DefaultPlexusContainer.java:260)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.xwork.PlexusLifecycleListener.contextInitialized(PlexusLifecycleListener.java:76)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:495)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.mortbay.util.Container.start(Container.java:72)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.codehaus.plexus.jetty.AbstractJettyServletContainer.startApplication(AbstractJettyServletContainer.java:209)
INFO | jvm 1 | 2007/10/05 15:20:18 | ... 35 more
INFO | jvm 1 | 2007/10/05 15:20:18 | Caused by: SQL Exception: The
statement was aborted because it would have caused a duplicate key value in a
unique or primary key constraint or unique index identified by
'PROJECTGROUP_PK' defined on 'PROJECTGROUP'.
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown Source)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.store.rdbms.RDBMSManager.executeStatementUpdate(RDBMSManager.java:572)
INFO | jvm 1 | 2007/10/05 15:20:18 | at
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:328)
INFO | jvm 1 | 2007/10/05 15:20:18 | ... 66 more