Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » [SOLVED] Running RAP 3.0 e4 Application from bndtools
[SOLVED] Running RAP 3.0 e4 Application from bndtools [message #1704197] Sat, 08 August 2015 15:13 Go to next message
Sascha Homeier is currently offline Sascha HomeierFriend
Messages: 1
Registered: August 2015
Junior Member
Hello together,

I am currently migrating my single-source e4 pde projects to bndtools.
For RCP e4 this was nearly no problem but for RAP I have some problems:

After I started the rap application the gui does not show up in the browser.
After some debugging it turned out that the RWT servlet always gets a "shutdown" header when I reload the application in the browser.
So in LifeCycleServiceHandler the isSessionShutdown returns true and server writes back an empty message.

Does anyone have a hint when and where such a "shutdown" header is triggered?

UPDATE:
Seems the behaviour above was a debugging timing issue.
Actually the header was properly filled.

I now could track down my problems to two issues:
1. The Felix Jetty Bundle 2.2.2 did not register the ressources properly (the '/' at the first position was missing). After update to 2.3.2 ressources like rap-client.js and images were properly found.

2. I simply forgot to put the swt.renderer bundle on my -runbundles descriptor Sad ... For some reasons this was not logged properly so it took me hours to catch this issue.

Anyway problem solved. RCP and RAP is now running fine on bndtools in one workspace .... jipiieeeee Wink ... though I wished that there were not so many Require-Bundle directives in Eclipse bundles Sad

Cheers
Sascha

[Updated on: Mon, 10 August 2015 05:29]

Report message to a moderator

Re: Running RAP 3.0 e4 Application from bndtools [message #1704281 is a reply to message #1704197] Mon, 10 August 2015 07:26 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
the "shutdown" message is send by the client when the HTML page with RAP
application is unloaded (browser reload F5 or load another page).
Technically it is browser "unload" event.
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP3.0: Custom widget invisible
Next Topic:Top cells of leftmost columns disappear on RAP 3.0
Goto Forum:
  


Current Time: Fri Apr 26 23:14:12 GMT 2024

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

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

Back to the top