undeploy

Undeploy all applications from Glassfish

狂风中的少年 提交于 2019-12-01 04:12:43
问题 I need a way to undeploy all my applications from Glassfish. Normally, I would use asadmin undeploy --target=[target] [appname]" for each application. My problem is that I don't know the name of all applications that are present on the server. Is there a command that would allow me to just undeploy everything? Thanks. 回答1: While there isn't an 'undeploy everything' command, there is a list-applications command. This page describes list-applications and some other commands that will help you

How to prevent file locking when undeploying a Tomcat web app?

℡╲_俬逩灬. 提交于 2019-11-27 09:03:31
问题 I am using the manager app in tomcat 7, and i am unable to undeploy an application completely. It says FAIL - Unable to delete [F:\apache-tomcat-7.0.33\webapps\balaji]. The continued presence of this file may cause problems. I read somewhere its because of some phenomenon called memory leak , and if we fix it the issue will be solved. Can anyone tell me what is this memory leak in tomcat 7, and how can we fix it ?? I am using windows 7 OS. If i am able to fix it will my un-deploy and re