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 Karaca
Messages: 744
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 Furnadjiev
Messages: 1816
Registered: July 2009
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 Karaca
Messages: 744
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 Karaca
Messages: 744
Registered: July 2009
Senior Member
Sorry for the typo, Ivan!
Previous Topic:deployed war reports 404 but works in IDE
Next Topic:loadtesting RAP 1.5.0. until OutOfMemory
Goto Forum:
  


Current Time: Sun Sep 21 02:15:51 GMT 2014

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

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