activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spandit <>
Subject activemq fails to start on RedHat linux
Date Wed, 09 Mar 2011 20:26:40 GMT
Downloaded the latest distribution (apache-activemq-5.4.2-bin.tar.gz)
unzipped and extracted in my home directory
OS: Red Hat Enterprise Linux Server release 5.4 Beta (Tikanga)

when I run bin/activemq , I get following message.

-bash-3.2$ bin/activemq
INFO: Loading '/home/spandit/.activemqrc'
INFO: Using java '/prod/Java/bin/jdk1.6/bin/java'
Java Runtime: Sun Microsystems Inc. 1.6.0_20 /prod/Java/bin/jdk1.6.0_20/jre
  Heap sizes: current=60608k  free=59970k  max=899328k
    JVM args: -Dactivemq.classpath=/home/spandit/apache-activemq-5.4.2/conf;
mq-5.4.2 -Dactivemq.base=/home/spandit/apache-activemq-5.4.2
ACTIVEMQ_HOME: /home/spandit/apache-activemq-5.4.2
ACTIVEMQ_BASE: /home/spandit/apache-activemq-5.4.2
Usage: Main [--extdir &lt;dir&gt;] [task] [task-options] [task data]

Tasks (default task is start):
    start           - Creates and starts a broker using a configuration
file, or a broker URI.
    create          - Creates a runnable broker instance in the specified
    stop            - Stops a running broker specified by the broker name.
    list            - Lists all available brokers in the specified JMX
    query           - Display selected broker component's attributes and
    browse          - Display selected messages in a specified destination.
    journal-audit   - Allows you to view records stored in the persistent
    purge           - Delete selected destination's messages that matches
the message selector
    encrypt         - Encrypts given text
    decrypt         - Decrypts given text

Task Options (Options specific to each task):
    --extdir   - Add the jar files in the directory to the classpath.
    --version       - Display the version information.
    -h,-?,--help    - Display this help information. To display task
specific help, use Main [task] -h,-?,--help

Task Data:
    - Information needed by each specific task.

Tasks provided by the sysv init script:
    restart         - stop running instance (is there is one), start new
    console         - start broker in foreground, useful for debugging
    status          - check if activemq process is running
    setup           - create the specified configuration file for this init
                      (see next usage section)

Configuration of this script:
    The configuration of this script can be placed on /etc/default/activemq
or /home/spandit/.activemqrc.
    To use addtional configurations for running multiple instances on the
same operating system
    rename or symlink script to a name matching to activemq-instance-.
    This changes the configuration location to
/etc/default/activemq-instance- and
    $HOME/.activemqrc-instance-. Configuration files in /etc have higher

Appreciate any help you can provide.

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message