当前位置: 代码迷 >> Web前端 >> 批处理文件起动关闭WebSphere服务
  详细解决方案

批处理文件起动关闭WebSphere服务

热度:190   发布时间:2012-12-20 09:53:21.0
批处理文件启动关闭WebSphere服务

1)?????? 创建关闭WebSphere的批处理文件,WebSphereStop.bat文件。文件内容格式如下:

@net stop "IBMWAS61Service - fe7b4feb60834adNode01"

@exit

?

说明:红色字体为要关闭WebSphere的服务名称,该服务名称应与要定时重启WebSphere机器上的服务名称相同。

?

查找WebSphere的服务名称:首先打开服务窗口,选择IBM WebSphere Application Server 一项

?

?

?

?

右键点击“属性”,“常规”选项卡中的服务名称即为WebSphere的服务名称。

?

?

?

2)?????? 创建启动WebSphere的批处理文件,WebSphereStart.bat文件。文件内容格式如下:

@net start "IBMWAS61Service - fe7b4feb60834adNode01"

@exit

?

?