Questions tagged [apache-felix]

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license.

Apache Felix is a community effort to implement the OSGi R4 Service Platform and other interesting OSGi-related technologies under the Apache license. The OSGi specifications originally targeted embedded devices and home services gateways, but they are ideally suited for any project interested in the principles of modularity, component-orientation, and/or service-orientation. OSGi technology combines aspects of these aforementioned principles to define a dynamic service deployment framework that is amenable to remote management.

Subprojects:

The Felix project is organized into subprojects, where each subproject targets a specific OSGi specification or OSGi-related technology; the following list summarizes each released subproject:

  • Config Admin - An implementation of the OSGi Configuration Admin service specification for managing bundle configuration properties.
  • Dependency Manager - An API-based component model to simplify OSGi-based development.
  • Event Admin - An implementation of the OSGi Event Admin service specification for event-based communication.
  • File Install - A simple, directory-based management agent for managing bundle deployment.
  • Framework - An implementation of the OSGi R4.2 core framework.
  • Gogo - An advanced shell for interacting with OSGi frameworks.
  • HTTP Service - An implementation of the OSGi HTTP Service specification.
  • iPOJO - A sophisticated service-oriented component model to simplify OSGi-based development.
  • Log - A simple, memory-based implementation of the OSGi Log service specification.
  • Maven Bundle Plugin - A Maven plugin to simplify building bundles.
  • Maven SCR Plugin - A Maven plugin to simplify using Declarative Services.
  • Metatype - An implementation of the OSGi Metatype service to describe types needed by bundles.
  • OSGi Bundle Repository - A bundle repository service to simplify discovering and deploying bundles and their dependencies.
  • Preferences - An implementation of the OSGi Preferences service specification for storing settings and preferences.
  • Remote Shell - A remote, text-based interface to the Apache Felix Shell.
  • Service Component Runtime - An implementation of the OSGi Declarative Services specification providing a service-oriented component model to simplify OSGi-based development.
  • Shell - A very simple shell service implemented as a bundle for interacting with an OSGi framework instance.
  • Shell TUI - A simple, text-based interface to the Apache Felix Shell.
  • UPnP - An implementation of the OSGi UPnP Device service specification for UPnP device integration.
  • Web Console - A simple tool to inspect and manage OSGi framework instances using your favorite Web Browser.

Official Website: http://felix.apache.org/

Useful Links:

921 questions
0
votes
0 answers

Drools OSGi integration - Apache Felix

i'm trying to integrate drools engine inside an Apache Felix container. I can't find ANY official resource regarding the installation process. The official documentation of drools 6.4.0.Final only state that drools is OSGi ready Can someone give me…
Andrea Di Lisio
  • 465
  • 5
  • 17
0
votes
1 answer

Cannot get CoreNLP models files from JBoss Fuse ESB

I have a problem with CoreNLP using in JBoss Fuse ESB. I installed CoreNLP with it's models on ESB by install wrap:mvn:edu.stanford.nlp/stanford-corenlp/3.6.0 install wrap:mvn:edu.stanford.nlp/stanford-corenlp/3.6.0//models-english Then, when my…
0
votes
1 answer

Standard java class not found

I am using Apache CXF to call a SOAP web service. CXF uses the javax.annotation.Resource annotation, which is part of Java 8, however my application is throwing a ClassNotFoundException for it; java.lang.ClassNotFoundException:…
Qwerky
  • 18,217
  • 6
  • 44
  • 80
0
votes
1 answer

OSGI un used Import packages make as optional

Am trying to create an aem workflow java process step, adding the below dependency in the pom.xml file dependencies list once i add the bundle build is fine but it is in Installed state only because of the below two errors.
krish
  • 469
  • 1
  • 15
  • 34
0
votes
2 answers

OSGI: do declarative services become available after bundle start

The question is simple, but I can't find answer - Can I state that all declarative services in bundle A become available after bundle A start? For example, bundle=context.installBundle("file:bundleA-1.0.0.jar"); bundle.start(); //In this point are…
Pavel_K
  • 10,748
  • 13
  • 73
  • 186
0
votes
1 answer

Apache POI + Felix : XSLF Table is empty

We use Apache POI 3.14 to generate a pptx document from Sling content, using the bundle org.apache.servicemix.bundles.poi. In a simple standalone Java app, with test code, it works fine. When we put this code in a bundle and deploy it to Felix, the…
0
votes
1 answer

Hot code deployment during development with embedded Apache Felix and Eclipse?

I am trying to embed Felix in an application of ours to handle plugins. Everything is working fine, however, development and debugging is very cumbersome. Is there a solution where I can tell Felix to automatically reload a plugin bundle or its…
Jochen
  • 7,270
  • 5
  • 24
  • 32
0
votes
1 answer

Apache felix osgi unable to export package

I have below set up in manifest.mf file, Manifest-Version: 1.0 Bnd-LastModified: 1359719312904 Bundle-Activator: org.amdatu.mongo.impl.Activator Bundle-ManifestVersion: 2 Bundle-Name: org.amdatu.mongo Bundle-SymbolicName:…
Abhishek Suthar
  • 674
  • 1
  • 8
  • 27
0
votes
1 answer

Apache Felix Stateless Service

I am recently looking into OSGI and Apache Felix. In my project I want to use a stateless service, but cannot find a way to do so. Is it possible to create stateless service in Apache Felix? If yes, can it be done using Felix Dependency Manager?
S Hasan
  • 16
0
votes
1 answer

OSGI: use service outside osgi container via systemBundle

I have some jar file which is not osgi bundle. Let's call it starter.jar. And I run this starter this way: java -jar starter.jar. This starter starts felix framework: Felix felix = new Felix(configMap); systemBundle=felix.getBundle(); and after…
Pavel_K
  • 10,748
  • 13
  • 73
  • 186
0
votes
0 answers

OSGi: How to add/create resources (images, xml files) in bundle at runtime?

I have bundle A which is started on osgi framework. How can I add/create resources (for example images or xml files) in this bundle at runtime - I mean bundle is installed and active? Is this possible? If yes, then how? I use apache felix.
Pavel_K
  • 10,748
  • 13
  • 73
  • 186
0
votes
1 answer

Apache Felix File Install example in karaf

Is there any example of how to configure/install Apache Felix File? On the official website, it mentions that you need to configure properties, etc. But nowhere have they mentioned where you need to put those configuration properties - how to set it…
user6438693
0
votes
2 answers

Efficient way of building an OSGi distribution with maven

First of all, I'm a beginner with OSGi/Maven and I am studying how can I work efficiently with these tools (for the moment, I forecast to use Felix as my OSGi implementation) I would like to create a project based on many bundles. Of course,…
0
votes
0 answers

Do not run bundle org.osgi.framework.BundleException

I created a small project that uses mail Apache Camel Mail. As usual, he started the project and works well, but as soon as I try to run it as a bundle, there is a problem: java.lang.NoClassDefFoundError: org/osgi/framework/BundleActivator at…
R.Skidan
  • 3
  • 3
0
votes
1 answer

How to add a Custom Column to the Site Admin Console

I have a requirement where I need to add a custom column in the Siteadmin console. There will a link in every row of the custom column. On click of the link it will take me to another page/popup where it will show some node properties of the…
Satish
  • 59
  • 3
  • 14