Questions tagged [apache-karaf]

Karaf is an enterprise grade OSGi runtime/container, with configurable framework implementation (Equinox, Felix). Originally the platform "kernel" for FuseSource ESB/ServiceMix it was added as an Apache top level project.

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 SSH 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.

It has all the benefits of OSGi; lightweight, dynamic, highly configurable, etc

Links:

  • website
  • users' mailing list: user@karaf.apache.org
  • developers' mailing list: dev@karaf.apache.org
  • nabble (archived mailing list content)
1353 questions
-1
votes
1 answer

Access to MSSQLserver via CamelRoute in ServiceMix

I have an existing route in Camel with a jdbc endpoint which connects to a mssql server. That works fine. Now i want to switch to apache servicemix to use that 'hot blueprint deployment'-feature. The download i used:…
chris
  • 1,685
  • 3
  • 18
  • 28
-1
votes
1 answer

karaf individual dependencies error

My problem is I simply download karaf 2.3.11 from http://karaf.apache.org/index/community/download.html#Karaf2.3.11 for windows. when I run karaf and type la command on karaf shell it will show some dependencies blueprint are created but some are…
honey
  • 3
  • 4
-1
votes
1 answer

Add SCR feature in karaf 2.3.10

I've installed Apache Karaf 2.3.10 in my environment to deploy OSGi bundles. I need to add SCR feature to karaf. I tried by following the steps in this link. It won't show the installed components as similar to osgi:install command. Can anybody tell…
Shriram
  • 4,343
  • 8
  • 37
  • 64
-1
votes
1 answer

Unable to make logback work with karaf 3.0.4

I am attempting to make karaf 3.0.4 use logback. In the code i attempt to programatically create a FileAppender for a logback logger. ch.qos.logback.classic.Logger logger = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger("bingo"); Here the…
madhav
  • 56
  • 6
-1
votes
1 answer

When installing camel-hazelcast in karaf shows error

When i tried to install camel-hazelcast 2.15.2 feature in apache karaf 3.0.4 it gives the below error, how to resolve it kindly help to resolve this karaf@root()> feature:install camel-hazelcast Error executing command: Can't install feature…
Satiz
  • 17
  • 6
-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
1 answer

Servicemix clustering example

Please suggest some good startup beginner examples for ServiceMix cluster setup. I understand here clustering is done by Karaf OSGI container using Karaf Cellar framework. But I couldn't find any step by step tutorial on this. I could set up…
Chakradhar K
  • 501
  • 13
  • 40
-1
votes
2 answers

Looking up OSGi services from outside the OSGi container

I have a set of bundles deployed in Karaf and exposing a number of OSGi services which I would like to be able to lookup and call remotely, from an application running on a (possibly) different machine and in a non-OSGi container. My initial though…
Christina
  • 3,562
  • 3
  • 22
  • 32
-1
votes
1 answer

@Cacheable annotation not working with osgi blueprint

What is a proper way to turn on ehcache inside the OSGi container with Blueprint. To turn on ehcache for the non-osgi, non-blueprint projects we simply use spring annotation: org.springframework.cache.annotation.Cacheable Inside…
lukastymo
  • 26,145
  • 14
  • 53
  • 66
-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
-1
votes
1 answer

Unable to autowire in redhat fuse esb

Hi I am using redhat fuse esb to build some services. The issue I am facing is while deploying it is unable to create object for the beans annotated with @Component, @Service. I am using jboss-fuse-6.0.0.redhat-024 server and…
vashishth
  • 2,751
  • 4
  • 38
  • 68
-2
votes
1 answer

Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.1.1:verify (verify)

When i am trying to build the project using maven ,getting this error .Can any one help me sort this out? Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.1.1:verify (verify)
-2
votes
2 answers

How to use Maven + Karaf? I'm stuck

How to create and publish a simple hello world application on localhost with Karaf and Maven? There is no working resources about this question on the web right now. I spent hours researching. I keep going back to this tutorial but I cannot progress…
mmswe
  • 707
  • 2
  • 8
  • 20
-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
90
91