Questions tagged [apache-karaf-feature]

Apache Karaf provides a simple and flexible way to provision applications called Feature.

Apache Karaf provides a simple and flexible way to provision applications. In Apache Karaf, the application provisioning is an Apache Karaf "feature". A feature describes an application as: name, version, optional description, set of bundles (jars), set configuration files, set of dependency features.

When you install a feature, Apache Karaf installs all resources described in the feature.

19 questions
2
votes
0 answers

Inconsistent bundles integrity in Karaf between deployments

Background I am using Karaf 4.2.0 on RHEL 6 with the latest available Oracle JDK 1.8.x. For security reasons, I am trying to find the best way to validate the integrity of the bundles served by Karaf. The current approach I am using is to calculate…
Steven
  • 21
  • 2
2
votes
1 answer

Package and deploy OSGi bundles and Karaf features in Karaf Container

Recently, I have been working on Apache Karaf project. The first one is a CXF REST service example and the second one is an Apache Karaf Maven example to run and deploy a Karaf container. What I would like to do is to combine these two. The idea is…
Chuba
  • 125
  • 6
1
vote
3 answers

unable to run client command for apache karaf 4.3.3 through remote server

I have downloaded apache karaf 4.3.3 on several Ubuntu18 machine. When I try to install feature or run any command through client, I get the below log trace. I am able to run the client when I am on the server, but it fails through the…
1
vote
0 answers

Opendaylight Karaf errors while it installs boot features

I'm trying to start Opendaylight Nemo from GitHub repo code and after a long time spent in resolving dependencies version and replacing some old methods(now deprecated or not supported) I managed to build the code. However, when I start Karaf and it…
1
vote
1 answer

How to run a Vaadin 8 or 20 application on Karaf 4.3.2 with Pax-Web?

I thought I read somewhere that one can switch between: Jetty Tomcat Wildfly for use with the feature:install war, however, neither can I find that place anymore, nor do I have an idea of what to enter on the Karaf CLI to switch between the…
1
vote
0 answers

error java.lang.LinkageError when using cxf in karaf

i am using cxf 3.3.5 and karaf 4.2.7 I have an application that is a soap client and makes requests for a soap service, if no errors occur on the remote service, then everything is fine, but when an exception occurs, then I see an error for the…
1
vote
1 answer

Source code of the full OpenDaylight Integration Distribution Bundle

My team is using OpenDaylight 0.11.0 as the basis for a SDN controller. I am wondering how that .tar.gz is built? I.e., is there a base project on github and a maven command that creates that .tar.gz file? I am finding so many different opendaylight…
E.S.
  • 2,733
  • 6
  • 36
  • 71
1
vote
1 answer

Pre-programmed feature installs at apache karaf launch

I am working on an opendaylight project that uses apache karaf. At the start of the program, I need karaf to have some features installed. Currently (and this works) I manually type this into the shell and the features get installed: $…
E.S.
  • 2,733
  • 6
  • 36
  • 71
1
vote
1 answer

Karaf Jaas combined with custom LoginModule doesn't work when loginModule jar is in deploy folder

I am using Karaf 4.0.7 in combination with com.tagish.jaasmodules, which can be found at https://github.com/chriseldredge/tagish-jaas. It works fine when my code is compiled into jars and placed in the karaf/system/company/prefix/folders/.../ folder…
Nzall
  • 3,439
  • 5
  • 29
  • 59
0
votes
1 answer

How to make Karaf server run code before bundles

I have file in Karaf server which is deleted after some time I don't know why. So I decide to run code to create the file before running the bundles that depends on it. is that possible? I have the code but I don't know where I can put it to run…
0
votes
0 answers

KARAF start up takes time during boot up

We are using karaf 4.3.7 in which we are installing the bundles as features. While analyzing the framework logs we found that initial boot up take time which is causing the initial start up failure of our karaf karaf: Ignoring predefined value for…
Shriram
  • 4,343
  • 8
  • 37
  • 64
0
votes
1 answer

client feature:install fcrepo-service-activemq

I'm trying to Install Karaf Features on Ubuntu 20.04 using the code below. /opt/karaf/bin/client feature:install fcrepo-service-activemq And I am getting the message error below: Error executing command: Unable to resolve root: missing requirement…
0
votes
1 answer

Apache Karaf 4.2.3 update ActiveMQ version

I'm using Karaf 4.2.3 over JDK 1.8. I had ran a Black Duck Scan, and it is pointing to Apache ActiveMQ -5.15.9 with some vulnerabilities, one of them is critical. I'd like to know if it is possible to get this updated to the recommended version…
0
votes
1 answer

Karaf How to implement changes to a bundle made in features.xml file without reinstalling

In my features.xml file I modified a custom bundle to use a Pax URL Wrap in order to dynamically Import dependencies. I changed the below line: mvn:abc.def/aid/1.1 to
0
votes
1 answer

Feature repo add in KARAF Error Resolving Artifact : Could not read from local repo

Error executing command: Error resolving artifact com.sample:features:xml:features:4.1.4-SNAPSHOT: \[Could not find artifact com.sample:features:xml:features:4.1.4-SNAPSHOT in default local (file:/C:{/Users}.m2/repository/), Could not find…
1
2