aspose file tools*
The moose likes Struts and the fly likes struts2-core-2.0.14 jar is not getting deleted when application is undeployed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2-core-2.0.14 jar is not getting deleted when application is undeployed" Watch "struts2-core-2.0.14 jar is not getting deleted when application is undeployed" New topic
Author

struts2-core-2.0.14 jar is not getting deleted when application is undeployed

kamalakannan kamal
Ranch Hand

Joined: May 19, 2008
Posts: 32
Hi,

I just started learning about struts2. I am using apache-tomcat-5.5.28 as server. When I tried to undeploy the application, struts-core-2.0.14.jar file under \webapps\<AppFolder>\WEB-INF\lib folder in tomcat server is not getting deleted. Because of this, every time I make any change to the application, I have to stop server, delete the application folder under webapps manually and then have to deploy it again. I used eclipse for deploying and also I tried with ant script. In both case, the above mentioned jar file is not getting deleted while server is running. Can anyone please help me on this?

Regards,
G. Kamal.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

Tomcat FAQ: I want to redeploy web applications, how do I prevent resources from getting locked?


[How To Ask Questions On JavaRanch]
kamalakannan kamal
Ranch Hand

Joined: May 19, 2008
Posts: 32
Hi Joe Ess,

Thanks. Now i am able to undeploy without any issues.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8996
    
    9

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts2-core-2.0.14 jar is not getting deleted when application is undeployed