Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Context in RAP application launcher
Context in RAP application launcher [message #130737] Wed, 29 April 2009 04:45 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 17:05 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
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] Thu, 30 April 2009 02:42 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 May 07 01:43:31 GMT 2024

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

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

Back to the top