当前位置: 动力学知识库 > 问答 > 编程问答 >

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

问题描述:

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 :- [email protected]

role :- admin,kie-server

Application User

User :- alpha2

password :- [email protected]

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 [email protected]

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 :- [email protected]

role :- admin,kie-server

Application User

User :- alpha4

[email protected]

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

网友答案:

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

分享给朋友:
您可能感兴趣的文章:
随机阅读: