This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 4, 2011, 8:23 AM
14 Posts

Re: Agressive ClassCastExceptions

  • Category: Custom JSF code (Eclipse IDE)
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: ClassCastException
  • Replies: 2
Hello, about a month ago I have discused this topic with Philippe Riand by mail. He stated 8.5.3 will change class loader behaviour to avoid this kind of troubles.
 
In short, any design change will trigger clas loader to "warm reset" what preserves session and application scoped variables, what leads to unusable application, if there is any object stored in that scope (including beans). Only solution is "cold reset", which will erase even ses/app variables - resave of face-config.xml. Class loader is too sensitive to design changes - it detects changes as: run of an agent (if it creates Agent Data Document) or change of some database level properties (enforce SSL and many other flags stored inside various design notes).
 
Frantisek Kossuth

Jul 26, 2011, 12:07 PM
6 Posts
Re: Agressive ClassCastExceptions
Excellent, thank you - one more reason to look forward to 8.5.3! I've worked around most of the immediate problems by switching to a singleton for the primary object, but I'm not terribly confident in that as a fix. It SEEMS to work, but it'll be good to give another shot to application- and session-scoped beans, since they're the "right" way to do it in the XPages environment.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal