Search code examples
javaamqpqpid

embedded QPid broker - Web Management Console not loading


The management console is not able to run when the broker is started with the below artifact for QPid. Am I missing a dependency or configuration in the below setup?

pom.xml

<dependencies>
    <dependency>
        <groupId>org.apache.qpid</groupId>
        <artifactId>qpid-broker</artifactId>
        <version>6.0.3</version>
    </dependency>
</dependencies>

java:

public static void main(String[] args) throws Exception {
    Broker broker = new Broker();
    broker.startup();
}

There are no errors on startup.

Chrome console: enter image description here


Solution

  • How are you configuring the class path for your Main class's execution?

    The problem is that Java Broker expects the Dojo .zip (dojo-1.10.3-distribution.zip) file to be present in the JVMs class path. The Broker locates the Dojo's resources on the class path and arranges for the embedded Jetty to stream them.