Bug 1003552

Summary: Cluster demo Readme bugs
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Pavel Drozd <pdrozd>
Component: Build ProcessAssignee: Julian Coleman <jcoleman>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Drozd <pdrozd>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, dcoleman, kbabo, mvecera, pdrozd, soa-p-jira
Target Milestone: ER7Keywords: Reopened
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-30 08:34:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pavel Drozd 2013-09-02 11:00:30 UTC
Readme of cluster demo contains following problems:

Section 3, Build the client and service applications: 
change "cd quickstarts/demos/cluster" to "cd quickstarts/switchyard/demos/cluster"

Section 3, Deploy services:
change in all deploy statements "-Ddeploy.port" to "-Djboss-as.port"

Comment 2 Keith Babo 2013-09-03 14:46:31 UTC
Re: the instructions to build, this seems like a packaging/productization issue more than an issue with the quickstart documentation.  The product is using a different location for the quickstarts than the project.

Does "-Ddeploy.port" not work with the version of the AS deploy plugin packaged in the product?  I don't have any issues using this property with EAP 6.1.

Comment 3 Pavel Drozd 2013-09-03 22:00:01 UTC
The "-Ddeploy.port" does not work with ER1. The default port is used:

mvn -Ddeploy.port=10999 jboss-as:deploy

INFO: JBoss Remoting version 3.2.12.GA
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.565s
[INFO] Finished at: Tue Sep 03 23:54:21 CEST 2013
[INFO] Final Memory: 40M/483M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:deploy (default-cli) on project switchyard-quickstart-demo-cluster-client: Could not execute goal deploy on /home/pdrozd/workspace/AS/jboss-eap-6.1-ER1/quickstarts/switchyard/demos/cluster/client/target/switchyard-quickstart-demo-cluster-client.jar. Reason: I/O Error could not execute operation '{
[ERROR] "address" => [],
[ERROR] "operation" => "read-attribute",
[ERROR] "name" => "launch-type"
[ERROR] }': java.net.ConnectException: JBAS012144: Could not connect to remote://localhost:9999. The connection timed out
[ERROR] -> [Help 1]
[ERROR]

Comment 4 Keith Babo 2013-09-03 23:02:13 UTC
Ugh.  Version of the maven plugin used in the community project is 7.1.1.

Tom - can you have a look at this one and see if there's any harm in bumping jboss-as-maven-plugin to 7.4?  If it's still good on the community side, let's align with what's being used in productization and update the Readme accordingly.

Comment 5 tcunning 2013-09-05 18:42:31 UTC
I went through and tested the quickstarts that had a Readme mentioning the jboss-as:deploy step, saw no issues.    Submitted pull.

Comment 6 JBoss JIRA Server 2013-09-26 12:35:07 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1685

Tom - fix for this issue requires an update to the README in quickstarts/demo/cluster as well, right?

Comment 7 JBoss JIRA Server 2013-09-26 12:36:38 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1685

I went ahead and added the commit for quickstarts:
https://github.com/jboss-switchyard/quickstarts/commit/ffd4b1475ab6cb7a73d83035dc20edd90fc79499

Comment 8 JBoss JIRA Server 2013-09-26 12:36:46 UTC
Keith Babo <kbabo> made a comment on jira SWITCHYARD-1685

pushed

Comment 12 Keith Babo 2013-10-14 18:44:39 UTC
*** Bug 1018899 has been marked as a duplicate of this bug. ***

Comment 13 Pavel Drozd 2013-12-12 14:25:00 UTC
The first part of the bug description is not fixed:

Section 3, Build the client and service applications: 
change "cd quickstarts/demos/cluster" to "cd quickstarts/switchyard/demos/cluster"

Comment 14 Keith Babo 2013-12-12 14:57:04 UTC
The project doesn't include a switchyard directory within quickstarts, so fixing the README upstream is not appropriate.  I have reassigned to the build component in case prod wants to make an adjustment.

Comment 16 JBoss JIRA Server 2014-06-16 23:49:32 UTC
Keith Babo <kbabo> updated the status of jira SWITCHYARD-1685 to Closed