Ticket #2057 (assigned enhancement)

Opened 4 months ago

Last modified 3 weeks ago

Make toolkit-based application runnable in an distributed environment

Reported by: dll Owned by: ticketmaster
Priority: major Milestone: IT Mill Sponsored Backlog
Component: Server-side framework Version: 5.2.6
Keywords: http session httpsession cluster failover distributable loadbalance Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract:

Description

Toolkit-based application fails to run in a distributed environment, e.g. when you set the <distributable/> tag in the web.xml deployment descriptor. This is actually happens, because violation of the web app spec - class WebApplicationContext? is used as a object that is put into http session, however, it does not implements the Serializable interface, causing web container or application server to fail. Ability to make web applications distributable is imprtant thing, as this allows to use load balancers and failover switches without duplicating http sessions as when <distributable/> tag is set, applicaiton server takes care of replicating the single HttpSesion? instance and its contents across cluster nodes.

Change History

Changed 4 months ago by dll

I tried to fix ticket on my locl working copy by adding "Serializable" to the WebApplicationContext? class. I'll make a number of runs in our clustered environment, to ensure this is enough or to find out more places for fix. So I hope I'll be able to provide a patch for this issue on Monday.

WBR, Dmitri

Changed 4 months ago by dll

P.S. Pardon for a lot of mistypes, it is kind a coldy day here in StPetersburg?, our dev team office is located on the sub-ground floor and my fingers got frozen a bit. %)

Changed 4 months ago by Joonas Lehtinen

This issue ( #695 ) have been around for ages, but somehow we have always had more urgent things to look at. Patch would be great and will be integrated to trunk asap.

Changed 4 months ago by Joonas Lehtinen

  • owner changed from Marko Gronroos to ticketmaster
  • status changed from new to assigned
  • milestone changed from User Interface Library 5.3.0 RC to IT Mill Sponsored Backlog

Changed 3 weeks ago by Joonas Lehtinen

  • type changed from defect to enhancement
  • summary changed from Toolkit-based application fails to run in an distributed environment to Make toolkit-based application runnable in an distributed environment
Note: See TracTickets for help on using tickets.