如何优化websphere 6.1中的部署
我们使用Websphere 的wsadmin 来部署我们的应用程序,该应用程序打包为.ear 文件,部署和启动服务器需要一个多小时。是否有任何建议的优化工具来执行部署。这将帮助我们减少部署时间。
提前致谢! 杰伊
We are using Websphere's wsadmin to deploy our application which is packaged as a .ear file, which takes more than an hour to deploy and start the server. Is there any suggested optimized tool to perform the deployment. which will help us in reduce the deployment timing.
Thanks in Advance!
Jay
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这取决于您使用的应用程序和框架。如果每次部署期间都进行 ejb 编译,那么选项就不会太多,并且会花费很多时间。
请考虑以下事项:
优化的WebSphere服务器。
WebSphere 管理控制台中的开发
归档并直接将文件复制到
它
像JRebel一样
It depends on your application and framework used. If every time during deployment you do ejb compile, it would be not too much options, and all time cost.
Consider the following:
optimized WebSphere Server.
developement in WebSphere admin console
archive and directly copying files to
it
like JRebel
您是说部署一个 EAR 文件需要 1 小时吗?
EAR 文件位于哪里? EAR 文件有多大?
wsadmin 从哪里运行? (与 WAS 服务器是同一台机器还是来自远程机器)?
如果它从远程计算机运行,将 EAR 文件传输到实际的 WAS 盒子是否需要很长时间?
另外为什么要启动 WAS 服务器来部署您的应用程序?
我假设您正在使用 DM 设置并且 wsadmin 正在连接到 DM?
如果您能在人们帮助您之前澄清,我们将不胜感激。
曼鲁
Are you stating that it takes 1 hour to deploy a single EAR file?
Where is the EAR file located? How big is the EAR file?
Where is wsadmin running from? (the same machine as the WAS Server or from a remote machine)?
If it is running from a remote machine, does it take long to transfer the EAR file to the actual WAS box?
Also why should the WAS Server be started for deploying your application?
I am assuming you are using a DM set up and the wsadmin is connecting to the DM?
Appreciate if you could clarify before people could assist you.
Manglu