WebSphere问题集锦(未完待续)

1. 端口被占用无法启动

Issue: ADMU3028I: Conflict detected on port 2809.

首先检查端口占用情况:

netstat -apn |grep 2809: 最后一列是pid

tcp        0      0 :::2809                     :::*                        LISTEN      31922/java

ps -ef|grep 31922: 从结果看到我的WebSphere端口被BPM的profile占用了

然后查找可用的端口:

 cat /etc/services|grep 2809:

corbaloc        2809/tcp                        # CORBA naming service locator

corbaloc        2809/udp                # CORBA LOC

修改为2810,然后去修改was的端口引用:

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/xxxxNode01Cell/nodes/xxxxNode01/serverindex.xml

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/xxxxNode01Cell/virtualhosts.xml

修改完2809然后启动发现不止这一个,我放弃了, 下面尝试下重建profile

2.手工重建profile

http://www-01.ibm.com/support/knowledgecenter/SSEQTP_7.0.0/com.ibm.websphere.migration.base.iseries.doc/info/iseries/ae/rxml_manageprofiles.html

cd /opt/IBM/WebSphere/AppServer/bin

./manageprofiles.sh -delete -profileName AppSrv01

rm -rf /opt/IBM/WebSphere/AppServer/profiles/AppSrv01
./manageprofiles.sh -create -profileName AppSrv01 –profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -enableAdminSecurity true -adminUserName xxxx –adminPassword xxxx
cat /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/AboutThisProfile.txt

重建以后在BPM的profile已经启动的情况下没有问题,还是靠系统检测效率高点,当然如果你不能重建的话就悲催了,多尝试几次吧

3. 如果在建立profile时没有指定管理用户,可以通过以下向导修改:Security>Global Security>Security Configuration Wizard

WebSphere问题集锦(未完待续)_第1张图片

4. 常用命令:

/opt/IBM/WebSphere/AppServer/bin/syncNode.sh

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/stopServer.sh server1

/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/serverStatus.sh

5. TLSv1.2 Enablement





你可能感兴趣的:(Middleware)