[ 
https://issues.apache.org/jira/browse/ARTEMIS-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erwin Dondorp updated ARTEMIS-3334:
-----------------------------------
    Description: 
on page 
[https://activemq.apache.org/components/artemis/documentation/latest/clusters.html,]
 it is mentioned that the jgroups configuration file must be in the resource 
path.

the text is: "Make sure the file is in the java resource path so that Apache 
ActiveMQ Artemis can load it."

However, that is unclear.

 

See PR #3617 for an additional documentation line.

  was:
on page 
[https://activemq.apache.org/components/artemis/documentation/latest/clusters.html,]
 it is mentioned that the jgroups configuration file must be in the classpath.

the text is: "Make sure the file is in the java resource path so that Apache 
ActiveMQ Artemis can load it."

however, the classpath is not easy to adjust as is completely replaced inside 
the startup script {{bin/artemis}}.

The possibility is to use {{DEBUG_ARGS}} instead, but one must then also 
specify {{$ARTEMIS_HOME/lib/artemis-boot.jar}} again as otherwise that one is 
no longer in the classpath. so far, I could not find another way to adjust the 
classpath.

It is true that the "artemis-boot" package builds a full classpath, but that 
classpath consists only of the JAR and ZIP files that it can find.

Note that the examples properly work, because these do not use the regular 
startup scripts, but rely on maven to manage the classpath.

my proposal: add a new fixed directory (e.g. \{{ARTEMIS_HOME/config}}? and/or 
{{ARTEMIS_HOME/_instance_/config}}?) which is always added to the classpath. 
the jgroups configuration file can then simply be placed in that directory when 
it is needed. that should then also be mentioned in the documentation.
 


> documentation gives no clue on how to place the jgroups config file in the 
> classpath
> ------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3334
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3334
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>    Affects Versions: 2.17.0
>            Reporter: Erwin Dondorp
>            Priority: Major
>
> on page 
> [https://activemq.apache.org/components/artemis/documentation/latest/clusters.html,]
>  it is mentioned that the jgroups configuration file must be in the resource 
> path.
> the text is: "Make sure the file is in the java resource path so that Apache 
> ActiveMQ Artemis can load it."
> However, that is unclear.
>  
> See PR #3617 for an additional documentation line.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to