10.3. 运行无头进程自动化管理器控制器
在 Red Hat JBoss EAP 上安装无头 Process Automation Manager 控制器后,使用此流程运行无头 Process Automation Manager 控制器。
先决条件
-
无头流程自动化管理器控制器在 Red Hat JBoss EAP 安装(
EAP_HOME
)的基域中安装和配置。
流程
-
在终端应用中,导航到
EAP_HOME/bin
。 如果您在安装 KIE 服务器的 Red Hat JBoss EAP 实例相同的 Red Hat JBoss EAP 实例上安装了无头 Process Automation Manager 控制器,请输入以下命令之一:
在 Linux 或基于 UNIX 的系统上:
./standalone.sh -c standalone-full.xml
$ ./standalone.sh -c standalone-full.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 对于 Windows:
standalone.bat -c standalone-full.xml
standalone.bat -c standalone-full.xml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
如果您在安装 KIE 服务器的 Red Hat JBoss EAP 实例中的独立 Red Hat JBoss EAP 实例上安装了无头 Process Automation Manager 控制器,请使用
standalone.sh
脚本启动无头 Process Automation Manager 控制器:注意在这种情况下,请确保对
standalone.xml
文件进行了所有必要的配置更改。在 Linux 或基于 UNIX 的系统上:
./standalone.sh
$ ./standalone.sh
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 对于 Windows:
standalone.bat
standalone.bat
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
要验证无头流程自动化管理器控制器是否在 Red Hat JBoss EAP 上工作,请输入以下命令,其中 <
CONTROLLER>
和 <CONTROLLER_PWD
> 是用户名和密码。此命令的输出提供有关 KIE 服务器实例的信息。curl -X GET "http://<HOST>:<PORT>/controller/rest/controller/management/servers" -H "accept: application/xml" -u '<CONTROLLER>:<CONTROLLER_PWD>'
curl -X GET "http://<HOST>:<PORT>/controller/rest/controller/management/servers" -H "accept: application/xml" -u '<CONTROLLER>:<CONTROLLER_PWD>'
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
另外,您可以使用 KIE Server Java API 客户端来访问无头进程自动化管理器控制器。