Bug 1073426

Summary: Example configuration standalone-hornetq-colocated.xml is not correct
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Miroslav Novak <mnovak>
Component: HornetQAssignee: Clebert Suconic <csuconic>
Status: CLOSED EOL QA Contact: Miroslav Novak <mnovak>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: jmesnil, mkopecky, msvehla, myarboro, pkremens
Target Milestone: ---   
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 12:45:56 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:
Embargoed:

Description Miroslav Novak 2014-03-06 12:35:02 UTC
Example configuration for collocated HA topology with shared store provided in $JBOSS_HOME/docs/examples/configs is not fully correct. 

Main issue is in configuration of shared store which points to $JBOSS_HOME/standalone/data/ directory:

<paging-directory path="messagingpaging2"/>
<bindings-directory path="messagingbindings2"/>
<journal-directory path="messagingjournal2"/>
<large-messages-directory path="messaginglargemessages2"/>

and also configuration of RemoteConnectionFactory which is not set to HA. 

Collocated HA topology requires to have two EAP 6.x servers in HQ cluster which contains HQ backups for each other. For this reason we should provide 2 standalone-hornetq-colocated-{1..2}.xml  files where location of shared store would be defined by property like ${shared.store.directory}:
<paging-directory path="${shared.store.directory}/messagingpaging2"/>

HA capable RemoteConnectionFactory is can be taken from $JBOSS_HOME/standalone/configuration/standalone-full-ha.xml

Comment 1 JBoss JIRA Server 2015-08-18 12:10:32 UTC
Jeff Mesnil <jmesnil> updated the status of jira JBEAP-247 to Resolved

Comment 2 JBoss JIRA Server 2015-08-20 08:11:30 UTC
Marek Kopecký <mkopecky> updated the status of jira JBEAP-247 to Closed