Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8250229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T23:49:02+00:00 2026-06-07T23:49:02+00:00

I am starting an active mq broker using my own config file: ./apache-activemq-5.6.0/bin/activemq console

  • 0

I am starting an active mq broker using my own config file:

./apache-activemq-5.6.0/bin/activemq console xbean:custom-broker.xml

The broker is using some classes I have defined which reside in a jar. For a while now I was just sticking the jar in the activemq lib folder, and everything worked fine.
However I would now like for active mq to pick up the jar from a different folder, something which the --extdir option claims to be capable of doing. However I can’t get it to work.
I am executing the command:

./apache-activemq-5.6.0/bin/activemq console xbean:custom-broker.xml --extdir ../mylib/

where the jar in question is located in mylib, and am getting ClassNotFoundException every time.

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T23:49:05+00:00Added an answer on June 7, 2026 at 11:49 pm

    Resolved. –extdir does work as expected, turns out someone changed the name of one of the packages by like 1 character, and this is why activemq couldnt find the class in question in the jar :P.
    Also worth noting that if you want to add multiple folders to active mq’s classpath, then you need to repeat –extdir multiple times, as in “–extdir foldr1 –extdir foldr2” as documented here:

    http://activemq.2283324.n4.nabble.com/Is-there-anyway-to-get-activeMQ-to-pick-up-a-jar-at-runtime-other-than-adding-it-to-the-activemqinst-td4654121.html#a4654190

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using a library which is closed source that is starting a background task
I need some idea or starting point to the following question: I have an
disclaimer: I am just starting on rails. I've installed Ruby 1.9.3 using rvm without
I'm an old developer (Active since the Z80 days) starting fresh with Android. The
We have a legacy vb6 program using Active Reports 2. We have been running
After taking quite a long break from active coding I am just starting to
I'm starting my first project with Active Admin. To use another model for my
I'm starting on a project to allow an existing web application to use active
I am starting to look into configuring an SVN server using Apache2 and mod_dav_svn
I was starting with flask and wanted to check out how active the community

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.