取消部署给出错误:应用程序未注册(Glassfish) [英] Undeployment gives the error: Application not registered (Glassfish)

查看:198
本文介绍了取消部署给出错误:应用程序未注册(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


  • 删除glassfish / glassfish / domains / yourDomain / generated / *
  • 中的所有文件


    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:

    1. remove all references to your app from domain.xml (in glassfish/glassfish/domains/yourDomain/config/) (see also unable to redeploy web application on glassfish3)

    2. remove directory glassfish/glassfish/domains/yourDomain/applications/yourAPP

    3. remove all files in glassfish/glassfish/domains/yourDomain/generated/*

    这篇关于取消部署给出错误:应用程序未注册(Glassfish)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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