安装样本或者管理概要文件时,本机 WebSphere Application Server 环境中使用的命令有时与包含 IBM WebSphere Application Server Hypervisor Edition 的环境中使用的命令不同。
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./adminctl start
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./adminctl stop
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./apachectl start
virtuser@leolpar04:/opt/IBM/HTTPServer/bin> sudo -u root ./apachectl stop
使用 manageprofiles 命令时存在一些差别。缺省情况下,WebSphere Application Server 随附的样本应用程序安装在 IBM WebSphere Application Server Hypervisor Edition V8.5 虚拟映像中。使用本机 WebSphere Application Server GUI 安装程序时,缺省情况下不会安装这些样本应用程序。如果启用了管理安全性,并且您使用 manageprofiles.sh 脚本来创建其他概要文件,请包括下列选项以避免发生验证错误:
对于概要文件创建和扩充操作,日志位置不同。对于虚拟映像,日志位于 profile_root/logs/manageprofiles 目录中。这适用于所有概要文件。
在本机 WebSphere Application Server 环境中,概要文件存储在 opt/IBM/WebSphere/AppServer/Profiles 目录中。IBM WebSphere Application Server Hypervisor Edition 使用另外的位置。在虚拟映像上,概要文件存储在 opt/IBM/WebSphere/Profiles 目录中。类似地,对于虚拟映像,profileRegistry.xml 文件存储在 <profile_root>/properties 目录中;对于本机环境,则存储在 <app_server_root>/properties 目录中。