Starting Tomcat 7 as Embedded Server in OSGI Framework [message #885224] |
Tue, 12 June 2012 12:26  |
Eclipse User |
|
|
|
Hi,
as stated in some of my previous posts I am trying to find a solution for lifting my current server implementation to OSGI. I tried Virgo but due to the lack of support for PDE Bundles I am currently not able to use it. I am now thinking about going for Spring DM and an embedded Tomcat server. To be as close to the current virgo release I thought it should be a good idea to extract all relevant libs from the virgo respository. So basically I have chosen the following bundles to create a target platform:
Springframework 3.0.5
Catalina 7.0.26
Spring Osgi 1.2.1
plus all the required Bundles which I have also taken from the Virgo repository
Now I have two questions:
For Tomcat 5 and Tomcat 6 there is a catalina.start.osgi bundle that starts the tomcat server. I can't find an equivalent bundle for Tomcat 7. Needless to say that the existing catalina.start.osgi bundles do not work. So how can I start the embedded Tomcat 7. If nothing exists I could probably implement it by following this example: http://www.copperykeenclaws.com/embedding-tomcat-7/
And second: Does this approach makes sense at all? (Also having in mind that the osgi server should be used for RAP in the future.)
Thanks in advance.
Regards,
Thorsten
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05924 seconds