felix « osgi « Java Enterprise Q&A





1. Apache Felix: What are extension bundles?    stackoverflow.com

Apache Felix has the concept of an "extension bundle". This seems to be a bundle that contributes to the system bundle. There is also a special URL "felix://extensions/" being registered for ...

2. OSGi felix: Sharing a class between the host application and a bundle possible?    stackoverflow.com

Inside my host application I tried implement a simple pushService, which shall be used to transfer an instance of a class named Vehicle to the OSGi world, by providing a set and get ...

3. getting started with osgi + felix    stackoverflow.com

Which packages of Felix do I need to get started? There are a zillion of them on the downloads page. (p.s. is the name a reference to the ...

4. How do I deploy a webapp into Apache Felix?    stackoverflow.com

What bundles do I need to install? At least, this would have to be a servlet container / web server such as Jetty, but will the basic org.apache.felix.http.jetty bundle do, or ...

5. OSGi: What are the differences between Apache Felix and Apache Karaf?    stackoverflow.com

Apache Karaf is a sub project of Apache Felix. It is defined as "a lightweight OSGi container". I don't understand when should I use the heavyweight and when to use ...

6. OSGI classcast exception on felix    stackoverflow.com

i'm fairly new to osgi and am trying to get a functional proof of concept together. The setup is that my common api is created in a bundle creatively named common-api.jar with ...

7. Disabling Cache in Apache Felix    stackoverflow.com

i'm trying to follow the instructions in this thread (http://osdir.com/ml/dev-felix-apache/2009-05/msg00051.html) to disable file system bundle cache in felix. I couldn not find a concrete example online. Can somebody help me with this? ...

8. Felix doesn't like javax.script    stackoverflow.com

I'm writing an OSGI bundle using the javax.script package and am having some issues getting Felix to load the package correctly. When attempting to start the bundle, I'm getting: Failed bundle start ...

9. Change Bundle level in felix?    stackoverflow.com

I know how to set an initial bundle level, for just to be deployed bundle:

bundlelevel -i 5
But how do I change the level of an existing bundle? Help for bundlelevel says:
 ...





10. Cannot use PAX-URL's assembly protocol with auto started bundles in Felix config.properties    stackoverflow.com

I'm trying to use PAX-URL so I can have non-packed bundles assembled on the fly. If I put pax-url-assembly-1.2.1.jar in the autostart bundles, and then type

install assembly:path/to/my/folder
everything works. The trouble ...

11. Echo2 and Apache Felix    stackoverflow.com

I am trying to deploy an Echo2 Servlet Application into Apache Felix. However I need to implement some extra libraries which should be ontegrated into server. The error message is: Microsoft Windows ...

12. Apache Felix Web Management Console deploy fails    stackoverflow.com

Apache Felix Web Management Console deploy fails with Unsatisfied requirement(s). Here is the log:

$ java -jar bin/felix.jar
____________________________
Welcome to Apache Felix Gogo

g! repos list
http://incubator.apache.org/sling/obr/sling.xml
http://sling.apache.org/obr/repository.xml
http://incubator.apache.org/sling/obr/thirdparty.xml
http://felix.apache.org/obr/releases.xml
g! deploy -s "Apache Felix Web Management Console"
Unsatisfied requirement(s):
---------------------------
 ...

13. Does Eclipselink use (dynamic) bytecode weaving under Apache Felix?    stackoverflow.com

I'm using the Eclipselink bundles from Springsource (version 1.1.0) inside Apache Felix. My (JPA annotated) entity classes get persisted etc., so the basic mechanism works. However, I'm doubting that bytecode weaving ...

14. How to update Bundle in Apache Felix OSGi Framework    stackoverflow.com

I'm having troubles updating my bundle from the gogo shell. I have a gogo shell running on terminal. My bundles are active in there. Now when I make changes to the code, what ...

15. OSGi DS: Omit unbind method with Felix SCR @Reference annotation    stackoverflow.com

OSGi declarative services are explicitly allowed to have a bind method without a matching unbind method for a reference because "Once the component configuration is deactivated, SCR must discard all references ...

16. Bonjour service is published with JmDNS in Equinox but not in Apache Felix    stackoverflow.com

I'm facing a strange problem. I have created an OSGi bundle for JmDNS 3.1.6 and have successfully used that in Equinox to publish a service for almost two years now. I ...





17. How to stop a specific Apache Felix bundle using java    stackoverflow.com

I would like to know how to stop a specific bundle in the Apache Felix Web Console running only java code. For example: I want to be able to retrieve a ...

18. How to stop a bundle in Apache Felix Webconsole using code    stackoverflow.com

So I have these bundles installed and can be accessed through the gui from http://localhost/path/to/bundles. Here resides the UI where one can search through the bundles and manually shut ...

19. Having no luck with Apache Felix deploy    stackoverflow.com

I am trying to deploy a particular version of a bundle through Apache Felix's obr deploy command. I want to install version 3.1.10 of File Install, but unfortunately deploy does not understand ...

20. How much caching is built into Equinox and/or Felix resource loading from osgi bundles    stackoverflow.com

When designing business logic which loads static resources from OSGi bundles (particulary with equinox and/or felix) how much effort should be put into optimizing performance of this? Do these implementations already optimally ...