java 移除或删除现有 Websphere Application Server 的配置文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30457113/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Remove or Delete existing Websphere Application Server's profile
提问by Sasikumar Murugesan
I want to remove Websphere Application Server profile and its service from my machine.
我想从我的机器上删除 Websphere Application Server 配置文件及其服务。
In Profile management tool i could see only option to create a profile and there is no option to delete existing profile
在配置文件管理工具中,我只能看到创建配置文件的选项,而没有删除现有配置文件的选项
so how to delete and remove service of existing profile?
那么如何删除和删除现有配置文件的服务?
回答by Leo.pd
First list out all profiles in your environment by using manageprofilescommand.
ex:WAS_Home/bin/manageprofiles.bat -listProfiles
Stop all servers which are related to that profile.
- Stop node agents, dmgr process which are related to that profiles.
Follow the syntax to delete profile using manageprofilescommand Syntax:
WAS_Rootbin/manageprofiles.bat -delete -profileName <profile_name>
manage profiles command has more options like username,password.
After deleting profiles check list of profiles using manageprofilescommand.
manageprofiles.bat -listProfiles
首先使用manageprofiles命令列出您环境中的所有配置文件 。
ex:WAS_Home/bin/manageprofiles.bat -listProfiles
停止与该配置文件相关的所有服务器。
- 停止与该配置文件相关的节点代理、dmgr 进程。
按照语法使用manageprofiles命令删除配置文件语法:
WAS_Rootbin/manageprofiles.bat -delete -profileName <profile_name>
管理配置文件命令有更多选项,如用户名、密码。
删除配置文件后,使用manageprofiles命令检查配置文件列表。
manageprofiles.bat -listProfiles
回答by Sasikumar Murugesan
I have deleted created profile using
我已经使用删除了创建的配置文件
manageProfiles.bat
管理配置文件.bat
Find below command to delete profile is
找到以下删除配置文件的命令是
manageprofiles -delete -profileName <YourProfileName>
回答by Tom Ogle
manageprofiles.sh -delete -profileName works on Unix.
manageprofiles.sh -delete -profileName 适用于 Unix。
However, like the WAS uninstall script - there is file system residue that must be addressed manually. In my case the profile named folders were still in place with just the log folder and subordinate files in them.
但是,就像 WAS 卸载脚本一样 - 存在必须手动处理的文件系统残留。在我的情况下,名为文件夹的配置文件仍然存在,其中只有日志文件夹和从属文件。
回答by IRomanov
It depends on your operating system. Try using manageprofiles.batfor Windows or manageprofiles.shfor UNIX/Linux located at was_install_dir\bin\
这取决于您的操作系统。尝试使用manageprofiles.batfor Windows或manageprofiles.sh对位于UNIX / Linux的was_install_dir \ BIN \
You can read how to delete profiles using this command here.
您可以在此处阅读如何使用此命令删除配置文件。
Or use manageprofiles.sh -help
或使用 manageprofiles.sh -help