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

AEM Apache Felix Console is inactive

Currently I'm working in AEM project (version 6.0) but when I try to access to the console(author_instance/system/console ) I obtain a 404 error. Can anyone provide please a way to activate the console? Is a tool needed to activate the…
MDR
  • 11
  • 1
0
votes
1 answer

Deploying Active MQ Web Console on Felix

I have a plain Felix based OSGI Environment on which I have deployed a bundle, which has an Embedded ActiveMQ Broker. I want to have another bundle deployed on the same OSGI environment, which shall have an embedded jetty on which the ActiveMQ Web…
0
votes
0 answers

Synchronizing between a framework listener and events during startup

OSGi version 5, via Felix version 4.4.1. I'm embedding the framework, purely via the OSGi API, nothing Felix-specific. So, I use the SPI to obtain the framework class name, create an instance, and init it. Then I install bundles, start all the…
bmargulies
  • 97,814
  • 39
  • 186
  • 310
0
votes
2 answers

Get InputStream of bundle already installed in OSGi runtime?

I am trying to create a backup file of a bundle that is installed in the runtime, so that I can uninstall it and then possibly reinstall from the backup if I want. Does anybody know how to get a handle on the location of the bundle file that is…
Jeremy G
  • 568
  • 4
  • 18
0
votes
3 answers

change made via felix console takes more precedence over apps and libs why?

Scenario: The same configuration parameter is present under /libs/*/config and /apps/*/config and modified in both locations as well as via Felix console. And during run-time somehow Felix console configuration is taking precedence. How? My…
Rupesh
  • 2,627
  • 1
  • 28
  • 42
0
votes
1 answer

Pax-Web Jetty-Bundle publishing Jersey App

I'm trying to deploy a Jersey app on Apache Felix. I have these bundles installed: ID|State |Level|Name 0|Active | 0|System Bundle (4.4.1) 1|Active | 1|Apache Felix Bundle Repository (2.0.2) 2|Active | …
João Martins
  • 1,026
  • 2
  • 14
  • 35
0
votes
0 answers

Import package android.content.pm into MANIFEST of OSGi Bundle

I am having a trouble when trying to import the package "android.content.pm" into my OSGi Bundle. This bundle uses the Package Manager to get the list of applications in Android and use one of them. But when i try to import this packege i receive…
WitaloBenicio
  • 3,395
  • 5
  • 25
  • 32
0
votes
1 answer

OSGI Felix with Jasper Reports

I want to create a Module to generate reports using OSGI (Felix in Glassfish), First, I have downloaded and deployed the Jasper Reports Bundle, The Deploy returns "OK" After, I have created a Project Bundle that imports the Jasper Reports Packages,…
jrey
  • 2,163
  • 1
  • 32
  • 48
0
votes
1 answer

Using Hibernate with OSGi and Maven

I am trying to add Hibernate as a dependency of my OSGi bundle using Maven. In my POM file I have: org.hibernate hibernate-osgi
js_
  • 185
  • 2
  • 10
0
votes
2 answers

Does OSGi guarantee that referenced field will already activated before invocation Activate method?

Consider the following class: @Service(MyTest.class) public class MyTest{ @Reference ExternalService externalService; @Activate public void activate(){ externalService.someMethod(); } } Does OSGi guarantee that…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
1 answer

Can an OSGi JAR once running ask its container to load another OSGi JAR from another location?

Lets say I loaded my OSGi JAR into Apache Felix, I wrote the OSGi JAR. Can my OSGi JAR ask Apache Felix to load another OSGi JAR from a HTTP URL?
Phil
  • 46,436
  • 33
  • 110
  • 175
0
votes
0 answers

Reference is null when child in another bundle

I have folowing classses abstarct class: @Component(componentAbstract = true) public abstract class A implements SomeInterface{ @Reference private ConfigurationManager manager; @Activate protected void activate(ComponentContext…
gstackoverflow
  • 36,709
  • 117
  • 359
  • 710
0
votes
1 answer

Creating a custom task scheduler in Adobe CQ

We have a specific requirement to create a custom scheduler in CQ to perform some admnistrative tasks based on some parameters specified by the administrator. I have seen the Scheduler service offered by Sling. But wanted to know whether there is…
kallada
  • 1,829
  • 4
  • 33
  • 64
0
votes
1 answer

OSGi Import-Package: did I get the wrong package?

I'm trying to use an OSGi bundle, but it's stuck in the "Installed" state and won't resolve. When I try to start it, I get the following message: org.osgi.framework.BundleException: Could not resolve module: org.apache.felix.gogo.usocklistener [6] …
Woodrow Barlow
  • 8,477
  • 3
  • 48
  • 86
0
votes
1 answer

Is there any reason not to use Felix bundles with the Equinox framework?

I am working on an embedded system that previously used Apache Felix as an OSGi framework. I've been tasked with removing Felix and replacing it with Equinox, because Equinox currently supports a more recent version of the OSGi specification. The…
Woodrow Barlow
  • 8,477
  • 3
  • 48
  • 86