ActiveMQ
  1. ActiveMQ
  2. AMQ-3058

Stopping ActiveMQ won´t work if the ActiveMQ path contains a whitespace.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      Mac OS 10.6.5

      Description

      The script command "./activemq stop" fails when the path to ActiveMQ contains a whitespace. The broker continues to execute. Find a CLI output reproducing this bug below:

      zaphod:Software Jule$ cd /Users/Jule/White\ Space/
      zaphod:White Space Jule$ cd bin

      zaphod:bin Jule$ ./activemq start
      INFO: Using default configuration
      (you can configure options in one of these file: /etc/default/activemq /Users/Jule/.activemqrc)

      INFO: Invoke the following command to create a configuration file
      ./activemq setup [ /etc/default/activemq | /Users/Jule/.activemqrc ]

      INFO: Using java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'
      INFO: Starting - inspect logfiles specified in logging.properties and log4j.properties to get details
      INFO: pidfile created : '/Users/Jule/White' (pid '3506')

      zaphod:bin Jule$ echo juleq: Waiting for broker to come up...
      juleq: Waiting for broker to come up...

      zaphod:bin Jule$ ./activemq stop
      INFO: Using default configuration
      (you can configure options in one of these file: /etc/default/activemq /Users/Jule/.activemqrc)

      INFO: Invoke the following command to create a configuration file
      ./activemq setup [ /etc/default/activemq | /Users/Jule/.activemqrc ]

      INFO: Using java '/System/Library/Frameworks/JavaVM.framework/Home/bin/java'
      ActiveMQ not running

      zaphod:bin Jule$ ps -A | grep ctive
      3506 ttys000 0:11.78 /System/Library/Frameworks/JavaVM.framework/Home/bin/java -Xms256M -Xmx256M -Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Dactivemq.classpath=/Users/Jule/White Space/conf; -Dactivemq.home=/Users/Jule/White Space -Dactivemq.base=/Users/Jule/White Space -jar /Users/Jule/White Space/bin/run.jar start
      3528 ttys000 0:00.00 grep ctive

      zaphod:bin Jule$ echo "juleq: Broker is still running ..."
      juleq: Broker is still running ...
      zaphod:bin Jule$

        Activity

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Julian Quindt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development