取消部署给出错误:应用程序未注册(Glassfish) [英] Undeployment gives the error: Application not registered (Glassfish)
问题描述
我通过使用Glassfish的web gui取消部署我的APP。但是如果我按取消部署我的实际APP没有什么发生。在我的日志文件中发生新的错误:应用程序未注册(严重)。
如何正确取消部署我的APP?
我发现一个简单的答案:
$ b从domain.xml中删除对应用程序的所有引用(在glassfish / glassfish / domains / yourDomain / config /中)(另请参见 $ b < http://stackoverflow.com/questions/5361193\">无法在glassfish3上重新部署网络应用程序 )删除目录glassfish / glassfish / domains / yourDomain / applications / yourAPP
I undeployed my APP by using the web gui of Glassfish. But if I press undeploy for my actual APP nothing happend. In my Log File a new error occurs: Application not registered (severe). How can I undeploy my APP now correctly ?
I found a simple answer:
remove all references to your app from domain.xml (in glassfish/glassfish/domains/yourDomain/config/) (see also unable to redeploy web application on glassfish3)
remove directory glassfish/glassfish/domains/yourDomain/applications/yourAPP
- remove all files in glassfish/glassfish/domains/yourDomain/generated/*
这篇关于取消部署给出错误:应用程序未注册(Glassfish)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!