安装了TIBCO ActiveMatrix BPM及成功创建了ActiveMatrix Administrator 和 BPM Server后,每次都要手动启动tibcohost,比较麻烦,实际上TIBCO提供了工具可以将tibcohost注册为Windows服务,步骤如下:
1. 拷贝 TIBCO_HOME\tools\wrapper\pwrap.exe 到 CONFIG_HOME\tibcohost\Admin-enterpriseName-adminServerName\host\bin。
- TIBCO_HOME: 一般默认的路径为 “C:\tibco”
- CONFIG_HOME: 一般默认路径为 “C:\ProgramData\TIBCO_HOME”
- Admin-enterpriseName-adminServerName:一般默认的名称为“Admin-AMX BPM-AMX BPM Server”
2. 备份tibcohost.exe, 重命名pwrap.exe为tibcohost.exe.
3. 执行 ‘tibcohost.exe --install’
完成以上步骤后 ‘tibcohost.exe’ 就会被注册到Windows的服务中。服务名称即为“Admin-enterpriseName-adminServerName”