Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » determine whether the RAP application is running from the IDE or from a JEE container
determine whether the RAP application is running from the IDE or from a JEE container [message #1022246] Thu, 21 March 2013 14:38 Go to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 836
Registered: July 2009
Senior Member
Hi all,
How to determine whether the RAP application is running from the IDE or a JEE container (Tomcat)?

Thanks!
Re: determine whether the RAP application is running from the IDE or from a JEE container [message #1022266 is a reply to message #1022246] Thu, 21 March 2013 15:17 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2226
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
there should be no difference. Why do you need this? If you want to make
the launch URL the same, set the context path in your launch
configuration. Thus, in both places you will start your application from
http://<host>:<port>/<context path>/<servlet path>.
Best,
Ivan

On 3/21/2013 4:38 PM, Erdal Karaca wrote:
> Hi all,
> How to determine whether the RAP application is running from the IDE
> or a JEE container (Tomcat)?
>
> Thanks!

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: determine whether the RAP application is running from the IDE or from a JEE container [message #1022339 is a reply to message #1022266] Thu, 21 March 2013 17:49 Go to previous messageGo to next message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 836
Registered: July 2009
Senior Member
Thanks, Ivam, setting the context path worked!
Re: determine whether the RAP application is running from the IDE or from a JEE container [message #1022341 is a reply to message #1022339] Thu, 21 March 2013 17:50 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 836
Registered: July 2009
Senior Member
Sorry for the typo, Ivan!
Previous Topic:RAP ApplicationConfiguration and automed WorkbenchApplicationConfigurator
Next Topic:RAP 2.1 M1 is available
Goto Forum:
  


Current Time: Sat Sep 23 18:25:13 GMT 2017

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

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