[
https://issues.apache.org/jira/browse/AMQ-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955361#comment-17955361
]
ASF subversion and git services commented on AMQ-7517:
------------------------------------------------------
Commit caeb4cad03d197e432213221d4a52ec5e6010ae1 in activemq's branch
refs/heads/main from JB Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=caeb4cad03 ]
AMQ-7517: Remove lib in the default classpath (#1442)
> 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, 5.18.8
>
> 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