Skip to main content



      Home
Home » Eclipse Projects » Virgo » Spring MVC with blueprint
Spring MVC with blueprint [message #989515] Thu, 06 December 2012 10:04 Go to next message
Eclipse UserFriend
I have an example WAB using Spring MVC and I want to use blueprint configuration (instead of SpringDM) to reference the OSGi services used.
So when the bundle is configured as shown in the greenpages example (applicationContext.xml with SpringDM syntax to reference services and setup spring security and hellomvc-servlet.xml to configure MVC) everything works fine.
Then I take the OSGi references in a blueprint configuration in OSGI-INF/blueprint and add the Bundle-Blueprint path in the manifest and although according to the log the blueprint config is processed and the beans are created, the AuthenticationManager bean (referenced as a service in the blueprint) cannot be then found to be injected in the http security configuration (defined in the applicationContext.xml).
Shouldn't this setup be working? I attach all configuration files and the Virgo log.
  • Attachment: helloMVC.zip
    (Size: 38.25KB, Downloaded 398 times)

[Updated on: Thu, 06 December 2012 10:05] by Moderator

Re: Spring MVC with blueprint [message #1155801 is a reply to message #989515] Sat, 26 October 2013 00:51 Go to previous message
Eclipse UserFriend
Hi Grigoropoulos, I got the same issue, could you let me know if you have resolved this issue?
Previous Topic:Deployment of Virgo runtime dependencies: Maven-based builds without Eclipse IDE
Next Topic:Maven - compiling against Equinox in Virgo 3.6.2.RELEASE
Goto Forum:
  


Current Time: Thu Jul 24 19:36:21 EDT 2025

Powered by FUDForum. Page generated in 0.03947 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top