Needs help on migration from spring-dm to gemini blueprint [message #1793389] |
Tue, 07 August 2018 06:11  |
Eclipse User |
|
|
|
Hi All,
I was using KARAF 4.0.10 which installs spring 3.1.4 as boot feature. We were using spring for web module (spring-mvc) with spring-dm (spring-osgi-web).
Here is my example web.xml.
That is my web.xml Mvc Servlet
<context-param>
<param-name>contextClass</param-name>
<param-value>org.springframework.osgi.web.context.support.osgibundlexmlwebapplicationcontext</param-value>
</context-param>
<servlet>
<servlet-name>javorai-api</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextClass</param-name>
<param-value>org.springframework.osgi.web.context.support.osgibundlexmlwebapplicationcontext</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
As we upgraded KARAF to 4.2.0, spring is upgraded to 5.0.4 and spring-dm does not support it anymore. it is deprecated now. based on internet search, I found the suggestion to move on to gemini blueprint as replacement of spring-dm. I have downloaded gemini-blueprint/IO, Core and extender module by configuring it as maven dependency.
Can you please guide on what should be changed in web.xml to move on to gemini blueprint as replacement of spring-dm?
Regards
Munish
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03603 seconds