Unable Register Kie Server (No Remote Servers) in Workbench (Kie-WB 6.4.0 in WildFly 8.2.1)

北城以北 提交于 2021-01-29 02:15:22

问题


Problem with configuring kie-wb with kie-server.

I've wildfly 8.2.1 with Kie-server installed to it on one machine. For this I've created two users using adduser.bat: Management User User :- alpha1 passwrod :- password@1 role :- admin,kie-server

Application User User :- alpha2 password :- password@1 role :- admin,kie-server,rest-all

I am running this server using this command :-

standalone.bat --server-config=standalone-full.xml -Dorg.kie.server.id=wildfly-kieserver -Dorg.kie.server.location=http://localhost:8080/kie-server/services/rest/server -Dorg.kie.server.controller=http://this-machine-ip:8080/kie-wb/rest/controller -Dorg.kie.server.controller.user=alpha2 -Dorg.kie.server.controller.pwd=password@1

In standalone.xml I've done changes for interfaces tag to allow any-ipv4-address

I've another machine with wildfly 8.2.1 and Kie-WB installed to it. For this also I've created two users using adduser.bat: Management User User :- alpha3 passwrod :- password@1 role :- admin,kie-server

Application User User :- alpha4 password@1 role :- admin,kie-server,rest-all

I am running this server using this command :-

standalone.bat --server-config=standalone-full.xml

Question :- Sequence of execution is I am launching Kie-Server first,now when my Kie-Server is up I am running Kie-WB. In kie-WB when I am creating a server template I am not getting this kie-server there. Although while creating Server template I am using the name of kie.server.id (i.e. "wildfly-kieserver" in my case) Even in remote servers I am not seeing any remote server.

Please let me know if I am missing anything on configuration end or doing something wrong here.

Links which I have followed :- https://groups.google.com/forum/#!topic/drools-setup/dKOySBezWSQ https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/drools-setup/dKOySBezWSQ/UcBV7Wc2EgAJ http://mswiderski.blogspot.in/2015/09/unified-kie-execution-server-part-3.html http://blog.athico.com/2015/10/installing-kie-server-and-workbench-on.html


回答1:


Solved it. Just required to give Kie-server and Kie-Wb IP at right places.

-Dorg.kie.server.location=http://"IP of machine on which Kie server is installed":8080/kie-server/services/rest/server

-Dorg.kie.server.controller=http://"IP of machine on which Kie-wb is installed":8080/kie-wb/rest/controller



来源:https://stackoverflow.com/questions/39527707/unable-register-kie-server-no-remote-servers-in-workbench-kie-wb-6-4-0-in-wil

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!