使用wsadmin远程部署到Websphere 6.1.x [英] Remote deployment to Websphere 6.1.x using wsadmin
问题描述
我正在尝试将war文件远程部署到websphere应用程序服务器。我知道这是可以使用wsadmin,但我是一个Websphere newb。
我知道我可以运行wsadmin并使用SOAP连接到远程应用服务器,但是是我在哪里。
这似乎应该是一个常见的用例,任何人都可以帮助我吗?
我想用例如下:
1.更新应用程序
2.保存所有更改
3.重新启动远程应用程序服务器
/ p>
感谢您的帮助
我将使用Hudson WAS Builder或Maven进行部署, div class =h2_lin>解决方案
由于WAS Builder插件是比较新的,我没有测试过(评估已经在ToDo列表中)。对于从命令行运行部署,我们使用jython脚本和wsadmin。我的理解是,我需要在我要部署的机器上。您可以部署到您的本地wsadmin与目标机器(相同版本和相同的功能包)的不同机器ID。
有关wsadmin的更多信息,请参见 http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ ae / ae / rxml_commandline.html
BTW当您使用基于Web的管理控制台进行部署时,部署过程结束时会有一个链接这将显示您的jython命令。不要使用jacl,因为WAS 7只使用jython。
I am trying to remotely deploy a war file to a websphere application server. I understand this is possible to do using wsadmin, but I am a Websphere newb.
I know I can run wsadmin and connect using SOAP to the remote app server, but that is where I am at.
This seems like it should be a common use case, can anyone help me with?
I suppose the use case follows: 1. Update the application 2. Save all changes 3. Restart the remote application server
I am going to do the deployment using either Hudson WAS Builder or Maven, whichever works.
Thanks for your help
Since the WAS Builder Plugin is relatively new, I haven't tested it (The evaluation is already on the ToDo list). For running deployments from the command line we use jython-scripts and wsadmin. My understanding is that I need to be on the machine where I want to deploy. You can deploy to a different machine id your local wsadmin is on the level than your target machine (same version and same feature packs).
for more information on wsadmin see http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/rxml_commandline.html
BTW, when you deploy using the web based admin console, there is a link somewhere at the end of the deployment process that shows you the jython command. Don't use jacl, since WAS 7 only uses jython.
这篇关于使用wsadmin远程部署到Websphere 6.1.x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!