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
1 answer

Apache Karaf enable Gemini blueprint

I've downloaded Karaf 3.0.8 and tried to enable spring 3.2 and gemini blueprint - without success karaf@root()> feature:install spring/3.2.17.RELEASE_1 karaf@root()> feature:install gemini-blueprint Exception in thread…
user8524898
0
votes
1 answer

Pax exam karaf 4.0.7 using mock javamail

I would like use javamail-mock2 in pax exam environment but the problem is that pax exam cannot see META-INF folder from test. How to add javamail.providers file to suite that javamail-mock2 will see configuration file and load mock…
mapek
  • 270
  • 3
  • 16
0
votes
1 answer

Read Properties File in Karaf From Another Bundle

In Karaf, is there a way for a bundle to read a properties file from another bundle? I have bundle1, which contains some classes that bundle2 uses (bundle1 exports the package containing those classes in its maven pom via maven-bundle-plugin and…
Woodchuck
  • 3,869
  • 2
  • 39
  • 70
0
votes
1 answer

Pax exam karaf maven test

Hi i have a problem with pax exam on maven. This is my abstract test runner each test extends this class RunWith(PaxExam.class) @ExamReactorStrategy(PerSuite.class) public abstract class CommonSuiteTest { @Configuration public Option[] config()…
mapek
  • 270
  • 3
  • 16
0
votes
1 answer

Karaf https SSL Not Working in Chrome getting ssl_server_cert_untrusted_issuer

I am trying to follow the following link http://blog.nanthrax.net/2012/12/how-to-enable-https-certificate-client-auth-with-karaf/ I am able to access the Webconsole with SSL in IE But it is not working in Chrome I am getting and Certificate…
0
votes
1 answer

Deploying birt war in karaf

I have karaf 4.1.1 and birt runtime 4.5.0 on my server. I have problems deploying birt.war in karaf. My purpose is using birt report engine api in karaf to generete reports based on birt project files. I instaled karaf war feature. But I'm unable to…
ggx2
  • 17
  • 1
  • 7
0
votes
1 answer

Bean validation with hibernate in karaf, cxf and dosgi

I have jax-rs services exposed in Karaf with cxf dosgi. I am trying to add bean validation with a hibernate provider. I Installed the hibernate-validator feature I Installed the cxf-bean-validation and cxf-bean-validation-core features although I…
medalik
  • 139
  • 1
  • 10
0
votes
1 answer

List of Services deployed in Karaf Container

I have several Karaf-Containers in different environments, each with 50+ services deployed, and I´m looking for an easy way to compare the versions in each environment. Is it possible to retrieve a list of all deployed services including the…
Patrice
  • 3
  • 3
0
votes
1 answer

How to solve - No component found with scheme: bean-validator, in karaf?

I'm trying to deploy my application in karaf 3.0.0. Everything looks fine when I install my bundle: bundle:install mvn:br.com.celsoagra/ldap-service/1.0.5-SNAPSHOT, but when I try to start my bundle I got this error…
Celso Agra
  • 1,389
  • 2
  • 15
  • 37
0
votes
1 answer

Set VaadinServlet ProductonMode when declared as Bean

We are using Vaadin7 in a larger OSGI (karaf 4) application and have the VaadinServlet declared using blueprint: