Questions tagged [osgi-bundle]

OSGi - modularity layer for Java platform.

The OSGi bundle as a unit of modularization that is comprised of Java classes and other resources which together can provide functions to end users.

In other words it is a Java Archive File that contains Java code, resources, and a manifest that describes the bundle and it's dependencies.

Each bundle is a tightly coupled, dynamically loadable collection of classes, jars, and configuration files that explicitly declare their external dependencies (if any).

The bundle is the unit of deployment for an application.

961 questions
-1
votes
1 answer

Custom user store manager class not showing in user store drop down

i am writing a custom user store manager by extending JDBCUserStoreManager and place my jar to WSO2 dropins directory my user store is successfully initialize but custom user store is not available on user store drop down menu i am following this…
-1
votes
1 answer

cannot find symbol @Activate Error in OSGI class compilation

I am trying to write an OSGI class which should populate the configuration dialog in Felix console, my Service implementation as shown below. but when i try to run mvn clean install -PautoInstallPackage am getting the below error. any help is…
krish
  • 469
  • 1
  • 15
  • 34
-1
votes
1 answer

bundles get installed on both Karaf instances

I want to make a "communication" between two Karaf instances and I decided to use Karaf Cellar in order to do that. I, now, have two bundles each one is installed on a Karaf container. They are identified by an address and port provided in…
-1
votes
2 answers

How Jsp will recognize will bundle to refer of same name but different version in cq5 or osgi?

As it is mentioned we can install multiple bundles of different versions in OSGI. SO if I have two versions of my Bundle and both are active . How will my jsp recognize which bundle has to refer ?
user2142786
  • 1,484
  • 9
  • 41
  • 74
-1
votes
1 answer

Unable to start OSGI framework on eclipse or after converting to jar

Iam developing an OSGI equinox launcher which should start the OSGI framework and equinox console.I have added the five jars in a folder called as plugin as a part of the classpath/buildpath but still iam unable to execute. Below is the command…
chetan
  • 55
  • 10
-1
votes
2 answers

OSGI vs Maven which is better packaging tool

We have a very big web application containing many features.Now for maintainability we want to split the application in components so that can remove / add particular components (jars). For that one suggestion is coming is to use OSGI. I think…
Shailesh
  • 405
  • 1
  • 5
  • 18
-1
votes
1 answer

How to implement an OSGi-Listener that supervises all traffic between bundles

in our current osgi-project we'd like to enable third party developers to write their own bundles and register them as osgi-services. We'd like to let all traffic bypass a central bundle that checks authorisation, security, permissions... Our first…
thomas
  • 115
  • 1
  • 7
-1
votes
1 answer

Interact with bundle in Apache Felix

I made a program that offers a CLI where you can type a number and calculate the square root of the number typed. I built a bundle starting from this simple application and installed on Apache Felix. The problem is that I can't interact with it…
Francesco
  • 99
  • 4
-1
votes
1 answer

Is that possible to create a Eclipse plug-in UI (just like a button/menu in Eclipse) to trigger a OSGi platform?

My Problem is ..... I have a OSGi Software and I try to combine into Eclipse as a plug-in. Is that possible to create a Eclipse plug-in UI (just like a button/menu in Eclipse) to trigger a OSGi platform? Thanks.
Smomo
  • 1
  • 1
-1
votes
2 answers

OSGi public bundlecontext

Is it dangerous to change the bundlecontext of a bundle to public? The reason why I would like to do is, is to access the Context from a different package. Of course a workaround would be to pass the context as a parameter when instantiate an…
0xAffe
  • 1,156
  • 1
  • 13
  • 29
-1
votes
1 answer

Integrate Apache Felix in Websphere v8.5

We have a requirement to integrate Apache Felix as a the osgi container in Websphere v85 and deploy web applications (.war). Appreciate your help in suggesting documentation/reference to this. Thanks
Sandeep
  • 586
  • 2
  • 6
  • 17
-1
votes
2 answers

Service and Component in OSGI

I have some little silly doubts in an OSGI concepts but they need to be clarified to have better understanding of concepts. Can anybody tell me what is the difference between OSGI Service and Component. What i know is that Service is like an…
-2
votes
2 answers

Why third party dependency is required exclusively from OSGi container even if I have it in my maven dependencies?

I want to know why OSGi do not respect the maven dependenceis. I want to create one app in OSGi(AEM). I want to communicate(CRUD) to the database with the help of JPA(eclipselink). I created maven project with aem-archetype. Added all required…
anubhs
  • 566
  • 1
  • 8
  • 26
-2
votes
1 answer

java8_OSGI: NoClassDefFoundError: javafx/collections/MapChangeListener

I just started to develop on OSGI, on Eclipse Kura project and I tried to implement a hashmap Listener: // Use Java Collections to create the List. Map map = new HashMap(); // Now add observability by wrapping it with…
Ahmed Garssallaoui
  • 167
  • 1
  • 3
  • 10
-2
votes
1 answer

Adobe Experience Manager 6.1 AEM 6.1 AEM 6.2 customize page content

I want to create a page template might be used in multiple sites. what I am currently doing is like this