RAP in a servlet container [message #8118] |
Wed, 14 March 2007 19:32  |
Eclipse User |
|
|
|
Originally posted by: webmaster.playershouse.com
Hello,
I have a problem getting Your Demo RAP work in a servlet container. I used
the bridge.war archive as explained on the equinox server page and copied
all plugins needed by RAP into its plugin folder. Is there anything else I
have to do. Maybe some configuration. It doesn't work when I call
http://localhost:8080/bridge/rap. The command
http://localhost:8080/bridge/sp_test works as described. It also work in
eclipse using the launch configuration.
Any Ideas?
A wiki or a short list of steps from the sample bridge.war to Your running
Demo RAP might be helpful.
Thanks for Your efford,
Markus Krüger
|
|
|
|
|
|
|
|
|
|
|
|
Re: RAP in a servlet container [message #16208 is a reply to message #16195] |
Wed, 11 April 2007 09:05   |
Eclipse User |
|
|
|
Originally posted by: roberto.sanchez.autonomind.com
Hi Markus, I'm not sure of this (I still haven't tried it), but when
Eclipse launch a RAP app in fact It is launched a java program in
console mode, you can see the command line, in [Properties] option from
[Debug] view, you will see something like this:
"C:\Archivos de programa\Java\jdk1.5.0_06\bin\javaw.exe"
-Dorg.osgi.service.http.port=8080 -classpath C:\Java\eclipse\startup.jar
-agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:2754
org.eclipse.core.launcher.Main -dev
" file:C:/Java/workspace/.metadata/.plugins/org.eclipse.pde.co re/RAP
MindPortal/dev.properties" -configuration
" file:C:/Java/workspace/.metadata/.plugins/org.eclipse.pde.co re/RAP
MindPortal/" -os win32 -ws win32 -arch x86 -console
Of course, you need all Eclipse plugins and jars necessary for RAP
environtment in your linux server and It's possible that you need a
Virtual X-Window like Xvfb.
It's only an idea
Regards.
Roberto.
Markus Krüger wrote:
> Is there another way starting RAP on a linux server without a gui that I can
> use as workaround for now?
>
> Markus
>
> "Ralf Sternberg" <rsternberg@innoopract.com> schrieb im Newsbeitrag
> news:evi5n0$ca3$1@build.eclipse.org...
>> Hi Markus,
>>
>> Markus Krüger schrieb:
>>> @team of RAP: Is there any work done yet so that it will still be fixed
>>> till mid april latest?
>>
>> Mid April == end of this week. Honestly, I don't think that this is
>> realistically possible for us. We'll look into this as soon as possible
>> but we just don't have the capacity at the moment.
>>
>> Ralf
>
>
|
|
|
Re: RAP in a servlet container [message #16221 is a reply to message #16208] |
Wed, 11 April 2007 14:27   |
Eclipse User |
|
|
|
Hi Markus:
I don´t understand well what you mean with a Linux server, if you only
need to launch the application in a certain machine and not inside any
concrete application server you can launch an osgi instance with the
adecuate bundles (plugins) (this is what Roberto´s code and rap´s
eclipse configuration do) and use for the moment the embedded jetty that
RAP brings, all running in your linux server in console mode.
I´ve done it without problems, you only need all RAP plugins (and your
application plugin dependences) and equinox.jar (the osgi
implementation) after you can start the osgi instance by calling:
java -jar [path-to] equinox.jar -console
After that you can install and start all required bundles (plugins)
using the osgi comands and when all bundles are started your application
will be up and running.
If you want your app running in a certain application server i can´t
help you :(
Regards, Raul
Roberto escribió:
> Hi Markus, I'm not sure of this (I still haven't tried it), but when
> Eclipse launch a RAP app in fact It is launched a java program in
> console mode, you can see the command line, in [Properties] option from
> [Debug] view, you will see something like this:
>
>
> "C:\Archivos de programa\Java\jdk1.5.0_06\bin\javaw.exe"
> -Dorg.osgi.service.http.port=8080 -classpath C:\Java\eclipse\startup.jar
> -agentlib:jdwp=transport=dt_socket,suspend=y,address=localho st:2754
> org.eclipse.core.launcher.Main -dev
> " file:C:/Java/workspace/.metadata/.plugins/org.eclipse.pde.co re/RAP
> MindPortal/dev.properties" -configuration
> " file:C:/Java/workspace/.metadata/.plugins/org.eclipse.pde.co re/RAP
> MindPortal/" -os win32 -ws win32 -arch x86 -console
>
>
> Of course, you need all Eclipse plugins and jars necessary for RAP
> environtment in your linux server and It's possible that you need a
> Virtual X-Window like Xvfb.
>
> It's only an idea
>
> Regards.
> Roberto.
>
>
>
> Markus Krüger wrote:
>> Is there another way starting RAP on a linux server without a gui that
>> I can use as workaround for now?
>>
>> Markus
>>
>> "Ralf Sternberg" <rsternberg@innoopract.com> schrieb im Newsbeitrag
>> news:evi5n0$ca3$1@build.eclipse.org...
>>> Hi Markus,
>>>
>>> Markus Krüger schrieb:
>>>> @team of RAP: Is there any work done yet so that it will still be
>>>> fixed till mid april latest?
>>>
>>> Mid April == end of this week. Honestly, I don't think that this is
>>> realistically possible for us. We'll look into this as soon as
>>> possible but we just don't have the capacity at the moment.
>>>
>>> Ralf
>>
>>
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: RAP in a servlet container [message #19606 is a reply to message #19516] |
Fri, 20 April 2007 09:45  |
Eclipse User |
|
|
|
Originally posted by: rhernandez_64.hotmail.com
I use rap.psf and add org.eclipse.rap.demo.feature, every thing is OK the
import download the plugins but in the root of org.eclipse.rap.feature
doesnt appear the deploy tutorial
regards
|
|
|
Powered by
FUDForum. Page generated in 0.04599 seconds