`
MauerSu
  • 浏览: 494966 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

(未解决问题)Tomcat undeploy does not remove web application artifacts

    博客分类:
  • J2EE
 
阅读更多
源:http://stackoverflow.com/questions/484271/tomcat-undeploy-does-not-remove-web-application-artifacts
评:
2 down vote accepted


It might be that your application cannot completely be undeployed because there are background threads (that you most likely started yourself) or long running requests that are preventing the application to stop completely.

Did you inspect the log files? Did they state if the application could be undeployed successfully? Or the opposite? Can you get a Thread dump after you attempted to undeploy (kill -3 processid on Unix, Ctrl-Break in a console in Windows) and see if there is something still running that shouldn't?

Also note that most applications I've seen cannot be undeployed completely with regard to the memory they took. I've run into OutOfMemoryErrors (PermGen) quite often, especially after redeploying webapps (you'll find a lot of references on PermGen if you google for it) therefor I believe redeploying is ok for development machines, but not for production ones. It's better to know this before you're puzzled by this in production.
分享到:
评论

相关推荐

    tomcat 中文手册chm版

    简介- 关于Apache Tomcat的 简短,高层位概貌。...管理者- 在 Apache Tomcat 运行时,由管理员(manager)程序来部署, 取消部署(undeploy), 再部署 (redeploy)各类应用程序。 域和访问控制: 描述 怎样配置域(用户

    Tomcat监控工具Probe,支持tomcat6-7-8-9.zip

    Tomcat监控工具Probe 1.Porbe介绍 psi-probe用于对Tomcat进行监控,比tomcat的manager强大很多。 2.下载 probe-2.3.3.zip 或者 probe.war 3.将下载好的war包,或者zip文件,放在tomcat的webapp目录下 4...

    tomcat antiResourceLocking antiJARLocking 的作用和用法

    If true, Tomcat will prevent any file locking. This will significantly impact startup time of applications, but allows full webapp hot deploy and undeploy on platforms or configurations where file ...

    彻底解决fckeditor(jsp版)上传中文图片乱码问题

    彻底解决fckeditor(jsp版)上传中文图片乱码问题,我这里用的编码是utf-8的,这里用的fckeditor 是2.6的,fckeditor.java包是2.3的,经过我修改ConnectorServlet.java和SimpleUploaderServlet.java两个文件,重新生成...

    php部署和管理

    Php web application manager 〖目的〗 鉴于tomcat提供了应用后台管理功能,而php中没有,所以开发这个小应用方便php应用的远程快速部署(php源码必须打包为zip包)。 〖服务器环境〗 服务器环境要求: a. php5.2...

    tomcatmanager.jar

    使用httpclient 4.5.2开发的包,只有一个...java -jar D:\\Tomcat\\jenkins\\tomcatmanager.jar http://localhost:8806/manager/text/undeploy?path=/ROOT admin 123456 主要用于jenkins快速配置脚本删除ROOT目录

    fckeditor for jsp 的jar包

    告诉FileUpload组件处理时的编码为项目编码,在FileItem中,用getString(encoding),这项设置可以解决获取的表单字段为乱码的问题,所以在每个FileItem实例后面都执行一次getString(encoding),就告诉FileItem在取值...

    wsdl2java源码-Axis1WebService:Axis1WebService例子,通过wsdl文件生成服务器端代码并部署

    通过几天折腾,找到一种解决方案是通过Axis1框架; 由于联通提供WSDL版本旧(2009),尝试过Axis2,Apache CXF,Spring WS,都不能满足需求; 以 获取手机号信息的wsdl为例子 生成过程 先将tool\asix1.4\asix\WEB-INF拷贝...

    as-forge-addon:!\已弃用的存储库,请参阅as-addon

    要简化使用JBoss Forge与JBoss Application Server 7的交互: : 用法 安装后,服务器必须正在运行才能使用任何管理命令。 安装(需要一个活动的项目) $ forge install-plugin jboss-as-7 $ as7 setup $ forge ...

    oc-gate-operator:为oc-gate服务创建令牌

    # Remove deployment of the operator, RBAC roles and CRDs export USERNAME=yaacov make undeploy IMG=quay.io/ $USERNAME /oc-gate-operator:v0.0.1 用法 在“ oc-gate”名称空间上需要具有私钥的机密: # U

    loadr:Payara GlassFish部署自动化

    jar loadr.jar -d ../test-deployment/coffeebeans.war输出: ------------------coffeebeans -> "http://localhost:4848/management/domain/applications/application/coffeebeans"------------------To undeploy ...

    cep-sample:Adobe Illustrator 的简单 CEP 扩展

    运行./player-debug.mode.sh以能够运行未签名的扩展 然后运行gulp deploy或gulp watch来部署扩展 运行gulp undeploy卸载扩展 请注意,即使您执行了gulp watch ,您也需要在对源进行更改后重新启动 Illustrator。 ...

    tabula_rasa:在 AWS OpsWorks 中运行社区说明书,而不会与 opsworks-cookbooks 中的旧版本发生冲突

    tabula_rasa 在 AWS OpsWorks 中运行社区说明书,而不会与的... 用法AWS OpsWorks 有几个生命周期操作: setup 、 configure 、 deploy 、 undeploy和shutdown 。 在自定义层中,您可以指定要为每个操作运行的自定义配

    wordpress_terraform_ecs_fargate_efs:在AWS ECS,Fargate和EFS上运行的Wordpress。 Terraform中的红外线代码

    管理此解决方案中的资源(ECS,ECR,VPC,S3,EFS等) Git CLI 将其部署到AWS 在TERRAFORM_STATE_BUCKET设置您的存储桶名称 设置您的ECR网址ECR_REPO 设置: make prepare 部署: make deploy 将映像推送到ECR...

    nodejs-wrapper-opsworks:在 AWS OpsWorks 上安装 Node 0.12.0 的 redguidenodejs 的包装器

    nodejs-wrapper-opsworks 在 AWS OpsWorks 上安装 Node 0.12.0 的 redguide/nodejs 包装器用法要将这些与 OpsWorks 结合使用,请执行以下操作: 将此食谱添加到您...deploy::nodejs-undeploy 关闭:deploy::nodejs-stop

    MusicManager:管理您的专辑并分享您对音乐的兴趣!

    音乐管理器 使用MusicManager管理专辑并分享您的喜好! 它支持以下项目。... 删除Lambda函数和API网关: zappa undeploy production (英文版) 通过MusicManager管理和分享您对音乐的兴趣! 我支持以下这些:

    hello:在EAP上使用Java JAX-RS的微服务

    你好 在EAP上使用Java EE(JAX-RS)的Hello微服务 可在以下存储库中找到运行Red Hat Helloworld MSA演示的详细说明: ... mvn wildfly:undeploy 在Openshift中部署应用程序 确保连接到Docker Daemon 执行 mvn clean p

    vertx-configmap-example-redhat

    如何建造 您可以使用以下 Maven 命令构建此项目: mvn clean install 部署到 该项目依赖的来部署到 Red Hat OpenShift。 OpenShift Maven 插件在 openshift 配置文件中可用。... mvn oc:undeploy -Popenshift

    vertx-http-example-redhat:HTTP Vert.x Booster 使用 Eclipse Vert.x 的 Redhat 版本

    如何建造 您可以使用以下 Maven 命令构建此项目: mvn clean install 部署到 该项目依赖的来部署到 Red Hat OpenShift。 OpenShift Maven 插件在 openshift 配置文件中可用。... mvn oc:undeploy -Popenshift

    ric-plt-appmgr:上游Gerrit回购的镜像

    RIC xApp管理器 提供用于部署和管理各种RIC xApp应用程序的灵活安全的方法。 通讯接口(R0的草稿) 北行(外部) RESTful ...Undeploy /ric/v1/xapps/{xappName} DELETE Query Xapp Status /ric/v1/xapps/{xappName} G

Global site tag (gtag.js) - Google Analytics