Context in RAP application launcher [message #130737] |
Wed, 29 April 2009 04:45 |
|
Hi,
When deploying RAP application as war I can access a servlet using
<warname>/<servletalias> while using RAP launcher during development the
servlet can be accessed using /<servletalias>, this way I have to change
the URL between development & production, is it possible to specify the
context in RAP Launcher ?
Regards,
Setya
|
|
|
|
Re: Context in RAP application launcher [message #130844 is a reply to message #130808] |
Thu, 30 April 2009 02:42 |
|
Rudiger,
> the RAP launcher uses the Jetty based HttpService. Without having tried
> that myself, you might be able to specify the context path
> via the -Dorg.eclipse.equinox.http.jetty.context.path=<path> VM argument.
Thank you for your information.
I'll try it and will come back with the result.
Regards,
Setya
|
|
|
Re: Context in RAP application launcher [message #130857 is a reply to message #130844] |
Thu, 30 April 2009 03:10 |
|
Hi all,
>> the RAP launcher uses the Jetty based HttpService. Without having
>> tried that myself, you might be able to specify the context path
>> via the -Dorg.eclipse.equinox.http.jetty.context.path=<path> VM argument.
It works nicely. But I also have to adjust entry in RAP Launcher -> Main
-> Servlet Name from /<servletalias> to /<warname>/<servletalias>.
Best Regards,
Setya
|
|
|
Powered by
FUDForum. Page generated in 5.04720 seconds