From continuum-users-return-3509-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Thu Mar 15 14:05:41 2007 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 18752 invoked from network); 15 Mar 2007 14:05:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Mar 2007 14:05:41 -0000 Received: (qmail 72701 invoked by uid 500); 15 Mar 2007 14:05:47 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 72679 invoked by uid 500); 15 Mar 2007 14:05:47 -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 72664 invoked by uid 99); 15 Mar 2007 14:05:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2007 07:05:47 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [62.193.206.9] (HELO webmail9.amenworld.com) (62.193.206.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 Mar 2007 07:05:35 -0700 Received: (qmail 20395 invoked from network); 15 Mar 2007 14:05:14 -0000 Received: from 90.52.68-86.rev.gaoland.net (HELO ?127.0.0.1?) (86.68.52.90) by 0 with SMTP; 15 Mar 2007 14:05:14 -0000 Message-ID: <45F9528B.9000402@venisse.net> Date: Thu, 15 Mar 2007 15:04:59 +0100 From: Emmanuel Venisse User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: troubles removing projects References: <9493191.post@talk.nabble.com> <45F93E80.7090106@venisse.net> <9494687.post@talk.nabble.com> In-Reply-To: <9494687.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org For the notifiers, it's the same procedure. If you want to look at the DB, you can connect to it with a sql client like Squirrel Martin M a écrit : > Hi Emmanuel, > > thanks for the gint. > > Now I get an error message, that the Notifiers can't be removed. > I think there might be some more bugs, so is there any change to get a list > of all tables created by continuum, that I can clean them manually? > > Regards, > Martin > > > Emmanuel Venisse wrote: >> It's a known bug in 1.0.3 that appear sometimes. >> >> if you remove first build definitions on your projects, you'll can after >> remove your projects. >> >> Emmanuel >> >> Martin M a écrit : >>> Hi all, >>> >>> I added a Maven 2.0 project with some sub-projects. Now I can see all >>> sub-projects in the "Show projects" panel. >>> I wanted to remove the sub-projects, because I don't want to allow users >>> to >>> build them separately. >>> But I get an error-message when removing the project. How can I remove >>> this >>> project? >>> >>> >>> After clicking at "remove" I receive following error: >>> >>> ognl.MethodFailedException: Method "removeProject" failed for object >>> org.apache.maven.continuum.DefaultContinuum@793536 >>> [javax.jdo.JDOUserException: One or more instances could not be deleted >>> NestedThrowables: >>> javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM >>> BUILDDEFINITION WHERE ID = ? >>> NestedThrowables: >>> SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of >>> foreign key constraint 'PROJECT_BUILP8_FK2' for key (4). The statement >>> has >>> been rolled back.] >>> at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796) >>> at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61) >>> at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819) >>> at ognl.ASTMethod.getValueBody(ASTMethod.java:75) >>> at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) >>> at ognl.SimpleNode.getValue(SimpleNode.java:210) >>> at ognl.Ognl.getValue(Ognl.java:333) >>> at ognl.Ognl.getValue(Ognl.java:378) >>> at ognl.Ognl.getValue(Ognl.java:357) >>> at >>> org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation(DeleteEntity.java:57) >>> at >>> org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.java:47) >>> at >>> org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) >>> at >>> org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) >>> at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) >>> at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >>> at >>> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) >>> at >>> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) >>> at >>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) >>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) >>> at >>> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) >>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) >>> at org.mortbay.http.HttpServer.service(HttpServer.java:879) >>> at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) >>> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) >>> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) >>> at >>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) >>> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) >>> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) >>> >>> >>> Thanks in advance! >>> >>> Regards, >>> Martin >> >> >