Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Context in RAP application launcher
Context in RAP application launcher [message #130737] Wed, 29 April 2009 00:45 Go to next message
Eclipse UserFriend
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 #130808 is a reply to message #130737] Wed, 29 April 2009 13:05 Go to previous messageGo to next message
Eclipse UserFriend
Setya,

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.

HTH
Rüdiger


Setya wrote:
> 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] Wed, 29 April 2009 22:42 Go to previous messageGo to next message
Eclipse UserFriend
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] Wed, 29 April 2009 23:10 Go to previous message
Eclipse UserFriend
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
Previous Topic:JFace OpenStrategy
Next Topic:Blurry images in latest firefox
Goto Forum:
  


Current Time: Tue Jul 08 05:15:27 EDT 2025

Powered by FUDForum. Page generated in 0.05507 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top