erwindon commented on a change in pull request #3617:
URL: https://github.com/apache/activemq-artemis/pull/3617#discussion_r648554969



##########
File path: docs/user-manual/en/clusters.md
##########
@@ -161,8 +161,8 @@ i.e. `jgroups-file` and `jgroups-channel`, as discussed in 
details as
 following:
 
 - `jgroups-file` attribute. This is the name of JGroups configuration
-  file. It will be used to initialize JGroups channels. Make sure the
-  file is in the java resource path so that Apache ActiveMQ Artemis can load 
it.
+  file. It will be used to initialize JGroups channels. Place the file
+  in the `etc` directory of the broker instance so that Apache ActiveMQ 
Artemis can load it.

Review comment:
       @brusdev That did cross my mind. But no other locations are in the 
classpath as far as I know. The start-script starts with one single JAR in the 
classpath and the bootstrap code add all the JAR+ZIP files from and also the 2 
`lib` and 2 `etc` directories. There is little choice in choosing the location 
for the jgroups config file. And also the jgroups config file is most likely 
instance-specific. And also note the comment in 
`artemis-boot/src/main/java/org/apache/activemq/artemis/boot/Artemis.java`:
   ```java
   // Without the etc on the config, things like JGroups configuration wouldn't 
be loaded
   ```
   
   True, my text is only about the `etc` directory for the instance. So let's 
improve that, because I still think that "java resource path" is too confusing.
   
   my proposal:
   * keep the original text; and
   * add: "The typical location for the file is the `etc` directory from the 
broker instance."




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to