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 7727275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:25:08+00:00 2026-06-01T05:25:08+00:00

Right so some really noob(this is my first deployment of a bundle to Karaf)

  • 0

Right so some really noob(this is my first deployment of a bundle to Karaf) questions for the Apache Karaf folks out there. I am deploying a bundle that uses a lot of the org.apache.commons.* bundles. When I deployed my bundle and then try to start it, Karaf threw a error about not finding org.apache.commons.pools for example. I did a bit of googling and ran the following:

osgi:install mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool

This installed the missing bundle and I hit the next one. While I understand that the required bundles are not installed into the OSGI container I have some questions that need clarification.

  • From my understanding the bundle I am installing is using some sort of servicemix bundle.
    So I want to know is this needed, cant I just add a org.apache.commons.pool bundle instead of a full servicemix bundle?
  • When I am missing a bundle how can I find out which maven url to use. For example say I needed a foobar bundle how would I go about adding the bundle if I dont know the url? Right now I cant start my bundle due to package=org.apache.log not being found. So how would I know how to add this?
  • Difference between a bundle and feature?

Hope the questions are clear enough. I am making headway with karaf just need to clarify these points.

  • 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-01T05:25:10+00:00Added an answer on June 1, 2026 at 5:25 am

    Not all the Java “jars” are OSGi compatible, they need to have the OSGi bundle manifest.

    I follow this steps when I need to add a dependency from the console:

    • Search the library at mvnrepository.com
    • Try to install it like this:

      install mvn:[group-id]/[artifact-id]/[version]

    • If it’s not an OSGi library then I search it at SpringSource. On this repository all the bundles are OSGi, but it’s normal that they have outdated versions.

    • My last option is to use the Karaf wrap deployer that let you deploy non-OSGi bundles. Check the user guide.

    And about the features, a feature is just a set of bundles. Read this post for further details.

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

Sidebar

Related Questions

I need some help to get this right, please. I have created an iPad
I'm experiencing some really weird object behaviours at the moment. I have this template
There's some really great code for a glass button here: http://www.lukesw.net/articles/GlassButton.aspx The only trouble
I'm sorry if this is really basic, but: I feel at some point I
I have some XHTML (but really any XML will do) like this: <h1> Hello<span
I am looking for some miracle right now, since I am on really on
Would really appreciate some help with this. I have an app which consists of
How could I make some numbers right justified? I don't understand. I'm really new
I'm implementing right now some syscalls from unistd.h and fcntl.h (open, read, close, e.t.c)
I am writing a prototype application. Right now some things fail such as inserting

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.