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
2 answers

importing itext pdf in maven is not resolving in felix console

Am importing the itext pdf related maven pom dependencies, my build is successful but the Felix console says the below error which causes the bundle to be in INSTALLED status instead of ACTIVE. com.itextpdf.text -- Cannot be…
VAr
  • 2,551
  • 1
  • 27
  • 40
0
votes
1 answer

Policy file for OSGi conditional admin service?

I am trying to configure Felix 5.6.1 to only install bundles signed with a particular key. So far I have only been successful in detecting the compromised authenticity of bundles. If am not mistaken this should be done using…
Jan Goyvaerts
  • 2,913
  • 4
  • 35
  • 48
0
votes
1 answer

Dependency Manager commands not working after upgrading Servicemix from 5.4.0 to 6.1.2

We have an application deployed in Servicemix 5.4.0 (http://servicemix.apache.org/downloads/servicemix-5.4.0.html) and recently tried upgrading to Servicemix 6.1.2 (http://servicemix.apache.org/downloads/servicemix-6.1.2.html). One thing we rely on…
RodAllen
  • 36
  • 4
0
votes
1 answer

Build OSGI application with Maven

I'm trying to build standalone OSGI application with Maven. There are several sub-modules containing "bundles" and one "distribution" module that produces a directory (zip) with my bundles, framework's bundles and required configuration files. The…
Anton
  • 29
  • 6
0
votes
1 answer

How To Migrate From maven-bundle-plugin 2.5.3 to 3.0.0

My maven pom.xml has a dependency to the maven-bundle-plugin: org.apache.felix maven-bundle-plugin 2.5.3 There are already a couple of releases for…
Stefan S.
  • 3,950
  • 5
  • 25
  • 77
0
votes
1 answer

OSGi injection of dependencymanager

I am trying to inject the DependencyManager into my component. The BundleContext is injected but the DependencyManager is not (@Inject). What am I doing wrong? import org.apache.felix.dm.DependencyManager; import…
OblongZebra
  • 466
  • 5
  • 16
0
votes
2 answers

How to see why bundle requirements are not fulfilled in Apache Felix Log?

I'm using Felix in embedded mode, with the File Install bundle, and have a bundle that is Installed but not Resolved (thus not Starting / Active), and I'm struggling more than I thought one would have to finding the root cause in the log... How /…
vorburger
  • 3,439
  • 32
  • 38
0
votes
1 answer

make apache felix web console available remotely

I am working on a project that uses the apache felix webconsole with Jetty. The project uses the OSGi framework and is built using BND tools in eclipse. How can I configure jetty to allow connections from anywhere so I can use the webconsole when it…
iain
  • 39
  • 1
  • 9
0
votes
2 answers

How to get rid of OSGi bundle's properties that are not exist in their corresponding configuration ("service.pid", etc.)?

I have the class similar to the following: @Component(configurationPid = "foo.bar", configurationPolicy = ConfigurationPolicy.REQUIRE) public class MyClass { @Activate public void activate(Map properties) throws Exception { …
Viktor
  • 1,298
  • 15
  • 28
0
votes
1 answer

Include dependencies in Felix OSGi bundles

I'm new to OSGi. I'm using Apache Felix. I have build a bundle, and that has a dependency. When I try to start the bundle with start file:/path/to/bundle.jar it gives me this error. org.osgi.framework.BundleException: Unable to resolve…
Milindu Sanoj Kumarage
  • 2,714
  • 2
  • 31
  • 54
0
votes
2 answers

~/.felix folder contains massive number of files

On one of the accounts we use on a cluster there is a hidden folder in the home directory: /home/user/.felix/ This contains a huge number of directories: [user@gateway .felix]$ ls | head…
JustinBlaber
  • 4,629
  • 2
  • 36
  • 57
0
votes
0 answers

Using Felix/Whiteboard to host a VaadinServlet

As the title states, I'm trying to use Whiteboard to host my VaadinServlet. After many failed attempts at using other embedded servlet containers such as Jetty and Grizzly, I came across this solution here, written by the Bndtools man himself,…
Karijuana
  • 314
  • 1
  • 2
  • 13
0
votes
1 answer

sling:OsgiConfig Node changes are not applying in Felix config manager

Am trying to make the sling:OsgiConfig nodes as per this link for Apache Sling Service User Mapper and Apache Sling Service User Mapper Service Amendment Felix configuration, But those are not reflecting into Felix console, is there anything am…
VAr
  • 2,551
  • 1
  • 27
  • 40
0
votes
1 answer

Couldn't find org.osgi.util.tracker.ServiceTracker

I am learning OSGi follow this Apache Felix Tutorial, everything went on wheels until this example 5, I've been told that felix couldn't find the class org.osgi.util.tracker.ServiceTracker. I copied all the exact code and the manifest meta data on…
Gale Yao
  • 133
  • 1
  • 10
0
votes
1 answer

Developing OSGi using intelliJ IDEA

I am learning to develop OSGi application using intelliJ IDEA, I've chosen Apache's felixApache's felix as the runtime, the problem I have encountered is below: the screenshot is here I have developed module example 1, 2 and 2b, and the package…
Gale Yao
  • 133
  • 1
  • 10