jbossdemocentral / brms-fuse-integration-demo

Example demo project that shows JBoss BPM integration with JBoss Fuse Camel routes.
11 stars 18 forks source link

simpleRoute missing authentication? #9

Closed PatrickSteiner closed 9 years ago

PatrickSteiner commented 9 years ago

When following the instructions for local installation, there is the reference to run

mvn camel:run

for a initial simple test.

Maven logs unfortunately show:

[ default-workqueue-1] AuthChallengeProcessor INFO basic authentication scheme selected [ default-workqueue-1] HttpMethodDirector INFO Failure authenticating with BASIC 'KIE Workbench Realm'@localhost:8080 Call Restful API again authMethod responseCode:[401] Unsuccessful responseCode:[401] theMethod.getResponseBodyAsString():[JBoss Web/7.5.7.Final-redhat-1 - JBWEB000064: Error report

JBWEB000065: HTTP Status 401 -


JBWEB000309: type JBWEB000067: Status report

JBWEB000068: message

JBWEB000069: description JBWEB000121: This request requires HTTP authentication.


JBoss Web/7.5.7.Final-redhat-1

] urlStr:[http://localhost:8080/business-central/rest/runtime/customer:evaluation:1.0/process/customer.evaluation/start] newInstanceUrl:[http://localhost:8080/business-central/rest/runtime/customer:evaluation:1.0/process/customer.evaluation/start]

Is this a user, docu or source-code problem?

PatrickSteiner commented 9 years ago

This problem is combined with the one with the wrong username/password in BPMS, as the code for the test-client is

public class RestClientSimple { ...
private static String username = "bpmsAdmin"; private static String password = "bpmsuite1!"; ...

While BPM-Suite is installed with "erics/bpmsuite1!" so one or the other needs to be changed!