Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
5.16.0, 5.15.12
-
None
-
None
Description
the bin/activemq script executes these lines by default (i.e. when none of the relevant environment variables are set):
ACTIVEMQ_HOME="`getActiveMQHome`" ACTIVEMQ_BASE="$ACTIVEMQ_HOME" ACTIVEMQ_CLASSPATH="$ACTIVEMQ_BASE/../lib/:$ACTIVEMQ_USER_CLASSPATH"
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.