今天在鼓搗WebSphere的時(shí)候,想要?jiǎng)?chuàng)建一個(gè)Profile,但是在創(chuàng)建過(guò)程中,進(jìn)程被我強(qiáng)制終止了,導(dǎo)致創(chuàng)建失敗。
如果再次運(yùn)行pmt,就會(huì)發(fā)現(xiàn)未創(chuàng)建成功的Profile名字Dmgr01已經(jīng)被占用,新的名字已經(jīng)變成了Dmgr02了
但是使用manageprofile.sh -listProfiles又是空的。要?jiǎng)h除無(wú)效的Profile需要:
1. $WAS_HOME/bin/manageprofile.sh -validateAndUpdateRegistry
這個(gè)命令列出無(wú)效的Profile
2. $WAS_HOME/bin/manageprofile.sh -delete -profileName Dmgr01
就可以刪除無(wú)效的Profile,可以重新使用未成功Profile的名字Dmgr01了
posted on 2010-08-11 23:15
YODA 閱讀(753)
評(píng)論(0) 編輯 收藏