Questions tagged [karaf]

Apache Karaf is a small OSGi based runtime which provides a lightweight container onto which various components and applications can be deployed. Use the apache-karaf tag. This tag is deprecated and should really be merged/removed.

Apache Karaf is a small based runtime which provides a lightweight container onto which various components and applications can be deployed.

The main features supported by Karaf are:

  • Hot deployment : Karaf supports hot deployment of OSGi bundles by monitoring files inside the [home]/deploy directory. Each time a jar is copied in this folder, it will be installed inside the runtime.
  • Dynamic configuration : Services are usually configured through the ConfigurationAdmin OSGi service. Such configuration can be defined in Karaf using property files inside the [home]/etc directory.
  • Logging System : using a centralized logging back end supported by Log4J, Karaf supports a number of different APIs
  • Provisioning : Provisioning of libraries or applications can be done through a number of different ways, by which they will be downloaded locally, installed and started.
  • Native OS integration : Karaf can be integrated into your own Operating System as a service so that the lifecycle will be bound to your Operating System.
  • Extensible Shell console : Karaf features a nice text console where you can manage the services, install new applications or libraries and manage their state. This shell is easily extensible by deploying new commands dynamically along with new features or applications.
  • Remote access : use any SSH client to connect to Karaf and issue commands in the console
  • Security framework : It provides a complete security framework (based on JAAS), and providing (Role-Based Access Control) mechanism for console and .
  • Managing instances : Karaf provides simple commands for managing multiple instances. You can easily create, delete, start and stop instances of Karaf through the console.

You should be using this tag if your question is related to the use of Karaf Framework.

549 questions
0
votes
2 answers

Unable to resolve 271.0: missing requirement [271.0] package; (&(package =org.apache.cxf.jaxrs.client)(version>=2.7.0)(!(version>=3.0.0)))

I am trying to install my bundle and I get the following error: org.osgi.framework.BundleException: Unresolved constraint in bundle horizon-util [271]: Unable to resolve 271.0: missing requirement [271.0] package;…
user3404004
  • 31
  • 1
  • 5
-1
votes
1 answer

Upload via scp gives "Permisssion denied" on Karaf ssh console

The scp command to get a file from the Karaf directories via Karaf ssh console works well : scp -P 8101 karaf@localhost:/deploy/README (after I have entered the password) But the reverse operation to upload a file fails with a "Permission denied"…
Loko
  • 120
  • 9
-1
votes
1 answer

How to run swagger APi on Multiple projects using apache karaf

I have created Java RESTFUL web services using Apache karaf, I am using swagger for API documentation.All Annotation are applied and its running successfully on single project with the general swagger configuration(Swagger core and annotation jar…
-1
votes
1 answer

bundles get installed on both Karaf instances

I want to make a "communication" between two Karaf instances and I decided to use Karaf Cellar in order to do that. I, now, have two bundles each one is installed on a Karaf container. They are identified by an address and port provided in…
-1
votes
1 answer

How to start controller in OpenDaylight Helium (Karaf based)?

I've downloaded the software and have run ./bin/karaf what is the further procedure? How to start controller? I want to use REST APIs to add flow entries. Any help is greatly appreciated. Thanks!
Omkar J
  • 53
  • 10
-1
votes
2 answers

karaf 3 with OSGi , how install a bundle

How create a bundle using Apache karaf 3? Someone know ? I have try in Eclipse: I export a jar with a manifest file ... and why I have this error: karaf@root(dev)> feature:repo-add…
user3623242
  • 21
  • 1
  • 4
-2
votes
1 answer

How to use OSGi service reference into whole other classes?

I have one bundle Activator class and some of codes there. I need to use @Autowired inside my bundle activator class. It is not working. Here is my bundle Activator class, public class ProviderActivator implements BundleActivator { @Autowired …
Sridhar
  • 89
  • 7
-2
votes
1 answer

what is the most simple straightford way to deploy html/javascript into service mix

I have a small html/web page I wanted to deploy service mix somehow. I have never tried to use any web based with service mix and I wanted see what are the steps you need to this? I know the web page side and am using service mix but am not sure…
user3470688
  • 539
  • 6
  • 21
-2
votes
1 answer

Multiple @Test method in a java class fails with java.lang.Exception: No runnable methods

I have multiple @Test method in a class while running the paxexam it fails with the below Exception java.lang.Exception: No runnable methods at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:169) …
Charity
  • 213
  • 1
  • 5
  • 23
1 2 3
36
37