Questions tagged [springsource-dm-server]
29 questions
5
votes
3 answers
Can't find service because OSGi bundle isn't activated
I'm having a problem discovering services that are provided by some OSGi bundles that are not being activated. Let me describe the situation:
Bundle A defines interface X
Bundles B, C, and D provide services that implement interface X
These…

Paul Schifferer
- 509
- 4
- 17
3
votes
1 answer
A fragment bundle cannot be started: initial@reference:file:com.springsource.org.apache.jasper-6.0.18.jar
I am developing a sping dynamic modules on Equinox. However when I run Equinox I have several bundles in RESOLVED state. One of these is com.springsource.org.apache.jasper-6.0.18.jar. Then, when I try to start it Equinox returns an error as:
A…

Jose Hdez
- 2,297
- 7
- 38
- 52
3
votes
1 answer
Access application context from BundleContextAware class
I have created an osgi bundle from an existing legacy war. The app has a class that implements the spring interface ApplicationContextAware, it then uses the context to programmatically get beans (not sure why but this needs refactoring…

Baz R
- 97
- 1
- 1
- 11
3
votes
1 answer
deploying osgi war bundle
I have deployed a standard war file as an osgi bundle into equinox using bnd to create a war bundle. Whilst it deploys ok and I can run the app, I cannot see any images or css files. I have deployed catalina-start as an osgi bundle and am using…

Barry
- 81
- 1
- 5
3
votes
1 answer
Unable to setup broker-bean for ActiveMQ
I've been having problems configuring an ActiveMQ broker through an xBean-parsed external XML file. At this point, ANY help, tips, pointers, hints or even cheering-up are appreciated. Here's my issue:
I'm trying to use an external .xml file to…

Eduardo Z.
- 633
- 3
- 10
- 32
3
votes
2 answers
Integrate Eclipse RAP and OSGI/Spring-DM plugins, using Maven for build
The background
I have a project containing my domain model and persistence code (created using Spring-ROO). I've changed this into an OSGi bundle, and build & deploy it using Maven (via PAX Construct scripts). This bundle deploys nicely to Equinox,…

Herman Lintvelt
- 1,791
- 1
- 12
- 14
2
votes
1 answer
Eclipse ECF Vs Apache CXF
I'm trying to come up with an architecture which allows me to have OSGi bundles distributed remotely which get discovered dynamically etc.
After some time spent looking at what's out there I am oriented at using the following:
Apache CXF (as OSGi…

Tarelli
- 634
- 7
- 18
2
votes
1 answer
Swing App with Spring DM startup problem
I'm starting an OSGI Spring DM based Swing application. The app should start and show up when the bundle is loaded. I know that this can be achieved with an activator class configured by manifest.mf file.
My problem: How can I inject bean…

Sven
- 166
- 4
2
votes
1 answer
Using JAXB inside a Confluence Plugin
I have a Confluence plugin I am working on that contains a series of classes that use JAXB. When the plugin runs I get the following runtime-exception:
[INFO] [talledLocalContainer] javax.xml.bind.JAXBException: Provider…

ra9r
- 4,528
- 4
- 42
- 52
2
votes
1 answer
Spring WS Osgi samples
We are currently researching OSGI at work and I need to provide a proof of concept on its use with spring dm and spring-ws in the appropriate application server(tomcat / jetty).Does anyone have a example or a tutorial or any links that can help in…

Garth
- 1,406
- 2
- 9
- 9
2
votes
2 answers
Can not find Driver when using generic database bundle
I have a project that is build up from several OSGi bundles. One of them is a generic Database bundle that defines a DataSource that can be used throughout the project. The spring bean definition of this service is:

Marc
- 3,550
- 22
- 28
2
votes
1 answer
OSGI + Spring-DM cross-bundle dependency deadlock
As the title suggests, I'm having problems with OSGI + Spring DM.
In my project design, i have a bundle A that requires a service svB and exports service svA. Bundle B requires svA and exports svB (among other things, of course). This seems to be…

Eduardo Z.
- 633
- 3
- 10
- 32
1
vote
1 answer
Using ServiceReference objects in Spring DM
I'm currently porting a very nice demo of a modular web interface using OSGi and Vaadin from 'standard OSGi' to use Spring DM.
One OSGi configuration file listed:

nielsn
- 87
- 1
- 8
1
vote
4 answers
Osgi getService()
In our project (Osgi, Spring-Dm, Apache-Felix) we are having some issue on production when BundleContext.getService() return null.
It happens very seldom, and not at the start, so it's not a misconfiguration problem.
An alternative could be using…

Uberto
- 2,712
- 3
- 25
- 27
1
vote
1 answer
How to get Spring Dynamic Modules 2.x to work on Apache Felix Karaf?
We started using Apache Felix Karaf for a project, and make use of Blueprint Services.
Now, I would like to use Spring Dynamic Modules in order to have access to advanced DI functionality and testing features. The problem is that I haven't been able…

Manuel Bernhardt
- 3,135
- 2
- 29
- 36