continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Ryan (JIRA)" <j...@codehaus.org>
Subject [jira] Closed: (CONTINUUM-604) Failure to remove working directory when deleteing project on Windows
Date Fri, 24 Feb 2006 02:19:35 GMT
     [ http://jira.codehaus.org/browse/CONTINUUM-604?page=all ]
     
Scott Ryan closed CONTINUUM-604:
--------------------------------

    Resolution: Fixed

It looks like since continuum was running as a service it had locked the directory at the
top.  A restart and retest with several other projects fixed the issue.

> Failure to remove working directory when deleteing project on Windows
> ---------------------------------------------------------------------
>
>          Key: CONTINUUM-604
>          URL: http://jira.codehaus.org/browse/CONTINUUM-604
>      Project: Continuum
>         Type: Bug

>   Components: Core system
>     Versions: 1.0.2
>  Environment: Windows Server 2003
>     Reporter: Scott Ryan

>
>
> When I try to delete a project I get the following stack trace
> ognl.MethodFailedException: Method "removeProject" failed for object org.apache.maven.continuum.DefaultContinuum@18f127c
[org.apache.maven.continuum.ContinuumException: Error while deleting project working directory.]
> 	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)
> /-- Encapsulated exception ------------\
> org.apache.maven.continuum.ContinuumException: Error while deleting project working directory.
> 	at org.apache.maven.continuum.DefaultContinuum.logAndCreateException(DefaultContinuum.java:1834)
> 	at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:265)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:491)
> 	at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:785)
> 	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)
> Caused by: java.io.IOException: Directory C:\OpenSource\continuum-1.0.2\bin\win32\..\..\apps\continuum\working-directory\1
unable to be deleted.
> 	at org.codehaus.plexus.util.FileUtils.deleteDirectory(FileUtils.java:1229)
> 	at org.apache.maven.continuum.DefaultContinuum.removeProject(DefaultContinuum.java:255)
> 	... 35 more
> \--------------------------------------/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message