RAP 1.5 stops preparing workbench [message #891830] |
Tue, 26 June 2012 07:55 |
mcoss Missing name Messages: 7 Registered: November 2011 |
Junior Member |
|
|
I am sucessfully using the maildemo application as my application base, for some time now, thanks to the community .
My application did not work anymore, textfield bug under RAP 1.4, hence I did an upgrade to 1.5 RC3, which fixed this first bug.
The problem:
The former running application simply stops building its workbench right after I called the URL sometimes. Then I see the startup screen, including the by myself implemented login prompt, but nothing else. In these cases I have to restart the RAP application, running under tomcat 1.5 and java 1.6, afterwards everything is working again, but will be broken again.
This seems to be no operating system bug, as I saw this under Windows 7 and Linux, but a session related problem. I am sorry, I do not have any stack trace. Does anybody know something more? Seems to be a bug for RAP 1.5 RC+.
|
|
|
|
|
|
Re: RAP 1.5 stops preparing workbench [message #892219 is a reply to message #891830] |
Wed, 27 June 2012 12:38 |
mcoss Missing name Messages: 7 Registered: November 2011 |
Junior Member |
|
|
A short DEBUG log, which describes the method calls during healthy startup phase:
1:25,228 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG rap.EntryPoint - createAndRunWorkbench()
2012-06-27 09:01:25,290 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG rap.ApplicationWorkbenchWindowAdvisor - preWindowOpen()
2012-06-27 09:01:25,290 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG rap.ApplicationWorkbenchWindowAdvisor - createActionBarAdvisor()
2012-06-27 09:01:25,291 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG rap.ApplicationActionBarAdvisor - makeActions()
2012-06-27 09:01:25,292 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG rap.ApplicationActionBarAdvisor - fillMenuBar()
2012-06-27 09:01:25,292 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG rap.ApplicationActionBarAdvisor - fillCoolBar()
2012-06-27 09:01:25,344 [UIThread [2329EA256D5BEB99893724402EF9B358]] DEBUG http.RESTServiceManager - createHttpGET()
and the method calls during stopping one, EOF:
7 09:49:22,670 [UIThread [1DFE80F52DC93CDCAFECDEA7C7200554]] DEBUG rap.EntryPoint - createAndRunWorkbench()
2012-06-27 09:49:22,720 [UIThread [1DFE80F52DC93CDCAFECDEA7C7200554]] DEBUG rap.ApplicationWorkbenchWindowAdvisor - preWindowOpen()
2012-06-27 09:49:22,720 [UIThread [1DFE80F52DC93CDCAFECDEA7C7200554]] DEBUG rap.ApplicationWorkbenchWindowAdvisor - createActionBarAdvisor()
2012-06-27 09:49:22,720 [UIThread [1DFE80F52DC93CDCAFECDEA7C7200554]] DEBUG rap.ApplicationActionBarAdvisor - makeActions()
|
|
|
|
|
|
Re: RAP 1.5 stops preparing workbench [message #892710 is a reply to message #892401] |
Fri, 29 June 2012 09:52 |
|
I'm not sure if your singleton issue is directly related to the session
shutdown problem, but you really shouldn't have any singletons in your
application code. All state should have either session scope, or
application scope. Images are bound to a display, which is in turn bound
to a user session.
I was asking if you catch Throwables because that's a common mistake
that prevents the proper termination of a session. When catching
Throwables without rethrowing them, you risk the stability of your system.
Regards, Ralf
--
Ralf Sternberg
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.03879 seconds