Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem with bundle loading
Problem with bundle loading [message #75991] Fri, 29 February 2008 06:46 Go to next message
Eclipse UserFriend
Hi all,

I'm trying to transfer a huge project to RAP. After eliminating all
errors I have the problem that bundles are apparently loaded in a
different way in RAP then in the RCP app.
In the RCP app there is a login dialog and after successful
authentication some views (bundles) are loaded.
In RAP it seems that all bundles are loaded on startup. But that is a
problem because the above mentioned views need some information from
successful login (authentication/session information). I enabled debug
tracing on OSGi and see the errors in the views because they don't have
the necessary information.
The bundle state of these views are "resolved" but not "active". I think
that I have a general understanding problem.

Is there any documentation on this topic?

Reinhold
RE: Problem with bundle loading [message #76104 is a reply to message #75991] Fri, 29 February 2008 09:52 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

a difference between RAP and RCP is, that bundles are shared between
user sessions. Therefore the normal RAP approach is to load all bundles
at application startup. To be able to use your core bundles on the
server you need to make them able to handle multiple user sessions.
There are several threads about multi-user enablement, session handling
in RAP applications on this newsgroup.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Reinhold Bentele [mailto:reinhold.bentele@uni-ulm.de]
Bereitgestellt: Freitag, 29. Februar 2008 12:47
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Problem with bundle loading
Betreff: Problem with bundle loading


Hi all,

I'm trying to transfer a huge project to RAP. After eliminating all
errors I have the problem that bundles are apparently loaded in a
different way in RAP then in the RCP app.
In the RCP app there is a login dialog and after successful
authentication some views (bundles) are loaded.
In RAP it seems that all bundles are loaded on startup. But that is a
problem because the above mentioned views need some information from
successful login (authentication/session information). I enabled debug
tracing on OSGi and see the errors in the views because they don't have
the necessary information.
The bundle state of these views are "resolved" but not "active". I think
that I have a general understanding problem.

Is there any documentation on this topic?

Reinhold
Previous Topic:Cell editors in Table or TreeTable
Next Topic:High CPU usage - war deployment(Jetty, Tomcat)
Goto Forum:
  


Current Time: Tue Jul 22 06:38:01 EDT 2025

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

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

Back to the top