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
0 answers
Switching from Spring-DM to Blueprint: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'
We have an application, and upgraded from Apache's Servicemix 4.5.3 to Servicemix 6.1.0. We also upgraded from Apache Commons dbcp to dbcp2 and pool2. One thing I noticed after this upgrade, was that bundle start-up and shutdown was very, very…

Frank Joppe
- 151
- 7
1
vote
1 answer
How to achieve bean Inheritance in apache aries blueprint
Currently we are migrating our application from Spring-DM to Aries Blueprint. Need a way to use the bean inheritance. I read that the parent attribute is not supported in blueprint.

Venkat
- 314
- 3
- 10
1
vote
2 answers
Migrating from Spring monolith application to OSGI
We have been building two suites of applications for the last 10 years using Spring as our dependency injection. We also use spring-batch and spring-amqp. We are now looking to move to OSGI so that our monolithic applications can be separated into…

Josh Chappelle
- 1,558
- 2
- 15
- 37
1
vote
2 answers
Using Embedded Felix in Application Container or Application Container Bundle in Karaf and is OSGi a complete IoC container?
Imagine you want to have a highly modular web application in Java. Components are already using Spring framework also. Some components cover only pure Logic and some others also come with some presentation GUIs in HTML. The application is not…

Sani.am
- 135
- 2
- 6
1
vote
1 answer
Loading spring dm in OSGi container
I am trying to load spring dm in my OSGi bundle. I have followed a tutorial. My aim is, for a particular URL, the URL should be processed by spring instead of default sling servlet. I am partly successful in achieving the same.
Sometimes, It doesn't…

Prashant Onkar
- 414
- 3
- 15
1
vote
2 answers
Where can I download the Spring DM jar files?
Actually I was reading about Spring Dynamic Modules and OSGi. All of them referenced the URL http://www.springsource.org/osgi for downloading the related libraries and jar files.
As you can verify, everytime I click on this url, it gives me the…

STaefi
- 4,297
- 1
- 25
- 43
1
vote
1 answer
Deadlock happens when importing an osgi service using Spring-DM
This question is related to a deadlock that happens (at times as described below) when importing an osgi service using spring-dm.
I have recently come across this issue in Spring-DM's ServiceDynamicInterceptor class that leads to a dead lock…

Chandana Kithalagama
- 143
- 2
- 10
1
vote
0 answers
One OSGi Bundle Loading CamelContext From Another Bundle
I have several OSGi bundles (say A, B and C). Each of these bundles has its own Camel routes defined using Spring DM XML file.
I'd like to monitor each route by adding a wiretap at the beginning of each route. For example, the wiretaps would send…

David Phan
- 61
- 3
1
vote
1 answer
Getting java.lang.ClassNotFoundException: org.eclipse.jetty.servlet.listener.IntrospectorCleaner
I'm using Jetty as an embedded web server within OSGi and spring-dm environment. All my bundles and war files are deployed successfully. However I'm observing the following warning in my logs:
2015-03-25…

geekprogrammer
- 1,108
- 1
- 13
- 39
1
vote
1 answer
OSGi Service references not working with constructor injection
I've got a bundle (A) that exports a Hibernate transaction manager as an OSGi service, with a service interface of PlatformTransactionManager.
In another bundle (B) I define a reference to that OSGi service. Bundle B defines a bean, ReservationDao,…

Jeff
- 3,669
- 1
- 23
- 33
1
vote
1 answer
Where can I find latest Spring DM Maven archetype?
Last night I tried to create new spring-osgi-bundle-archetype.
At first I found out that 1.2.1 was provided with Spring 2.5.x. After creation I tried to compile an empty project. The process ended with error that log4j.osgi could not been found.
My…

Valters Rostoks
- 95
- 1
- 5
1
vote
1 answer
OSGi - How to get OSGI service from Spring-DM?
How to get OSGI service from Spring-DM?
like, Spring Bean..
ApplicationContext.getBean(id)...

usobject
- 45
- 3
1
vote
2 answers
camel bean method parameter conversion
I am creating a camel route, the first steps are ok but i have trouble calling the method of another osgi bundle i made.
My service expect a Long value in parameter and my pojo had only this id.
My Service :
public interface FooService {
void…

Ceddoc
- 243
- 3
- 14
1
vote
1 answer
Why using Spring DM?
1/ did Spring DM is very used now on Enterprise Applications ? what are the benefits of this framework and why it seem like a dead technology
2/ I'm working on a Spring Application , I want to do it as an SOA and i don't know if spring DM will be…

user3545732
- 31
- 3
1
vote
1 answer
Modular Spring MVC application
I want to develop modular Spring MVC application with core services and utils and modular controllers-services stack.
Which OSGi framework should I use? I found Spring Dynamic Modules, which is well documented, but this is dead project and I didn't…

matejuh
- 396
- 4
- 13