| HttpService workaround [message #660052] |
Wed, 16 March 2011 13:13  |
Carlos Salinas Messages: 32 Registered: March 2011 Location: Avd. de la Argentina 132,... |
Member |
|
|
HI COMMUNITY,
As i found more than one asking for a HTTPSERVICE in a Virgo Distribution. I would like to share our workaround.
Our reason is, beacuse we are developing a Web Modular Platform using Vaadin as the UI Framework. In a OSGi environment, vaadin main class(in our bundle) is launched by a vaadin library servlet, through a bridge bundle using httpservice. This bridge bundle is a official add-on propose by Vaadin Community for this kind of environment.
Well our solution was to start using Virgo Jetty Server, because there is no httpservice implementation for tomcat (Gemini Web -> Virgo web Server) and also we deployed in Pax Web version 0.8.0. This Last choice was as result that org.eclipse.equinox.http.jetty bundle is only implemented for jetty 5 or 6. Pax Web is for 7.x (The same version packacked in the Virgo Distribution)
We deployed the following bundles in the $SERVER_HOME/repository/usr and edit the initialArtifacts header in org.eclipse.virgo.kernel.userregion.properties file in $SERVER_HOME/config to enable the service in the userregion when the server starts:
pax-web-api.jar
pax-web-jetty.jar
pax-web-runtime.jar
pax-web-spi.jar
If there is any doubt id be glad to help.
|
|
|
|
|
|
|
|
| Re: HttpService workaround [message #660201 is a reply to message #660187] |
Thu, 17 March 2011 06:37  |
Chris Frost Messages: 222 Registered: January 2010 Location: Southampton, England |
Senior Member |

|
|
The Virgo Jetty Server doesn't provide a HttpService either but you can get one with Jetty 7. It is available from Maven Central at the link I provided. The Equinox Bundles are still providing a HttpService based on Jetty 6, I don't know when/if they will provide the Jetty 7 one.
------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
|
|
|
Powered by
FUDForum. Page generated in 0.02520 seconds