How to install ear in local web sphere (automatically)

不羁的心 提交于 2019-12-25 03:45:13

问题


I am looking for automatic Ear deployment for WAS6 application. Is there any default scripts provided by WAS6? If Yes, Please provide me script names and please explain me, how to use that. It would be great help for me.

If there is no default scripts available to deploy ear, How to proceed to write script.

Please do needful.

Thanks in Advance


回答1:


WebSphere Application Server provides a scripting tool, wsadmin, that may be used for automating the deployment of applications. See this Info Center document for more details.

AdminApp.install('/ears/application1.ear', '[-cluster cluster1]')

Also, for more general help in writing scripts using wsadmin, here are some other helpful resources:

  • WebSphere Application Server V6.1: System Management and Configuration: Administration with Scripting (Chapter 5)

  • WebSphere Application Server V6.1 InfoCenter: Wsadmin tool



来源:https://stackoverflow.com/questions/7180669/how-to-install-ear-in-local-web-sphere-automatically

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!