-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
6.0.1
-
None
-
Build Name: 22615, Working with the BPM Suite Example App-6.0-1
Build Date: 01-04-2014 16:04:45
Topic ID: 25050-621634 [Latest]
Title: Installing the BPM Suite Example App fails with: The remote server requires form-based authentication.
Describe the issue: I follow the installation instructions and I run:
dan@ubuntu:~/git/jboss-bpm-example-dist-6.0.1.GA-redhat-4$ java -jar jboss-mortgage-demo-client.jar admin 1qaz@WSX
Exception in thread "main" org.kie.services.client.api.command.exception.RemoteCommunicationException: The remote server requires form-based authentication.
at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:343)
at org.kie.services.client.api.command.AbstractRemoteCommandObject.execute(AbstractRemoteCommandObject.java:116)
at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:232)
at com.redhat.bpms.examples.mortgage.CreateProcesses.populateSamples(CreateProcesses.java:57)
at com.redhat.bpms.examples.mortgage.CreateProcesses.main(CreateProcesses.java:47)
Caused by: org.jboss.resteasy.client.ClientResponseFailure: Unable to find a MessageBodyReader of content-type text/html;charset="utf-8" and type null
at org.jboss.resteasy.client.core.BaseClientResponse.createResponseFailure(BaseClientResponse.java:523)
at org.jboss.resteasy.client.core.BaseClientResponse.createResponseFailure(BaseClientResponse.java:514)
at org.jboss.resteasy.client.core.BaseClientResponse.readFrom(BaseClientResponse.java:415)
at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:377)
at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:350)
at org.jboss.resteasy.client.core.BaseClientResponse.getEntity(BaseClientResponse.java:344)
at org.kie.services.client.api.command.AbstractRemoteCommandObject.executeRestCommand(AbstractRemoteCommandObject.java:338)
... 4 more
Suggestions for improvement: I found that there is a parameter useFormBasedAuth that can be used in code but there is no instructions how to use it, if possible, from command line.
Additional information:
Ubuntu 14.04 64 Bits
dan@ubuntu:~/git/jboss-bpm-example-dist-6.0.1.GA-redhat-4$ java -version
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
I did a full install (including EAP) from
jboss-brms-installer-6.0.1.GA-redhat-4.jar
jboss-bpm-example-dist-6.0.1.GA-redhat-4.zip