2
votes

I am using docker compose image to connect jbpm with postgresql. I have done the authentication of business central through database users by changing login module in security domain section. After successful login of database user, using url http://localhost:8080/business-central/kie-wb.jsp , i am deploying project to execution server , but remote server is not available there . See below image :

Remote Server Unavailable

When i check for logs it shows some warnings and errors as below : Kie Server points to non Web Socket controller 'http://localhost:8080/business-central/rest/controller', using default REST mechanism

Warnings Regarding controller

Additionally it shows error like, Error while creating container for Project.Cannot find Kie Module.

What is causing the remote server not available here ? Which step i missed could anyone please tell.

Thanks in Advance !!

2

2 Answers

1
votes

Since you are configuring user using DatabaseServerLoginModule, you will have to configure "kie-server" user and password in standalone.xml.

Try adding below properties in standalone.xml and map with the required user.

<property name="org.kie.server.user" value="newUser"/> 
<property name="org.kie.server.pwd" value="passwd"/>
<property name="org.kie.server.controller.user" value="newUser"/>
<property name="org.kie.server.controller.pwd" value="passwd"/>

Also, remove key-store related properties if it's added.

1
votes

Installing the Business Central on WildFly requires to install all the KieServer components available in the KIE Execution Server Distribution.zip (hhtp://www.drools.org) plus the set of System Properties already said in the accepted answer. You also need an application user and to increase the JVM settings of WildFly, to allow starting WildFly with the above applications.

This tutorial cover in details the above steps: Installing the Business Central on WildFly