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

Felix log level regarding ServiceEvent and BundleEvent

Every time Felix starts a bundle, I get logging output on the lines of: BundleEvent STARTED BundleEvent RESOLVED ServiceEvent REGISTERED The log level is debug, and it doesn't come from any felix class, but from my own classes, so I have no way to…
Miquel
  • 15,405
  • 8
  • 54
  • 87
0
votes
1 answer

Creating Bundle in osgi framework like felix

I would like to create a simple bundle as maven project. Please let me know how can i do it. Actually i can create a bundle with using the existing pom but now i don't want to do that.I want to make it from scratch like mvn archetype:generate. Any…
0
votes
1 answer

How to find the package dependency of an OSGi bundle

I have 2 OSGi Bundle Repositories. I want to use API to check if a bundle has any dependency problems provided the 2 obr. How can I invoke api to do that? It seems I can use the following code with Felix API to do that. But how can I get the…
0
votes
1 answer

Component provides a service

I have one doubt in understanding the term component and service in OSGI. I am using apache felix framework. I have read in the this link http://wiki.osgi.org/wiki/Declarative_Services#Providing_Services that components provide a service. But i…
user2091202
  • 33
  • 1
  • 5
0
votes
1 answer

Apache Felix set Classloader to restrict class access on Android

I'm running Apache Felix as a bundle loader inside an Android app. Since the Jaca SecurityManager isn't accessible there, I'm looking for a solution to prevent the bundles from accessing certain packages, like java.io.*. The idea of just writing a…
Adrixan
  • 13
  • 2
0
votes
1 answer

Configuring CORS in Felix's HTTPService (backed with Jetty)

I'm running a felix container with HttpService implemented by Jetty. Jetty supports CORS using the Cross-Origin-Filter and it's usually configured in web.xml as seen e.g. here Unfortunately, the Felix HTTPService doesn't expose anything of the sort…
Miquel
  • 15,405
  • 8
  • 54
  • 87
0
votes
1 answer

Apache Felix Bundle Heap Memory Usage Monitoring

Is there a nice tool to monitor how much heap memory each of the OSGI bundles take over time ? Thanks, Retep
0
votes
1 answer

Apache Felix on Android 4.1 / 4.2 (JellyBean)

Has anyone tried to run Apache Felix on Android 4.1 oder 4.2 ? To me, it look as if something has been changed on the android classloader and now it no longer works. i start apache felix programmatically as follow: …
Rob Anderson
  • 2,377
  • 3
  • 22
  • 31
0
votes
1 answer

Exception logged when using custom css in JavaFX in Felix OSGI

I'm getting the exception below logged to stderr when trying to use my own custom css in JavaFX 2.2 (from JDK 7 update 11). It's funny because the css is actually found and used in my application so the only thing wrong is the exception in the logs.…
Boomah
  • 1,172
  • 13
  • 24
0
votes
2 answers

OSGi bundle as external webservice client

I need to call an external webservice from my bundle which is deployed in apache felix container ( I can not use ServiceMix, fuse...) I added the bundle cxf-dosgi (which can be downloaded from here) and put the following lines in my pom.xml: …
BraveHeart
  • 11
  • 2
0
votes
2 answers

Beginner starting large OSGi migration - osgi.wiring.package=android.dalvik?

I have a large Java application that's mostly networking and file processing with lots of DB access. There's no UI. We expose a few web services (embedded Netty) and call some external rest web services. The project is built with Ant. It's about 10…
ppantera
  • 11
  • 1
0
votes
1 answer

Cannot access to the webconsole interface

Since few days, I am playing around with apache felix. Everything works fine as it can be seen when lauching the lb command: START LEVEL 2 ID|State |Level|Name 0|Active | 0|System Bundle (4.0.3) 1|Active | 2|Apache…
Yoann Pitarch
  • 139
  • 1
  • 13
0
votes
1 answer

Glassfish startup failure

I have set up a glassfish server for learning about it. After setting up and configuring depending on the quickstart guide, I was able to run the server and domain1 without any problems. after some time, it started to log the lines…
denizdurmus
  • 1,289
  • 1
  • 13
  • 39
0
votes
1 answer

Why is there a seemingly identical copy of the JDK 1.5 core runtime in org.osgi.foundation-1.0.0.jar?

I am maintaining a web application that depends on OSGi and Maven pulls in a jar called org.osgi-foundation-1.0.0.jar that seems to contain the same classes as part of the JDK core runtime such as: java.util.\*; java.io.\*; etc. and so on. This…
Coder Guy
  • 1,843
  • 1
  • 15
  • 21
0
votes
1 answer

maven-pax-plugin: Select start level

Hey guys i believe it is a simple issue but i cant find anything: How is it possible to specify the run levels for my bundles using the maven-pax-plugin? (I call mvn pax:provision from the command line) Thank you!
hueck
  • 193
  • 3
  • 15