注意startingPort参数
修改WAS控制台端口(假设要修改为9061)
使用
netstat –ano | findstr “9061”
查看9061是否被占用
打开如下两文件,把所有9060都替换为9061
D:\IBM\WebSphere1\AppServer\profiles\Dmgr01\config\cells\..\virtualhosts.xmlD:\IBM\WebSphere1\AppServer\profiles\Dmgr01\config\cells\..\nodes\serverindex.xml
重启WAS
修改IHS端口(假设修改为8080)
1.使用netstat –ano|findstr ”8080” ,查看8080是否被占用
2.在IHS的安装路径,修改conf\HTTPd.conf,把所有的80都替换为8080
3.启动Apache
4.拷贝d:\IBM\HTTPServer\plugins\bin\configurewebserver1.bat到dm的bin目录下并执行
5.运行d:\IBM\Websphere\Appserver\profiles\Dmgr01\bin\GenpluginCfg.bat
6.根据路径提示修改生成的配置文件中的“c:\Program Files\IBM\Websphere”为“d:\IBM\HTTPServer”,全部替换。
7.复制此文件到d:\IBM\HTTPServer\Plugins\config\webserver1下
8.重启Apache
9.输入“主机ip:8080”确认IHS是否正确启用。