Bug 1099696 - can not install jboss-mortgage-demo-client.jar
Summary: can not install jboss-mortgage-demo-client.jar
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Documentation
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Vikram Goyal
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-21 02:29 UTC by dan.cimpoesu@clearbridge.com.au
Modified: 2014-05-22 01:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
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]
Last Closed: 2014-05-22 01:01:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description dan.cimpoesu@clearbridge.com.au 2014-05-21 02:29:40 UTC
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

Comment 2 dan.cimpoesu@clearbridge.com.au 2014-05-21 07:33:09 UTC
I think I installed brms instead of bpms (jboss-brms-installer-6.0.1.GA-redhat-4.jar). I am not sure how that happened. I will check what it is installed and if wrong I will test with bpms.


Note You need to log in before you can comment on or make changes to this bug.