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

Jean-Baptiste Onofré resolved AMQ-7517.
---------------------------------------
    Resolution: Fixed

> bin/activemq sets ACTIVEMQ_CLASSPATH to likely non-existing directory 
> $ACTIVEMQ_BASE/../lib
> -------------------------------------------------------------------------------------------
>
>                 Key: AMQ-7517
>                 URL: https://issues.apache.org/jira/browse/AMQ-7517
>             Project: ActiveMQ Classic
>          Issue Type: Bug
>          Components: Command Line Tools
>    Affects Versions: 5.16.0, 5.15.12
>            Reporter: Vladimir Andreev
>            Assignee: Jean-Baptiste Onofré
>            Priority: Trivial
>             Fix For: 6.2.0, 5.19.1, 6.1.7
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> the bin/activemq script executes these lines by default (i.e. when none of 
> the relevant environment variables are set):
> {code:bash}
>   ACTIVEMQ_HOME="`getActiveMQHome`"
>   ACTIVEMQ_BASE="$ACTIVEMQ_HOME"
> ACTIVEMQ_CLASSPATH="$ACTIVEMQ_BASE/../lib/:$ACTIVEMQ_USER_CLASSPATH"
> {code}
> getActiveMQHome returns (effectively) the parent directory of the _bin_ 
> subdirectory, i.e., the root of the distribution tar file, so 
> ACTIVEMQ_CLASSPATH ends up set to the a _lib_ subdirectory which may or may 
> not exist in the path where _the user decided_ to extract the distribution 
> tar file.
> Meanwhile the _lib_ subdirectory of the distribution ($ACTIVEMQ_BASE/lib) 
> does not seem to be referenced anywhere in the script.
> ActiveMQ does not seem to have any problem with that, though, so maybe this 
> setting is not so important.
>   



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to