ActiveMQ broker not starting

Yako

I'm trying to start an ActiveMQ broker, I currently have JDK 1.8.0_31 and ActiveMQ 5.11.1 installed. When I run activemq from the bin folder in my ActiveMQ installation I get the following message:

Java Runtime: Oracle Corporation 1.8.0_31 C:\Program Files\Java\jdk1.8.0_31\jre
Heap sizes: current=1005056k  free=984084k  max=1005056k
JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G - Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=C:\activemq\bin\..\conf\login.config -Dactivemq.classpath=C:\activemq\bin\..\conf;C:\activemq\bin\../conf;C:\activemq\bin\../conf; -Dactivemq.home=C:\activemq\bin\.. -Dactivemq.base=C:\activemq\bin\.. -Dactivemq.conf=C:\activemq\bin\..\conf -Dactivemq.data=C:\activemq\bin\..\data -Djava.io.tmpdir=C:\activemq\bin\..\data\tmp
Extensions classpath:
[C:\activemq\bin\..\lib,C:\activemq\bin\..\lib\camel,C:\activemq\bin\..\lib\optional,C:\activemq\bin\..\lib\web,C:\activemq\bin\..\lib\extra]
ACTIVEMQ_HOME: C:\activemq\bin\..
ACTIVEMQ_BASE: C:\activemq\bin\..
ACTIVEMQ_CONF: C:\activemq\bin\..\conf
ACTIVEMQ_DATA: C:\activemq\bin\..\data
Usage: Main [--extdir <dir>] [task] [task-options] [task data]

Tasks:
    browse                   - Display selected messages in a specified destination.
    bstat                    - Performs a predefined query that displays usefulstatistics regarding the specified broker
    create                   - Creates a runnable broker instance in the specified path.
    decrypt                  - Decrypts given text
    dstat                    - Performs a predefined query that displays usefultabular statistics regarding the specified destination type
    encrypt                  - Encrypts given text
    export                   - Exports a stopped brokers data files to an archive file
    list                     - Lists all available brokers in the specified JMXcontext
    purge                    - Delete selected destination's messages that matches the message selector 
    query                    - Display selected broker component's attributes and statistics.
    start                    - Creates and starts a broker using a configuration file, or a broker URI.
    stop                     - Stops a running broker specified by the broker name.

Task Options (Options specific to each task):
    --extdir <dir>  - 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.

JMX system property options:
    -Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
    -Dactivemq.jmx.user=<user name>
    -Dactivemq.jmx.password=<password>

What am I doing wrong?

Jakub Korab

You need to pass a second command line parameter to start the broker.

activemq console

This runs the broker in the foreground, or if you want to run it in the background:

activemq start

To stop

activemq stop

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

ActiveMQ in-memory broker not starting when tests running in IntelliJ IDEA

From Dev

ActiveMQ in-memory broker not starting when tests running in IntelliJ IDEA

From Dev

ActiveMQ is not starting

From Dev

Monitoring Broker Redelivery with ActiveMQ

From Dev

ActiveMQ inactive broker

From Dev

Configure ActiveMQ broker in grails

From Dev

Activemq broker url

From Dev

Use ActiveMQ JAR with an older broker

From Dev

How provide reliability of ActiveMQ broker?

From Dev

Unable to create queues in ActiveMQ broker

From Dev

How to enable web console on ActiveMq embedded broker

From Dev

ActiveMQ broker redelivery vs consumer redelivery

From Dev

ActiveMQ: how to programmatically monitor embedded broker

From Dev

Exception when restarting embedded activeMQ broker with jdbcPersistenceAdapter

From Dev

Splitting activemq broker configuration into multiple files

From Dev

Cannot concurrently consume from ActiveMQ embedded broker

From Dev

Failed to configure custom ActiveMQ broker in TomEE

From Dev

ActiveMQ Artemis running multiple web consoles for broker

From Dev

Get AMQ Message via ActiveMQ Broker Plugin

From Dev

ActiveMQ 5.8 network of broker with custom jmx port

From Dev

How to enable web console on ActiveMq embedded broker

From Dev

Run embedded activemq broker on the servlet container port

From Dev

Spring Boot WebSocket with embedded ActiveMQ Broker

From Dev

WSO2 Message broker not starting

From Dev

Starting SSL authenticated MQTT broker as service on Unix

From Dev

Get Number of connection from all host to my activemq broker

From Dev

ActiveMQ Broker Factory Could not find factory class for failover

From Dev

ActiveMQ remote connections refused despite 0.0.0.0 in broker URL

From Dev

ActiveMQ embedded broker hanging when sending a Post request

Related Related

  1. 1

    ActiveMQ in-memory broker not starting when tests running in IntelliJ IDEA

  2. 2

    ActiveMQ in-memory broker not starting when tests running in IntelliJ IDEA

  3. 3

    ActiveMQ is not starting

  4. 4

    Monitoring Broker Redelivery with ActiveMQ

  5. 5

    ActiveMQ inactive broker

  6. 6

    Configure ActiveMQ broker in grails

  7. 7

    Activemq broker url

  8. 8

    Use ActiveMQ JAR with an older broker

  9. 9

    How provide reliability of ActiveMQ broker?

  10. 10

    Unable to create queues in ActiveMQ broker

  11. 11

    How to enable web console on ActiveMq embedded broker

  12. 12

    ActiveMQ broker redelivery vs consumer redelivery

  13. 13

    ActiveMQ: how to programmatically monitor embedded broker

  14. 14

    Exception when restarting embedded activeMQ broker with jdbcPersistenceAdapter

  15. 15

    Splitting activemq broker configuration into multiple files

  16. 16

    Cannot concurrently consume from ActiveMQ embedded broker

  17. 17

    Failed to configure custom ActiveMQ broker in TomEE

  18. 18

    ActiveMQ Artemis running multiple web consoles for broker

  19. 19

    Get AMQ Message via ActiveMQ Broker Plugin

  20. 20

    ActiveMQ 5.8 network of broker with custom jmx port

  21. 21

    How to enable web console on ActiveMq embedded broker

  22. 22

    Run embedded activemq broker on the servlet container port

  23. 23

    Spring Boot WebSocket with embedded ActiveMQ Broker

  24. 24

    WSO2 Message broker not starting

  25. 25

    Starting SSL authenticated MQTT broker as service on Unix

  26. 26

    Get Number of connection from all host to my activemq broker

  27. 27

    ActiveMQ Broker Factory Could not find factory class for failover

  28. 28

    ActiveMQ remote connections refused despite 0.0.0.0 in broker URL

  29. 29

    ActiveMQ embedded broker hanging when sending a Post request

HotTag

Archive