WAS profile重建失败的解决办法之一
问题描述:
重建一个新的WAS profile,我们先删除已经存在的。
#manageprofiles -deleteAll #cd ../profiles #rm -rf AppSrv01 #cd ../bin # /opt/IBM/WebSphere/AppServer/bin/manageprofiles.sh -create -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/default -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 |
错误信息:
The following validation errors were present with the command line arguments:
profileName: AppSrv01 is already in use. Specify another name.
The following validation errors were present with the command line arguments:profileName: AppSrv01 is already in use. Specify another name.
解决办法:
1) Check the integrity of the profile registry:
manageprofiles -validateRegistry
2) Check the integrity of the profile registry, removing any unfound profiles:
manageprofiles -validateAndUpdateRegistry [-backup file_name]