我已经在WildFly 14上安装了Business Central和Kie Execution Server 7.1。
可通过以下网址访问Business Central:http://localhost:8080/kie-wb
可通过以下网址获得Kie Execution Server:http://localhost:8080/kie-server
我试图弄清楚如何将一个在Business Central中设计的项目部署到Kie Execution Server。
我在WildFly上设置了以下属性:
<property name="org.kie.server.controller.user" value="Administrator"/>
<property name="org.kie.server.controller.password" value="Password1!"/>
<property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/>
<property name="org.kie.server.id" value="demo-server"/>
<property name="org.kie.server.controller" value="http://localhost:8080/kie-wb/rest/controller"/>
以及日志中的以下WARN:
10:24:44,212警告[org.kie.server.services.impl.controller.DefaultRestControllerImpl] (KieServer-ControllerConnect) Exception encountered while syncing with controller at http://localhost:8080/kie-wb/rest/controller/server/demo-server error Error while sending PUT request to http://localhost:8080/kie-wb/rest/controller/server/demo-server response code 401
我的配置有什么问题?
答案 0 :(得分:1)
我已经解决了。我也错误地部署了不需要的kie-server-controller.war。我在所有步骤中都加了一个简短的tutorial,以防万一。
答案 1 :(得分:0)
如果在同一个wildfly实例上部署了kie-server和business-central战争,则尝试在system-properties标签中添加以下属性
<property name="org.kie.server.user" value="Administrator"/>
<property name="org.kie.server.pwd" value="Password1!"/>