#703 Serialize ChartDeleter

1.0.x
closed-fixed
nobody
General (896)
5
2007-01-04
2006-12-15
James Beeby
No

When running tomcat in a cluster blank pages can be served while trying to display a chart.

Here is why:
org.jfree.chart.servlet.ChartDeleter is put on the HTTPSession in org.jfree.chart.servlet.ServletUtilities.

Because ChartDeleter is not a serializable object, if you are running Tomcat in a cluster you will end up with a NotSerializableException.

The fix is simple. Just change the class declaration to:

public class ChartDeleter implements HttpSessionBindingListener, Serializable

Discussion

  • Thomas Morgner

    Thomas Morgner - 2007-01-04

    Logged In: YES
    user_id=519590
    Originator: NO

    Fixed in the CVS ...

     
  • Thomas Morgner

    Thomas Morgner - 2007-01-04
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks