From continuum-users-return-4876-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Fri Oct 05 13:34:53 2007 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 32049 invoked from network); 5 Oct 2007 13:34:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Oct 2007 13:34:53 -0000 Received: (qmail 69670 invoked by uid 500); 5 Oct 2007 13:34:41 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 69283 invoked by uid 500); 5 Oct 2007 13:34:40 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 69272 invoked by uid 99); 5 Oct 2007 13:34:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 06:34:40 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [62.4.16.105] (HELO kraid.nerim.net) (62.4.16.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2007 13:34:42 +0000 Received: from uranus.cry.pto (cryptolog2.pck.nerim.net [213.41.184.9]) by kraid.nerim.net (Postfix) with ESMTP id 47EE6CF0D8 for ; Fri, 5 Oct 2007 15:34:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by uranus.cry.pto (Postfix) with ESMTP id 33CC64401B for ; Fri, 5 Oct 2007 15:34:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cryptolog.com Received: from uranus.cry.pto ([127.0.0.1]) by localhost (uranus.cry.pto [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dF6PQbimuEPU for ; Fri, 5 Oct 2007 15:34:14 +0200 (CEST) Received: from mars.cry.pto (isonoe.cry.pto [10.0.1.15]) by uranus.cry.pto (Postfix) with SMTP id 421A74401A for ; Fri, 5 Oct 2007 15:34:13 +0200 (CEST) Received: by mars.cry.pto (sSMTP sendmail emulation); Fri, 05 Oct 2007 15:34:13 +0200 From: "Julien Stern" Date: Fri, 5 Oct 2007 15:34:13 +0200 To: continuum-users@maven.apache.org Subject: 1.1-beta-3 crashes and corrupts database ? Message-ID: <20071005133412.GD8823@mars.cry.pto> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="hYooF8G/hrfVAmum" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Checked: Checked by ClamAV on apache.org --hYooF8G/hrfVAmum Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --hYooF8G/hrfVAmum Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=ST 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.(DefaultPlexusContainer.java:222) INFO | jvm 1 | 2007/10/05 15:20:18 | at org.codehaus.plexus.DefaultPlexusContainer.(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 --hYooF8G/hrfVAmum--