| Summary: | Investigate running clustered RWT instances on OSGi | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | ASSIGNED --- | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | 1.5 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 358557, 359405, 361971, 361110, 361554 | ||||||
| Bug Blocks: | 341761 | ||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
Created attachment 204281 [details]
Prototype
With this patch, the testButtonEntryPoint test from the JettySessionFailover_Test run successfully.
The changes are meant to outline an approach to control the class-loading during deserialization. It uses the fact that Jetty consults the context-loader of the current thread while deserializing a session.
Upon serialization of the SessionStore, information about classes and their respective (bundle-)class-loaders is serialized along with the session data. The SessionStore is deserialized before any other object. This circumstance allows to read the class-loader-information and equip the context-loader with it so that supsequent attempts to load classes succeed.
|