Windows 10
portable activemq
failed to start up due to:
JAVA_HOME
and
Error: Could not find or load main class Resources\M1\ActiveMQ\apache-activemq-5.13.2\bin\..\conf\login.config
Reference URL:
https://issues.apache.org/jira/browse/AMQ-5243?focusedCommentId=14349533&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-14349533
JAVA_HOME
Add at the beginning of activemq.bat
SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0_192\
Error: Could not find or load main class Resources\M1\ActiveMQ\apache-activemq-5.13.2\bin\..\conf\login.config
Change
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=%ACTIVEMQ_CONF%\login.config
to
if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config="%ACTIVEMQ_CONF%\login.config"
No comments:
Post a Comment