War not "Spring Powered" despite using lots of spring [message #1030169] |
Sat, 30 March 2013 20:02 |
Daniel McGreal Messages: 27 Registered: April 2012 |
Junior Member |
|
|
Hi, I've upgraded Virgo 3.5's Spring to 3.1.3.RELEASE but I don't know if that upgrade is relevant to this problem.
I've built a war which seems to work fine, with Spring - however, it's marked as "Spring Powered: No" in the admin console. I've only noticed this because I came to investigate if a bean I was making was actually being created. By this stage though, I've used a whole bunch of spring things successfully, including Spring Security, Spring Social, Spring JPA, Spring MVC... etc.
The configuration files involved are quite large so I can't really attach them. However, previously, I've noticed some of the following configurations have prevented bundles from utilising Spring.
Manifest:
Import-Library: org.springframework.spring;version="[3.0, 3.2)"
Import-Package: org.eclipse.virgo.web.dm;version="[2.0.0,3.6.0)"
Bundle-ClassPath: .,WEB-INF/classes
Web.xml:
<!-- Creates the Spring Container shared by all Servlets and Filters -->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:META-INF/spring/applicationContext*.xml</param-value>
</context-param>
So the question is, what else does the "Spring Powered" detection rely on?
Thanks, Dan.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03853 seconds