我想从我的机器上删除 Websphere Application Server 配置文件及其服务。
在配置文件管理工具中,我只能看到创建配置文件的选项,没有删除现有配置文件的选项
那么如何删除和删除现有配置文件的服务?
最佳答案
首先使用以下命令列出您环境中的所有配置文件 管理配置文件 命令。
ex:WAS_Home/bin/manageprofiles.bat -listProfiles
停止与该配置文件相关的所有服务器。
- 停止与该配置文件相关的节点代理、dmgr 进程。
按照语法使用manageprofiles命令删除配置文件 语法:
WAS_Rootbin/manageprofiles.bat -delete -profileName <profile_name>
管理配置文件命令有更多选项,例如用户名、密码。
删除配置文件后,使用 manageprofiles 检查配置文件列表 命令。
manageprofiles.bat -listProfiles
关于java - 移除或删除现有 Websphere Application Server 的配置文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30457113/