Problem with registering kie execution server in Kie workbench 6.3

9,763 views
Skip to first unread message

Sundar M

unread,
Dec 3, 2015, 7:19:06 AM12/3/15
to Drools Setup
Hi team,

I have deployed my kie workbench and kie execution server in same environment (jboss-eap-6.4).

I tried to register kie execution server in kie workbench and added one container from workbench.

But I am not able to view the endpoint in the container.

I tried to add below system properties, but it doesnt work .


Thanks in advance for your help

Maciej Swiderski

unread,
Dec 3, 2015, 8:06:58 AM12/3/15
to drools...@googlegroups.com
check server log for the reason why it did not connect to controller. In addition make sure you have proper authentication configured.

Maciej
--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-setup/40827f67-60aa-41ed-b8f7-c8d539407f68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sundar M

unread,
Dec 4, 2015, 7:00:14 AM12/4/15
to Drools Setup
Thanks macjej,

I received following error in my server log

"Exception encountered while syncing with controller at http://192.168.5.156:8330/kie-drools-wb-6.3.0.Final-eap6_4//server/first-kie-server error Error while sending PUT request to http://192.168.5.156:8330/kie-drools-wb-6.3.0.Final-eap6_4//server/first-kie-server response code 403

Sundar M

unread,
Dec 4, 2015, 7:15:06 AM12/4/15
to Drools Setup
Hi macjej,

Solved the previous one , problem in configuration.

Now receiving following error

"(KieServer-ControllerConnect) Exception encountered while syncing with controller at http://localhost:8330/kie-wb/rest/controller/server/first-kie-server error Connection refused"

Regards,
Sundar

Sundar M

unread,
Dec 4, 2015, 7:37:22 AM12/4/15
to Drools Setup
Hi Macjej,

Solved the issue, Thanks for your article.

Regards,
Sundar

Dmitry Belkin

unread,
May 17, 2016, 10:46:35 AM5/17/16
to Drools Setup
Hello Maciej!

And I'm still having the problem: 

WARNING: Exception encountered while syncing with controller at http://localhost:8080/kie-wb/rest/controller/server/tomcat-kieserver error Error while sending PUT request to http://localhost:8080/kie-wb/rest/controller/server/tomcat-kieserver response code 401

I'm running Tomcat, and everything seems to be fine with authentication: 

 <role rolename="admin"/>
  <role rolename="analyst"/>
  <role rolename="manager-script"/>
  <role rolename="kie-server"/>
  <role rolename="manager-gui"/>
  <role rolename="rest-all"/>
  <user username="kieserver" password="kieserver!" roles="kie-server"/>
  <user username="workbench" password="workbench!" roles="admin, kie-server, rest-all"/>
  <!-- <user username="user1" password="user1" roles="admin,kie-server"/> -->
  <user username="user2" password="user2" roles="manager-gui"/>

I followed the same tutorial, but can't get what I am doing wrong.

четверг, 3 декабря 2015 г., 15:06:58 UTC+2 пользователь Maciej Swiderski написал:

Maciej Swiderski

unread,
May 17, 2016, 1:05:16 PM5/17/16
to drools...@googlegroups.com
the password is incorrect - it should be kieserver1! rather kieserver!

Maciej

Dmitry Belkin

unread,
May 18, 2016, 3:21:16 AM5/18/16
to Drools Setup
Thank you a lot for a prompt response! It's a shame that I've missed it.
But now I have another problem:

WARNING: Exception encountered while syncing with controller at http://localhost:8080/kie-wb/rest/controller/server/tomcat-kieserver error Error while sending PUT request to http://localhost:8080/kie-wb/rest/controller/server/tomcat-kieserver response code 404

I check endpoint http://localhost:8080/kie-wb/rest/controller/server/tomcat-kieserver - I enter the password, and get 404.
In setenv.bat I have these variables, which I took from the guide:
-Dorg.kie.server.id=tomcat-kieserver
And the .war files have the names kie-server.war and kie-wb.war respectively.

I will be very grateful for help!


вторник, 17 мая 2016 г., 20:05:16 UTC+3 пользователь Maciej Swiderski написал:

Dmitry Belkin

unread,
May 18, 2016, 6:03:23 AM5/18/16
to Drools Setup
I googled here as well about 404 - https://groups.google.com/forum/#!topic/drools-setup/d-DE-U085rQ, but this solution doesn't seem to work, since I use Tomcat.


вторник, 17 мая 2016 г., 20:05:16 UTC+3 пользователь Maciej Swiderski написал:
the password is incorrect - it should be kieserver1! rather kieserver!

Maciej Swiderski

unread,
May 18, 2016, 7:13:54 AM5/18/16
to drools...@googlegroups.com
That means the controller did not start yet. You will see this errors when server is starting but once both kie-wb application is fully deployed and you can access it via http://localhost:8080/kie-wb then controller will be available as well. Double check that workbench starts properly and that you can logon to it.

Maciej

Dmitry Belkin

unread,
May 18, 2016, 7:54:07 AM5/18/16
to drools...@googlegroups.com
Maciej, thank you again for your answer! 

Strange: workbench works, and here http://localhost:8080/kie-wb I can log in, create a container, and then see it both here and via http://localhost:8080/kie-server/services/rest/server/containers/
But exactly every 10 seconds I get the 404 error.

Probably, it actually works, but every 10 seconds the connection between kie-wb and kie-server is lost?
And should I see anything if I make a request to this endpoint http://localhost:8080/kie-wb/rest/controller/server/tomcat-kieserver ?
Because i saw a chapter here https://docs.jboss.org/jbpm/v6.0/userguide/wb.WorkbenchIntegration.html about some Workbench REST API, but was unable to get anything from it myself using the above mentioned endpoint.

--
You received this message because you are subscribed to a topic in the Google Groups "Drools Setup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/drools-setup/Wy2Jg11AqBs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to drools-setup...@googlegroups.com.

To post to this group, send email to drools...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
С уважением,

Дмитрий Белкин

Maciej Swiderski

unread,
May 18, 2016, 7:59:04 AM5/18/16
to drools...@googlegroups.com
Check this endpoint:

that should print out all connected kie servers. If that endpoint does not exist t means you have wrong version of workbench. Make sure you run 6.3 version for both kie server and workbench. Controller was added to workbench in version 6.3 and thus does not exist in previous releases.

Maciej

Dmitry Belkin

unread,
May 18, 2016, 8:04:29 AM5/18/16
to drools...@googlegroups.com
Yes, I have different versions. Thank you! Now I will try both 6.3!


For more options, visit https://groups.google.com/d/optout.

Girish narayan

unread,
Sep 7, 2016, 6:04:19 AM9/7/16
to Drools Setup

I've downloaded wildfly 8.2.1 and installed kie-server,kie-wb 6.4 and sqljdbc4-2.0 to it.In wildfly I've configured new datasource also.

I can see tables created in my database..but when I am creating any workflow using kie-wb..task information is not saved in DB.

Using this link :- http://blog.athico.com/2015/10/installing-kie-server-and-workbench-on.html, when I try to change persistence.xml and repack kie-wb war. When doing so Kie-wb is not launching. Please help me out.



img.jpg

wang Sherry

unread,
Sep 12, 2016, 2:31:08 AM9/12/16
to Drools Setup
Just for anyone having same issues: 

I fixed this problem 

"(KieServer-ControllerConnect) Exception encountered while syncing with controller at http://localhost:8330/kie-wb/rest/controller/server/first-kie-server error Connection refused"

by using full qualified host name rather than localhost.

anupama mane

unread,
Sep 25, 2017, 8:23:57 AM9/25/17
to Drools Setup
Hi macjej,

I have installed kie workbench 7.0.0 and kie server 7.0.0 on tomcat 8.0.0.6.Workbench is working fine..i am able to create rule and table on workbench.But when i checked server log its showing 

Exception encountered while syncing with controller at http://localhost:8090/kie-drools-wb/server/

I am new in Drool Engine.Can you please shared me articles or tutorial for install workbench and server on same server.Also shared sample tutorial for create a rule and expose this rule to external system using Restful Web service.

Maciej Swiderski

unread,
Sep 25, 2017, 11:43:12 AM9/25/17
to drools...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.

anupama mane

unread,
Sep 26, 2017, 1:11:19 AM9/26/17
to Drools Setup
Yes...

After the installation,my requirement is i have to create rules and expose these rules to third party for validation...Could you please share some webinar for this..I have to create web service for expose these rule...

Please help....

Mauricio Calcagno

unread,
Nov 7, 2017, 2:19:04 PM11/7/17
to Drools Setup

Hi Maciej, I'm having the same problem

WARNING [KieServer-ControllerConnect] org.kie.server.services.impl.controller.DefaultRestControllerImpl.connect Exception encountered while syncing with controller at http://localhost:8888/kie-wb/rest/controller/server/tomcat-kieserver error Error while sending PUT request to http://localhost:8888/kie-wb/rest/controller/server/tomcat-kieserver response code 403

I followed the tutorial and configured correctly the authentication but it does not work

This is my setenv.sh file

export CATALINA_OPTS="-Xmx512M -XX:MaxPermSize=512m -Dbtm.root=$CATALINA_HOME -Dorg.jbpm.cdi.bm=java:comp/env/BeanManager -Dbitronix.tm.configuration=$CATALINA_HOME/conf/btm-config.properties -Djbpm.tsr.jndi.lookup=java:comp/env/TransactionSynchronizationRegistry -Djava.security.auth.login.config=$CATALINA_HOME/webapps/kie-wb/WEB-INF/classes/login.config -Dorg.kie.server.persistence.ds=java:comp/env/jdbc/jbpm -Dorg.kie.server.persistence.tm=org.hibernate.service.jta.platform.internal.BitronixJtaPlatform -Dorg.kie.server.id=tomcat-kieserver -Dorg.kie.server.location=http://localhost:8888/kie-server/services/rest/server -Dorg.kie.server.controller=http://localhost:8888/kie-wb/rest/controller  -Dorg.kie.server.controller.user=kieserver -Dorg.kie.server.controller.pwd=kieserver1! -Dorg.kie.server.user=kieserver -Dorg.kie.server.pwd=kieserver1! "

This properties are not on your blog but I found somewhere that it could work

  -Dorg.kie.server.controller.user=kieserver -Dorg.kie.server.controller.pwd=kieserver1! -Dorg.kie.server.user=kieserver -Dorg.kie.server.pwd=kieserver1!

Thanks

Maciej Swiderski

unread,
Nov 8, 2017, 1:50:22 AM11/8/17
to drools...@googlegroups.com
403 means not authorized so make sure your users that are used to connect to controller have roles assigned according to web.xml

the properties are not needed when you rely on defaults - which are exacty the values you have for these properties.

Maciej

yeswant...@blackbuck.com

unread,
Nov 8, 2017, 6:21:58 AM11/8/17
to Drools Setup
HI Maciej,

I have followed the same steps to setup kie workbech and kie server on same machine using Tomcat 7 as mentioned in your blog post http://mswiderski.blogspot.in/2015/10/installing-kie-server-and-workbench-on.html

When i start tomcat i am getting the below error.
Nov 08, 2017 11:07:57 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Nov 08, 2017 11:07:57 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/kie-wb] startup failed due to previous errors
Nov 08, 2017 11:07:57 AM org.jboss.errai.cdi.server.events.ShutdownEventObserver notify
INFO: Shutting down CDI-to-ErraiBus event bridge
Nov 08, 2017 11:07:57 AM org.jbpm.kie.services.impl.store.DeploymentSyncInvoker stop
INFO: Shutting down deployment synchronization
Nov 08, 2017 11:07:57 AM org.jbpm.kie.services.impl.store.DeploymentSyncInvoker stop
INFO: Deployment synchronization stopped
Nov 08, 2017 11:07:57 AM org.jbpm.executor.impl.ExecutorImpl destroy
INFO:  >>>>> Destroying Executor !!!
Nov 08, 2017 11:07:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/kie-wb] appears to have started a thread named [Thread-8] but has failed to stop it. This is very likely to create a memory leak.
Nov 08, 2017 11:07:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/kie-wb] appears to have started a thread named [Thread-9] but has failed to stop it. This is very likely to create a memory leak.
Nov 08, 2017 11:07:57 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/kie-wb] appears to have started a thread named [sshd-SshServer[544b49dd]-timer-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 08, 2017 11:07:57 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SEVERE: The web application [/kie-wb] created a ThreadLocal with key of type [org.eclipse.jgit.nls.NLS$1] (value [org.eclipse.jgit.nls.NLS$1@6360d6b2]) and a value of type [org.eclipse.jgit.nls.NLS] (value [org.eclipse.jgit.nls.NLS@23661dc]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Nov 08, 2017 11:07:57 AM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent
INFO: Shutting down Bitronix Transaction Manager
Nov 08, 2017 11:07:57 AM bitronix.tm.BitronixTransactionManager shutdown
INFO: shutting down Bitronix Transaction Manager
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /opt/tomcat/webapps/kie-wb.war has finished in 20,974 ms
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/tomcat/webapps/ROOT
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/tomcat/webapps/ROOT has finished in 34 ms
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/tomcat/webapps/examples
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/tomcat/webapps/examples has finished in 100 ms
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/tomcat/webapps/manager
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/tomcat/webapps/manager has finished in 38 ms
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/tomcat/webapps/docs
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/tomcat/webapps/docs has finished in 69 ms
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /opt/tomcat/webapps/host-manager
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /opt/tomcat/webapps/host-manager has finished in 44 ms
Nov 08, 2017 11:07:58 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 08, 2017 11:07:58 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 08, 2017 11:07:58 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 164029 ms
Nov 08, 2017 11:07:58 AM org.kie.server.services.impl.controller.DefaultRestControllerImpl connect
WARNING: Exception encountered while syncing with controller at http://127.0.0.1:8080/kie-wb/rest/controller/server/tomcat-kieserver error Error while sending PUT request to http://127.0.0.1:8080/kie-wb/rest/controller/server/tomcat-kieserver response code 403
Nov 08, 2017 11:07:58 AM org.drools.persistence.jta.JtaTransactionManager begin
WARNING: Unable to begin transaction
bitronix.tm.internal.BitronixSystemException: cannot start a new transaction, transaction manager is shutting down


Can you please help me out?

Thanks
Yeshwanth

yeswant...@blackbuck.com

unread,
Nov 8, 2017, 6:33:27 AM11/8/17
to Drools Setup
Here's pastebin link of my full log file https://pastebin.com/Sdxc2bPS

Maciej Swiderski

unread,
Nov 8, 2017, 6:48:21 AM11/8/17
to drools...@googlegroups.com
this means that you don’t have user in tomcat that matches the user which tries to connect - by default is as follows:
 <user username="kieserver" password="kieserver1!" roles="kie-server"/>  

Maciej
-- 
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.

yeswant...@blackbuck.com

unread,
Nov 8, 2017, 6:56:50 AM11/8/17
to Drools Setup
Thanks for your promptness Maciej.
But i have already added  <user username="kieserver" password="kieserver1!" roles="kie-server"/>  to my tomcat-users.xml

My tomact-users.xml looks like this
<tomcat-users>
  <role rolename="admin" />
  <role rolename="analyst" />
  <role rolename="user" />
  <role rolename="kie-server" />
  <role rolename="manager-gui" />
  <user username="kieserver" password="kieserver1!" roles="kie-server,rest-all" />
  <user username="workbench" password="workbench!" roles="admin,kie-server" />
  <user username="admin" password="admin" roles="manager-gui" />
</tomcat-users>

Mauricio Calcagno

unread,
Nov 8, 2017, 8:06:43 AM11/8/17
to Drools Setup
Sorry But I don't get what you mean with  "make sure your users that are used to connect to controller have roles assigned according to web.xml" 

I have this users configured on tomcat-users

<role rolename="manager-gui"/>
<role rolename="admin"/>
<role rolename="kie-server"/>

  <user username="workbench" password="workbench1!" roles="admin,kie-server,rest-all"/>
  <user username="kieserver" password="kieserver1!" roles="kie-server"/>

And in my web.xml there is nothing speciall, is the tomcat one.

Thanks

Maciej Swiderski

unread,
Nov 8, 2017, 8:35:12 AM11/8/17
to drools...@googlegroups.com
guys,

as much as I’d like to help you I simply can’t do it as I don’t know your application server setup when it comes to security especially. So it might be many things influencing this. THe only thing I can do is to give you list of things to check:
- make sure tomcat-users.xml is actually used maybe you use another authenitcation mechanism
- make sure URLs to controller set for kie server actually point to the server you expect it to be
- use controller URL manually to check if you can authorize yourself with same user that you ask kie server to use

Maciej
--
You received this message because you are subscribed to the Google Groups "Drools Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-setup...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.

Vardhaman

unread,
Dec 8, 2017, 12:53:39 PM12/8/17
to Drools Setup
Hi maciej,

I have similar problem, does this integration betn workbench and kie server doesnt work in 7.2 version of wb and execution sersion..?

Thanks..

Manoj Atree

unread,
Apr 9, 2019, 6:36:54 AM4/9/19
to Drools Setup
Hello,

This is my first time. I am trying to install Drools 7.20.0 server and Business central on same machine. Server installed successfully but workbench installation gives me error "Connection refused."

I have wildfly 16.0.0, server and business central is 7.20.0.  My machine is Windows10. And below are the configurations for standalone.conf.bat.
set SERVER_CONFIG=--server-config=standalone-full.xml
set KIE_SERVER_USER=-Dorg.kie.server.user=kieserver
set KIE_SERVER_PWD=-Dorg.kie.server.pwd=kieserver
set KIE_CONTROLLER_USER=-Dorg.kie.server.controller.user=kieserver
set KIE_CONTROLLER_PWD=-Dorg.kie.server.controller.pwd=kieserver1!

set KIE_CONTROLLER_URL=ws://pc_name:8080/business-central-7.18.0.Final-wildfly14/websocket/controller
set KIE_SERVER=-Dorg.kie.server.location=%KIE_SERVER_URL%
set KIE_CONTROLLER=-Dorg.kie.server.controller=%KIE_CONTROLLER_URL%

set KIE_SERVER_ID=-Dorg.kie.server.id=wildfly-kieserver

Could you please help.
Thanks

Smith

unread,
Feb 5, 2020, 3:11:29 AM2/5/20
to Drools Setup
Hi Maciej,

I have downloaded jbpm-7.32 version from the official site of jbpm.

I executed the standalone.sh and able to login using the default user  wbadmin/wbadmin and also i am able to deploy the container in the kieserver.

But when i created my own username and password by giving the role admin, kie-server, kiemgt.
I was able to login and import/create the project and when i tried to deploy it.
I was getting the success message. But i am not able to see the container in the server in UI (Execution server page)even when i execute the rest url in browser also i am not able to see the deployed conatiners . 

Following are the system properties i put in the standalone-full.xml file

<system-properties>
        <property name="org.kie.server.id" value="sample-server"/>
        <property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"/>
    <property name="org.kie.server.controller.user" value="username"/>
    <property name="org.kie.server.controller.pwd" value="password"/>
        <property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/>
    <property name="org.kie.server.user" value="username"/>
    <property name="org.kie.server.pwd" value="password"/>
        <property name="org.jbpm.casemgmt.showcase.url" value="/jbpm-casemgmt"/>
        <property name="org.jbpm.ht.admin.group" value="process-admin"/>
        <property name="org.jbpm.task.cleanup.enabled" value="false"/>
        <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/jBPMDS"/>
        <property name="appformer.experimental.features" value="true"/>
        <property name="org.kie.prometheus.server.ext.disabled" value="false"/>
        <property name="kie.keystore.keyStoreURL" value="file:///${jboss.server.config.dir}/jBPMKeystore.jceks"/>
        <property name="kie.keystore.keyStorePwd" value="jBPMKeyStorePassword"/>
        <property name="kie.keystore.key.server.alias" value="jBPMAlias"/>
        <property name="kie.keystore.key.server.pwd" value="jBPMKeyPassword"/>
        <property name="kie.keystore.key.ctrl.alias" value="jBPMAlias"/>
        <property name="kie.keystore.key.ctrl.pwd" value="jBPMKeyPassword"/>
    </system-properties>

In previous version like 7.15 i was not getting this issue. Please let me know how can i proceed.

I have tried 2 ways

1) Providing the username and password in the <system-property> of standalone-full.xml and start the server using below command

nohup sh standalone.sh -b 0.0.0.0  --server-config=standalone-full.xml &

2) Did not provide the username and password in <system-property> of standalone-full.xml and start the server using below command

nohup sh standalone.sh -b 0.0.0.0  --server-config=standalone-full.xml -Dorg.kie.server.user=username -Dorag.kie.server.pwd=password -Dorg.kie.server.controller.user=username -Dorg.kie.server.controller.pwd=password &




George Varghese

unread,
Jul 19, 2022, 8:16:24 PM7/19/22
to Drools Setup
This is an old thread but having the same issue in  7.72 

added user as below 
add-user.bat -a -u kieserver -p password1! -g admin,kie-server


running on windows 10 with the following parameters

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://localhost:8080/kie-wb/rest/controller

Any feedback appreciated

george  v
Reply all
Reply to author
Forward
0 new messages