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

Missing requirement package in OSGI Bundle - Felix & Servicemix

I have spent a few days trying to understand how to deploy as OSGI bundle and need some help. I am using servicemix 4.5.2, maven 3.1.0 and maven-bundle-plugin 2.4.0. I have added the following tags in my…
0
votes
1 answer

Android App talking to server using OSGi

I am newbie to OSGi. My requirement is to have an android app talking to a server on OSGi framework. I am looking at Apache Felix as container. From what I have understood, there are going to be bundles that are installed on Felix and they can be…
0
votes
1 answer

How can i add Declarative Services support to embedded felix in Netbeans?

In netbeans, embedded felix does not support DS.How can we add Felix Service Component Runtime to embedded felix in netbeans.
0
votes
1 answer

Store dynamic Global properties in OSGI

I have a use case in which an OSGI bundle needs to generate and store some custom property value which should be visible to all other OSGI bundles that will be deployed in OSGI container. e.g. 1.) OSGI container (Apache Felix) starts 2.) Bundle A…
snow_leopard
  • 1,466
  • 2
  • 20
  • 36
0
votes
1 answer

Glassfish OSGI Webconsole Credentials

I have a glassfish 3.1.2.2 installation with OSGI addons installed. I have also installed the webconsole jars and enabled the console on http://localhost:8080/osgi/system/console Then as for security, I wanted to change the login username and…
denizdurmus
  • 1,289
  • 1
  • 13
  • 39
0
votes
1 answer

gogo: CommandNotFoundException: Command not found: services

I know some of the commands have changed names when Apache Felix started using GoGo For example: ps --> lb (list bundles) What is the equivalent for services I am trying to get the following output from my console: services…
0
votes
1 answer

Linux | CQ 5.6 | Class Loader Issue

Has anyone face issues on Linux with class loader or loading of properties file in CQ 5.6? Here is what we are trying: We have config node that is "com.a.b.c.DataConfig" When we try to load this configuration on Linux, it gives Null Pointer…
Rupesh
  • 2,627
  • 1
  • 28
  • 42
0
votes
2 answers

Does zookeeper work with equinox or only felix?

I have been looking at a tutorial on Hadoop to get ZooKeeper working, but I'm not sure if it will work in a Equinox Framework or only Felix? Any ideas?
0
votes
1 answer

Can I use Apache Felix with WAS 8.5

I have very little experience with Apache Felix, however, I am trying to run JIRA on my local Websphere 8.5 install and Felix complains about javax.servlet being >= 2.4. I can't change this so I am curious, Is there a newer version that will work or…
Jackie
  • 21,969
  • 32
  • 147
  • 289
0
votes
1 answer

Updating a bundle in Felix embedded into Android application shows: "java.io.FileNotFoundException"

I am embedding Apache Felix into an android application. Starting and stopping the bundles work fine. But I would like to update a bundle by reading another bundle file. Here's my code: bundle1 =…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
0
votes
1 answer

Apache Felix Framework and Google Android, exception when using dx command: java.io.FileNotFoundException

I just started trying to use Felix with Android. I followed the instruction at Apache Felix homepage (http://felix.apache.org/site/apache-felix-framework-and-google-android.html), but failed at very first steps. After setting path for Android SDK, I…
ndquangr
  • 465
  • 3
  • 9
0
votes
1 answer

BundleException: Unable to resolve module because it exports package 'org.slf4j.spi' and is also exposed to it from com.springsource.slf4j.api

In what scenario, the following error could happen? This happens sporadically when starting an application with several bundles. What would be the fix for this error? Caused by: org.osgi.framework.BundleException: Unable to resolve module…
Gopal
  • 1,372
  • 2
  • 16
  • 32
0
votes
1 answer

Apache Felix - Storing bundles in the assests directory of android application

I am embedding Apache Felix into an android app. Right now, i use the following code to install a bundle: imageBundle = bundleContext1.installBundle("file:sdcard/Download/AndroidImageViewer_1.0.0.201308221559.jar"); This works OK, but it requires…
Traveling Salesman
  • 2,209
  • 11
  • 46
  • 83
0
votes
1 answer

How do I get BundleContext in the other classes which is not starting the framework?

I have recently started using OSGi framework. I am trying to launch an OSGi framework from Java main application. I was following this tutorial to embed OSGI container into my project. Below is my Java main application which I am using to launch an…
arsenal
  • 23,366
  • 85
  • 225
  • 331
0
votes
1 answer

Install the osgi bundle using the byte array instead of file location?

I am trying to install OSGi bundles. I am able to do it successfully. Right now what I am doing is, in our company we have some sort of storage where we are storing all the OSGi bundles jar. So I go and download those OSGi bundles jar into some…
AKIWEB
  • 19,008
  • 67
  • 180
  • 294