Appendix A. Required JARS


Overview

To simplify deploying Red Hat JBoss A-MQ it is recommended that you place the activemq-all.jar file on the broker's CLASSPATH. It contains all of the classes needed by a message broker. This is the default set up for a Red Hat JBoss A-MQ installation.
However, if you want more control over the JARs in the broker's CLASSPATH you can add the individual JARs. There are several JARs that are required. In addition, there are a few that are only needed when certain features are used.

Required JARs from Red Hat JBoss A-MQ

The following JARs are installed with JBoss A-MQ and must be placed on the broker's CLASSPATH:
  • activemq-broker.jar
  • activemq-client.jar
  • activeio-core.jar
  • slf4j-api.jar

JEE JARs

The JARs containing the JEE APIs are also required by the broker. These could be located in one of the following locations:
  • the jee.jar from Oracle
  • your JEE container's installation
  • the Geronimo specs JARs:
    • geronimo-spec-jms.jar
    • geronimo-spec-jta.jar
    • geronimo-spec-j2ee-management.jar

Persistent messaging JARs

If you want to use persistent messaging you will need to add JARs to the broker's CLASSPATH for the desired persistence store. The JAR names follow the pattern activemq-store-store. The following message stores are included:
  • activemq-amq-store.jar
  • activemq-jdbc-store.jar
  • activemq-kahadb-store.jar
  • activemq-leveldb-store.jar
Additionally, you will need to include any other JARs required by the persistence manager used by the store:
  • For KahaDB you will need kahadb.jar.
  • For JDBC you will need the JARs for your database's JDBC driver.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.