https://www.howtoforge.com/tutorial/debian-activemq-message-broker/
to install activemq on Debian 10 for a Bitnami Alfresco VM starting from step 2, found that activemq failed to start with
ERROR: Configuration variable JAVA_HOME or JAVACMD is not defined correctly. (JAVA_HOME='', JAVACMD='java')
ERROR: Configuration variable JAVA_HOME or JAVACMD is not defined correctly. (JAVA_HOME='', JAVACMD='java')
Set the environment variables as mentioned at
https://stackoverflow.com/questions/31400148/apache-activemq-5-11-1-doesnt-start-in-ubuntu
in this case, for the bitnami stack, I defined JAVA_HOME and JAVACMD in /etc/default/activemq as
https://stackoverflow.com/questions/31400148/apache-activemq-5-11-1-doesnt-start-in-ubuntu
in this case, for the bitnami stack, I defined JAVA_HOME and JAVACMD in /etc/default/activemq as
JAVA_HOME="/opt/bitnami/java"
JAVACMD="/opt/bitnami/java/bin/java"
Now
systemctl start activemq
systemctl enable activemq
systemctl status activemq
shows
● activemq.service - Apache ActiveMQ
Loaded: loaded (/etc/systemd/system/activemq.service; disabled; vendor preset
Active: active (running)
etc.
The default username and password for admin user are admin admin, and for non-admin user, user password. The default port is 61616, the web console configuration panel can be accessed from localhost:8161.
No comments:
Post a Comment