Help with Spring MVC application in OSGI

11 views
Skip to first unread message

venkat

unread,
Feb 5, 2013, 7:03:13 PM2/5/13
to ops4j...@googlegroups.com
I have a spring mvc application as WAR file. I want to deploy this in a OSGI container due to other requirements. I converted the WAR file to a WAB 
following the documentation in PAX Web site.  To my understanding, for the application to work inside a OSGI container, I also need to change the web.xml file 
to use OsgiBundleXmlWebApplicationContext instead of XmlWebApplicationContext. 

Is this right or is there any way to avoid the dependency on spring-osgi-core bundle completely and still make the spring mvc app work in OSGI container. 
I tried reading through the Photo Album project at http://team.ops4j.org/wiki/display/paxweb/Photo+Album+Sample+Project. Since the links
to source code is broken, I was not able to confirm this. Any help is appreciated.

Thanks for your time.

thanks,
venkat

Niclas Hedhman

unread,
Feb 6, 2013, 2:32:09 AM2/6/13
to ops4j...@googlegroups.com, svragh...@gmail.com
ops4j-infra only deals with the community infrastructure. Send your
question to ops4j@

Niclas
> --
> You received this message because you are subscribed to the Google Groups
> "OPS4J Infrastructure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ops4j-infra...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Niclas Hedhman, Software Developer
河南南路555弄15号1901室。
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/6a2pl4j
I relax here; http://tinyurl.com/2cgsug
Reply all
Reply to author
Forward
0 new messages