/opt/IBM/WebSphere/AppServer/bin/wsadmin.sh -lang jython -c "AdminControl.invoke('WebSphere:name=ApplicationManager,process=$serv_name,platform=proxy,node=$node_name,version=8.5.0.0,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=$cell_name,spec=1.0', 'stopApplication', '$app_name', '[java.lang.String]')" -conntype SOAP -host localhost -port 8880 -user $was_user -password $was_pass
参考上面命令进行版本发布,要和你的was版本命令配合,
用/opt/IBM/WebSphere/AppServer/bin/wsadmin.sh --help 详细查看帮助内容