You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Ryan Ferraro (JIRA)" <ji...@apache.org> on 2016/03/14 19:14:33 UTC

[jira] [Created] (AMQ-6213) Unable to use default login config in "activemq*.bat" files if ActiveMQ is installed in a path with spaces.

Ryan Ferraro created AMQ-6213:
---------------------------------

             Summary: Unable to use default login config in "activemq*.bat" files if ActiveMQ is installed in a path with spaces.
                 Key: AMQ-6213
                 URL: https://issues.apache.org/jira/browse/AMQ-6213
             Project: ActiveMQ
          Issue Type: Bug
          Components: Distribution
    Affects Versions: 5.13.2
         Environment: Windows 7 Enterprise x64
            Reporter: Ryan Ferraro
            Priority: Minor
             Fix For: 5.x


If ActiveMQ is installed in a path with spaces (like: "C:\Program Files\AMQ"), the batch files activemq.bat and activemq-admin.bat cannot start the service. 

The source of the issue appears to be that the -Djava.security.auth.login.config command line option is getting passed a raw path value that is not properly encoded for spaces in the path. I have a patch available that surrounds this parameter value with quotations.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)