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

Error printed when invoking activemq shell script

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 5.5.1
    • None
    • Broker
    • Mac OSX 10.6.8 (Intel)

    Description

      When invoking "activemq" from the commandline, an error is printed:

      <...>/apache-activemq-5.5.1/bin/activemq: line 252: [-z: command not found
      

      ...caused by spaces missing after "[" and before "]|" in shell statement:

      if [-z "$JAVA_HOME"]
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhuiser Robin Huiser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified