Bug 1003552 - Cluster demo Readme bugs
Summary: Cluster demo Readme bugs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Build Process
Version: 6.0.0 GA
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ER7
: 6.0.0
Assignee: Julian Coleman
QA Contact: Pavel Drozd
URL:
Whiteboard:
: 1018899 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-02 11:00 UTC by Pavel Drozd
Modified: 2015-07-30 08:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-30 08:34:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-1685 0 Major Closed Upgrade jboss-as-maven version to 7.4.Final 2015-07-30 08:34:19 UTC

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


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