--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/CAERvgXfw-s2R_UHL0woKTO9WfyASv%2BH%2Bhpr3fLB9JirJnZfr-Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
In the business application, you can configure the user/password to connect with the controller (Business Central) through the following system properties:
org.kie.server.controller.user=<user>
org.kie.server.controller.pwd=<password>
There are two ways to pass these system properties:
edit the server xml (e.g. business-application-service-dev.xml)
<config-item>
<name>org.kie.server.controller.user</name>
<value>actual_user</value>
<type>java.lang.String</type>
</config-item>
<config-item>
<name>org.kie.server.controller.pwd</name>
<value>actual_password</value>
<type>java.lang.String</type>
</config-item>
pass the properties in the java command line, edit launch-dev.sh
java -Dspring.profiles.active=dev -Dorg.kie.server.controller.user=<user> -Dorg.kie.server.controller.pwd=<password> -jar "$executable"Thanks a lot Maciej. This worked. In case I want to user another user name/password what other configuration change is required?As I had defined the associated configuration in standalone.xml<property name="org.kie.server.controller.user" value="sysAdmin"/><property name="org.kie.server.controller.pwd" value="abc-2019"/>Regards,Neelanjan
On Wed, Apr 17, 2019 at 3:09 PM Maciej Swiderski <swiders...@gmail.com> wrote:
Looks like mismatch with user/roles of business central and your spring boot app. Make sure that default user is there (kieserver/kieserver1! wilh role kie-server)
Maciej
On 16 Apr 2019, at 11:45, neelanjan banerjee <nelban...@gmail.com> wrote:
Hi,I am using kie-server with sping boot in development mode and connected to a business-central server.But Sync between business-central and spring-boot kie-server is not happening.Getting a 401 error in the kie-server spring-boot logs :-Spring Boot Logs :-[ntrollerConnect] o.k.s.s.i.c.DefaultRestControllerImpl : Exception encountered while syncing with controller at http://localhost:8080/business-central/rest/controller/server/spring-boot-rhbpm-application-service-dev error Error while sending PUT request to http://localhost:8080/business-central/rest/controller/server/spring-boot-rhbpm-application-service-dev response code 401Business-central logs :-[org.jbpm.workbench.ks.integration.KieServerDataSetManager] (Thread-214) Timeout while trying to register query definitions on 'spring-boot-rhbpm-application-service-dev@localhost:8090'Any help on this would be appreciated.Regards,Neelanjan--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/75e14b0b-e5e8-4b79-9a91-e210677322b4%40googlegroups.com.