Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6213

Unable to use default login config in "activemq*.bat" files if ActiveMQ is installed in a path with spaces.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.13.2
    • 5.13.3, 5.14.0
    • Distribution
    • Windows 7 Enterprise x64

    • Patch Available
    • Patch

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rferraro Ryan Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment