WAS 配置系统服务

来源:互联网 发布:java上传文件 编辑:程序博客网 时间:2024/06/08 03:19

-笔记-


如果我们需要 WAS 跟随系统开机启动,我们可以在建立概要文件时指定是否加入系统服务:

Linux:  -enableService true -serviceUserName wasadmin

Win  :  -winserviceCheck true

如果在建立概要时未指定,也可以通过下面的命令来添加:

Linux: 

wasservice.sh -add service_name -serverName server_name -profilePath server_profile_directory

Win  :  

WASService.exe -add service_name -serverName server_name -profilePath server_profile_directory

下面是移除系统服务的命令:

Liunx:

wasservice.sh -remove service_name

Win  :

WASService.exe -remove service_name
0 0