[Anthill-pro] Error when trying to delete environment
Peter Steele
psteele at maxiscale.com
Fri Jul 11 16:58:15 CDT 2008
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:1
87)
...
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.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(Serve
rGroupDaoSql.java:310)
at
com.urbancode.anthill3.persistence.UnitOfWorkDefault.commit0(UnitOfWorkD
efault.java:177)
at
com.urbancode.anthill3.persistence.UnitOfWork.commit(UnitOfWork.java:701
)
at
com.urbancode.anthill3.web.util.Conversation.unbind0(Conversation.java:1
78)
... 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(P6LogPrepa
redStatement.java:183)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delega
tingPreparedStatement.java:101)
at
com.urbancode.anthill3.domain.servergroup.ServerGroupDaoSql.delete(Serve
rGroupDaoSql.java:300)
This occurs while I am logged on as user admin. Why is Anthill
complaining about me trying to delete this environment?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080711/2338d424/attachment.htm
More information about the Anthill-pro
mailing list