Websphere部署时是否会爆发WAR和/或JAR? [英] Does Websphere explode WARs and/or JARs when they get deployed?

查看:154
本文介绍了Websphere部署时是否会爆发WAR和/或JAR?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我们将WAR部署到tomcat时,它会爆发WAR,而在websphere剂量中部署WAR时,它也会爆发WAR。因为我已经将WAR部署到websphere,但是它不会爆炸我的WAR,如果WAR没有爆炸,则文件解析器不工作。

解决方案

WebSphere Application Server始终爆炸战争。您应该查看 profile-directory / installedApps / your-management-cell-name / 。 WAR将被包装在EAR中进行部署,在EAR目录下,您会发现WAR爆炸。



请注意一些有关行为的内容:




  • 手动修改目录的内容是不可取的,因为几个管理相关的活动可以删除您的修改。这很容易,特别是当使用受管节点时。如果您必须修改生产中的某些内容,则始终通过管理界面进行修改。

  • 如果您希望手动修改应用程序中的JSP文件,您必须注意到JSP重新加载不是必须在应用程序的所有环境中启用。



如果您有技术问题,部署不起作用, a href =http://www-01.ibm.com/support/docview.wss?rs=180&context=SSCR4XA&q1=MustGatherDocument&uid=swg21199344&loc=en_US&cs=utf-8&lang= enrel =nofollow>部署Mustgather ,看看出了什么问题。


When we deploy WAR into tomcat it explode WAR, while deploying WAR in websphere dose it explode the WAR as well. because I have deployed WAR into websphere but it dose not exploded my WAR and if the WAR is not exploded the file resolver doe not works.

解决方案

WebSphere Application Server always explodes the wars. You should take a look under profile-directory/installedApps/your-management-cell-name/. The WAR will be wrapped inside EAR for deployment, and under the EAR directory you will find the WAR exploded.

Please notice a few things about the behaviour:

  • Modifying the contents of the directory manually is not advisable, because several management related activities can remove your modifications. This happens quite easily especially when using managed nodes. If you have to modify something in production always do your modifications via the administrative interfaces.
  • If you wish to modify JSP files in your applications again manually, you have to notice that JSP reloading is not necessarily enabled in all environments for the application.

If you have technical problems and the deploying does not work as it should you should do Deployment Mustgather to see what goes wrong.

这篇关于Websphere部署时是否会爆发WAR和/或JAR?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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