The Spring Dynamic Modules for OSGi(tm) Service Platforms project makes it easy to build Spring applications that run in an OSGi framework
Questions tagged [spring-dm]
86 questions
1
vote
1 answer
OSGi Fragment using Spring Integration Testing
I am posting this question given I haven't found any relevant answer so far.
I could not figure out how to run integration tests using Spring-Dynamic Modules.
Problem Definition
Template Application
One OSGi bundle containing the business logic.…

Jérémie
- 557
- 4
- 15
1
vote
1 answer
Osgi Spring DM - Retrieve all beans by Bundle
Using Eclipse Virgo i have a Bundle with a bean that implements BundleContextAware, i add a addBundleListener and receive the events correctly when a Bundle is started or stoped, thats OK. and have a bundle installed by the bundleChanged event.
Now,…

jrey
- 2,163
- 1
- 32
- 48
1
vote
1 answer
Virgo Osgi Web Bundle - Web-Fragment
My problem is web-fragment bundle is not working.
I have two projects:
One where I create a web bundle with Virgo Server with this manifest.mf:
Manifest-Version: 1.0
Bnd-LastModified: 1381358185168
Build-Jdk: 1.6.0_37
Built-By:…

jrey
- 2,163
- 1
- 32
- 48
1
vote
1 answer
Find annotated classes inside OSGi bundle with Spring?
i want to find all classes annotated with my custom annotation inside OSGi bundle,
actual scanning must take place inside the bundle itself, or from another bundle,
i have tried using ClassPathScanningCandidateComponentProvider, but it causes…

sv13
- 176
- 3
- 13
1
vote
0 answers
Register a OSGI service and get that OSGI service refrence using WSO2 Product
Actually i want to migrate my application from FUSE ESB to WSO2esb.
In my FUSE application, i have created a OSGI bundle for Logger and register Logger service in OSGI registry.Other OSGI bundle can get that OSGI service through reference of it.
I…

Tejas Patel
- 89
- 4
- 16
1
vote
1 answer
Dispatch/forward to a servlet that serves static content from a different bundle
As a developer completely new to Spring and OSGi, and returning to Tomcat after a long time, I don't even know if I can ask this question properly. But I hope someone will be able to understand where I am stuck and how I should proceed.
The setup…

Miserable Variable
- 28,432
- 15
- 72
- 133
1
vote
1 answer
Issue with Spring-DM OSGI Service and @Autowired
I am facing an issue with Spring-DM and @Autowired with Osgi Services.
I have defined a Spring bean + OSGI Service as following:

kthackray
- 21
- 3
1
vote
3 answers
How to get osgi service by id with Spring?
Spring noob here.
I have an osgi service defined as follows in one of my bundles:
I know I can access it from another bundle via the…

JohnIdol
- 48,899
- 61
- 158
- 242
1
vote
2 answers
Opening a file during OSGi bundle activation
I have defined an OSGi bundle (cluster_implementation) with a Declarative Service (DS) component definition, specifying one service exported, one activate method and one deactivate method.
In the body of the Activate method i need to access one file…

Giovanni Meo
- 35
- 4
1
vote
0 answers
Unable to deploy simple web bundle using Spring DM on glassfish 3.1
I am new to OSGI and Spring DM. I am trying to deploy a simple Hello World wen application as war on Glassfish 3.1
but facing some serios issues.
I have 3 non-web OSGI bundles:
1. helloworld-model.jar
2. helloworld-service.jar
3.…

user1548485
- 11
- 2
1
vote
0 answers
Using resources from different bundle
I have problems with loading files in SpringDM on Virgo. The reason is of course me, I am doing something wrong.
This is the situation:
bundleA contains a class to perform some generic initialization (fill tables with data from a generic…

Jan
- 356
- 1
- 2
- 9
1
vote
1 answer
Spring MVC and dynamic module deploy
I completed a new MVC web application and my boss asked me to create a new version for a new custumer. Same web application but differente CSS and two new modules (for module I mean a new page used by user to interact with DB). It's not a big deal…

Andrea Girardi
- 4,337
- 13
- 69
- 98
0
votes
1 answer
OSGI service binder in Eclipse Virgo
In order to manage dynamic dependencies between OSGI services, the service binder bundle was introduced here. This service controls the availability of required services in the OSGI platform and establishes the bindings between services following…

Houcem Berrayana
- 3,052
- 22
- 40
0
votes
1 answer
OSGi using SpringDM on Virgo, running from Eclipse, MAC vs Windows development
This question is more of type "has anyone experienced something similar before and if so, what was the issue?".
At work I use an iMac to do my daily programming. After some initial (and still occasional) struggles, I got my project running on Virgo…

Jan
- 356
- 1
- 2
- 9
0
votes
1 answer
Spring DM and Services registry
I'm learning Spring DM and I have a problem with Service registry. I'm using ServiceMix 4.3.0 with embedded Felix instance. I have 2 bundles in my project.
The first one contains interface, and mock implementation. I want to publish them to OSGi…

Sebastian Łaskawiec
- 2,667
- 15
- 33