This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Spring container not starting in Eclipse RCP application

May 13th, 2010, 02:51 PM

Hi all,

I've had a good search and attempted some of the suggestions but I'm still having a problem with a Spring DM bundle in an Eclipse RCP application.

Here's my situation.

I have an Eclipse RCP application.
I have an OSGi bundle with a spring sub directory in the META-INF Folder.
The spring xml file is in the the above folder.
I have the spring dm bundles in my platform configuration and I have set the extender to auto-start true.
My target platform has no unresolved errors and all plug-ins validate before start up.
The spring dm bundle is an implementation of an interface from another bundle. This implementation is the service I wish to provide as defined in the spring files.
The interface is in a separate bundle which allows my clients import this decoupling them from the implementations.

The spring container is never started up when the application starts. I have tried setting the spring dm bundle to auto-start but to no avail. The bundle does progress to the active state but the spring container is not started.

Anybody have any ideas or common troubleshooting steps for spring dm and eclipse rcp apps?