从Glassfish中取消部署所有应用程序 [英] Undeploy all applications from Glassfish

查看:432
本文介绍了从Glassfish中取消部署所有应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一种从Glassfish中取消部署所有应用程序的方法。通常,我会为每个应用程序使用 asadmin undeploy --target = [target] [appname]。我的问题是我不知道所有应用程序的名称有没有一个命令可以让我去掉所有的东西?谢谢。

解决方案

一个取消部署所有命令,有一个list-applications命令。这个页面描述列表应用程序和其他一些命令,这将有助于实现您的目标。


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.

解决方案

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 achieve your goal.

这篇关于从Glassfish中取消部署所有应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆