activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ferraro (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-6213) Unable to use default login config in "activemq*.bat" files if ActiveMQ is installed in a path with spaces.
Date Mon, 14 Mar 2016 18:14:33 GMT
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)

Mime
View raw message