You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Sam Yi (JIRA)" <ji...@apache.org> on 2013/12/05 17:26:36 UTC
[jira] [Commented] (AMQ-4910) Windows batch script doesn't like
spaces in installation path
[ https://issues.apache.org/jira/browse/AMQ-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840229#comment-13840229 ]
Sam Yi commented on AMQ-4910:
-----------------------------
Seems like this is caused by one of the new java arguments from commit 981c8e247f11871265a20a48e463096028188f36; I was able to work around this by putting double quotes around the path in the following line:
{code}wrapper.java.additional.15=-Djava.security.auth.login.config=%ACTIVEMQ_CONF%/login.config{code}
> Windows batch script doesn't like spaces in installation path
> -------------------------------------------------------------
>
> Key: AMQ-4910
> URL: https://issues.apache.org/jira/browse/AMQ-4910
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.9.0
> Environment: Windows 7
> Reporter: Matt Kusnierz
> Priority: Minor
>
> If you unzip the binary distribution to "C:\Program Files\apache-active-mq-5.9.0" or any directory that contains a space in it, the bin\activemq.bat file fails to start. With the error message:
> Error: Could not find or load main class Files\apache-activemq-5.9.0\bin\..\conf\login.config
> Work-around - either unzip to a directory with no spaces, or set the ACTIVEMQ_HOME environment variable to the short version of the path, e.g.
> set ACTIVEMQ_HOME=c:\Progra~1\apache-activemq-5.9.0
--
This message was sent by Atlassian JIRA
(v6.1#6144)