Quantcast

Error while deploying a new war

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Error while deploying a new war

Nimisha
Hi ,

I'm getting the below error while deploying any new war file. However, the deployment goes through the second time without making any changes. I have other apps as well but getting such error only in one app.

Error Message - Caused by: org.linkedin.glu.agent.api.ScriptExecutionCauseException: [org.apache.tools.ant.BuildException]: Unable to delete directory ***/***/***/webapps/***/WEB-INF/lib

at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:704)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:759)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:749)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:749)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:749)
        at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:749)
        at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:571)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor445.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.dispatch.DispatchUtils$execute.call(Unknown Source)
        at org.linkedin.groovy.util.ant.AntBuilder6068.performTask(AntBuilder6068.groovy:264)
        at org.linkedin.groovy.util.ant.AntBuilder6068.this$4$performTask(AntBuilder6068.groovy)
        at org.linkedin.groovy.util.ant.AntBuilder6068$this$4$performTask.callCurrent(Unknown Source)
        at org.linkedin.groovy.util.ant.AntBuilder6068.nodeCompleted(AntBuilder6068.groovy:220)
        at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:147)
        at org.linkedin.groovy.util.ant.AntBuilder6068.super$3$doInvokeMethod

Kindly help me in resolving this issue.

Thanks,
Nimisha
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Error while deploying a new war

frenchyan
Administrator
Do you know who is doing the delete? Is it glu or is it your script? In any case, I would check the file permission for the directory it is complaining about. I would also try to manually delete the folder (as the same user glu is being run as).

Yan
‚Äč
Loading...