求助,websphere发布war包时间很慢

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了求助,websphere发布war包时间很慢相关的知识,希望对你有一定的参考价值。

参考技术A 在控制台能看到你部署的应用吗?如果看不到,那可能是权限问题。如果看得到,但是在profile下面没找到你部署的war包,那可能是你部署应用的时候没有用默认的路径,把安装war的位置指定到其他地方去了。

websphere上集群部署,war包是如何发布的?

我在一台机器上进行了websphere的垂直部署,一个集群下面总共5个应用服务器。然后用的是IBM Http Server,生成了插件,修改了httpd.conf文件。
发布的时候选择的映射服务器为 集群和web Server服务器,发布成功之后可以通过如下URL访问:
http://192.168.18.120/testWS
http://192.168.18.120:9080/testWS
http://192.168.18.120:9081/testWS
http://192.168.18.120:9082/testWS
http://192.168.18.120:9083/testWS
http://192.168.18.120:9084/testWS
在AppServer下面可以找到
[webserver@fortunetesta AppServer]$ find ./ -name "testWS.war"
find: ./cloudscape/databases: Permission denied
./profiles/AppSrv01/testWS/testWS_war.ear/testWS.war
./profiles/AppSrv01/temp/localhostNode01/server1/testWS_war/testWS.war
./profiles/AppSrv01/temp/localhostNode01/server4/testWS_war/testWS.war
./profiles/AppSrv01/temp/localhostNode01/server5/testWS_war/testWS.war
./profiles/AppSrv01/temp/localhostNode01/server2/testWS_war/testWS.war
./profiles/AppSrv01/temp/localhostNode01/server3/testWS_war/testWS.war
./profiles/AppSrv01/config/cells/localhostCell01/applications/testWS_war.ear/deployments/testWS_war/testWS.war
./profiles/Dmgr01/wstemp/92668751/workspace/cells/localhostCell01/applications/testWS_war.ear/deployments/testWS_war/testWS.war
./profiles/Dmgr01/wstemp/92668751/upload/testWS.war
./profiles/Dmgr01/config/cells/localhostCell01/applications/testWS_war.ear/deployments/testWS_war/testWS.war
./profiles/Dmgr01/config/temp/cells/localhostCell01/applications/testWS_war.ear/deployments/testWS_war/testWS.war

哪些包是有用的?war包发布的时候是通过什么机制来进行的?

参考技术A WAS内部的东西你不要管,发布成功了,能正确访问了,这就够了。

IBM内部的东西不是我们能掌握的,WAS不是TOMCAT,内部的东西你越以为知道得多了可以走后门,不用IBM给你的wsadmin或者WAS CONSOLE发布了,越是容易犯错。IBM的工程师我见得多了,对于自作聪明发布应用遇到问题的客户他们理都不理,马上问你为什么不用正确方式发布应用。

以上是关于求助,websphere发布war包时间很慢的主要内容,如果未能解决你的问题,请参考以下文章

如何将 .war 文件部署到 WebSphere 8.5 服务器?

websphere上集群部署,war包是如何发布的?

osgi应用使用桥接的方式打成war包部署在websphere上时遇到的与cxf相关的问题

在 Websphere 上重新部署 WAR 后重新启动应用程序服务器

CentOS部署Jenkins-WAR包(方法1)

在 WebSphere 8 上播放 1.2.x