Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsTwo RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/893908/#msg_893908
I have no problem running my RAP 1.5 application on Virgo 3.5.0_M3 thru Jetty. I may have a need to run a second RAP application (also based on 1.5) on the same kernel. Is this possible?
Thanks in advanced and I apologize if I am asking the obvious.
Ronald]]>Ronald So2012-07-05T23:15:44-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/893974/#msg_893974
how do you deploy your RAP application?
What flavour of Virgo do you use?
* Virgo Jetty Server with WAB bundles?
* Virgo Kernel with HttpService from Jetty and plain OSGi bundles?
I have seen multiple RAP applications running on Virgo Server for Apache Tomcat 3.0.2.RELEASE. The RAP applications were bundled as WABs and installed as part of a plan. RAP and it's dependencies are installed as part of an initial artifact.
Side note: Since some iterations RAP got rid of it's singletons which would have prevented such a deployment.
I do not expect trouble with Virgo 3.5.0.x. I'll try to run the above mentioned RAP applications on Virgo 3.5.0.RC1.
Hope this helps,
Florian
]]>Florian Waibel2012-07-06T09:38:42-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/894103/#msg_894103
We are using Virgo Kernel with HttpService from Jetty and plain OSGi bundles. Right now we have all the RAP bundles in the PLAN file but we realize that we should really call out the RAP stuff and put them in an initial artifact. We are setting the port number in startup.sh (-Dorg.osgi.service.http.port=8080) but I think we should put this setting in a properties file under "lib" called "org.eclipse.virgo.kernel.launch.properties", right?
I was wondering if I can have two RAP applications that use different port numbers. But with the current setup, it seems that I can only set the port number in that properties file under "lib" and I am stuck.
Can you shed some lights on the first option you mention above by using WAB bundles?
Thanks so much for your help.
Ronald]]>Ronald So2012-07-06T16:22:01-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/894133/#msg_894133
It is possible to run multiple HttpServices on different ports but I personally think it would be easier to register different EntryPoints at different servlet paths on the same HttpService than hosting multiple HttpServices with one application each.
That's the same result as you would get with with one standalone servlet container and two war artifacts.
Regarding the WAB bundles: Maybe you can have a look at GitHUB github.com/fappel/RWT_SPRING
Hope this helps,
Florian
Here is a discussion about multiple HttpServices in the context of RAP. https://bugs.eclipse.org/bugs/show_bug.cgi?id=241210]]>Florian Waibel2012-07-06T20:32:30-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/894135/#msg_894135
Sorry this thread is moving slowly into RAP discussion, which I have also posted in the RAP forum. It is just not clear in my mind how I should pursue this two application approach, or just try to figure out how to host two distinct applications in Virgo.
]]>Ronald So2012-07-06T20:48:33-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/894423/#msg_894423
https://bugs.eclipse.org/bugs/show_bug.cgi?id=377414)
Hope this helps,
Florian
]]>Florian Waibel2012-07-09T07:57:09-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/894667/#msg_894667
Ronald]]>Ronald So2012-07-10T04:42:52-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/898771/#msg_898771
I want to thank you for the tutorial on RWT/Virgo, I followed it and easily succeed .
For information, it also works with Virgo 3.5.0.RELEASE (but you have to put the http-service port on configuration/config.ini instead of the missing old launch config).
I'm a RAP beginner, so I wanted to ask you some questions:
* I wanted to know if it's also possible to integrate RAP ui & JFace (in Virgo) as easily as RWT?
* Also is server push (RAP way) is supported?
* How can I do to mimic extensions point (located in plugins.xml with equinox) with Virgo? I think this has to be done with an OSGI services (for example with spring-dm) but I'm not sure.
* Finally, what's the best way to make a dynamic RAP application (as you can do with snaps), is it possible without a 'super app' depending on all the RAP parts?
My best, Charlie
]]>Charlie Mordant2012-07-27T13:58:00-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/899255/#msg_899255
Q: I wanted to know if it's also possible to integrate RAP ui & JFace (in Virgo) as easily as RWT?
A: Never tried the UICallback in a Virgo. I'll try to put a sample together in the next days.
Q: How can I do to mimic extensions point (located in plugins.xml with equinox) with Virgo? I think this has to be done with an OSGI services (for example with spring-dm) but I'm not sure.
Q: Finally, what's the best way to make a dynamic RAP application (as you can do with snaps), is it possible without a 'super app' depending on all the RAP parts?
Hope this helps,
Florian]]>Florian Waibel2012-07-31T08:51:09-00:00Re: Two RAP application in the SAME Virgo kernel
https://www.eclipse.org/forums/index.php/mv/msg/366974/909260/#msg_909260
I'm sorry Florian, I had'nt saw your answer.
Thank you for your answers, you're a man .
I tried to integrate JFace Databinding with Virgo (with osgi http services), but it complains about null realms. I think i've to deal with clustered web.xml conf :S.
Concerning the other points, (jface without db, asynccall, dynamic app...), I will test this once I will resolve the issue for sure