[Anthill-pro] Error when trying to delete environment

Steve Boone sbb at urbancode.com
Tue Jul 15 12:13:09 CDT 2008


Peter,

Was this environment used in any builds previously, and if so, have those
buildlifes been marked inactive?

Cheers,
Steve

On Fri, Jul 11, 2008 at 5:58 PM, Peter Steele <psteele at maxiscale.com> wrote:

>  I have an unused Environment that I want to delete but when I try to
> delete it I get the following exception:
>
>
>
> 2008-07-11 14:50:32,490 ERROR http-0.0.0.0-8080-Processor14
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[
>
> ControllerServlet] - Servlet.service() for servlet ControllerServlet threw
> exception
>
> com.urbancode.anthill3.domain.persistent.PersistenceRuntimeException:
> com.urbancode.anthill3.domain.persistent.PersistenceExcep
>
> tion: Error removing ServerGroup object in database
>
>         at
> com.urbancode.anthill3.web.util.Conversation.unbind0(Conversation.java:187)
>
>>
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
>
>         at java.lang.Thread.run(Thread.java:619)
>
> Caused by: com.urbancode.anthill3.domain.persistent.PersistenceException:
> Error removing ServerGroup object in database
>
>         at
> com.urbancode.anthill3.domain.servergroup.ServerGroupDaoSql.delete(ServerGroupDaoSql.java:310)
>
>         at
> com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfWorkDefault.java:177)
>
>         at
> com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java:701)
>
>         at
> com.urbancode.anthill3.web.util.Conversation.unbind0(Conversation.java:178)
>
>         ... 34 more
>
> Caused by: org.apache.derby.client.am.SqlException: DELETE on table
> 'SERVER_GROUP' caused a violation of foreign key constraint
>
>  'BR_SERVER_GROUP_FK' for key (8).  The statement has been rolled back.
>
>         at org.apache.derby.client.am.Statement.completeExecute(Unknown
> Source)
>
>>
>         at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
>
>         at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
>
>         at
> com.urbancode.anthill3.domain.servergroup.ServerGroupDaoSql.delete(ServerGroupDaoSql.java:300)
>
>
>
> This occurs while I am logged on as user admin. Why is Anthill complaining
> about me trying to delete this environment?
>
>
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080715/c59ff53f/attachment.htm


More information about the Anthill-pro mailing list