|
Using a 2004 version of ChartDirector with modern Tomcat versions fails. Charts distorted. |
Posted by Brian on Jul-12-2012 03:25 |
|
Hi,
I created a website in 2004 using chartdirector and Tomcat 5.0.19. I?m not sure the version of Chart Director, but inside the JAR I see files from November 2004.
I need to migrate the website to Tomcat 7.0.X, or at least 6.X. But when I tried with Tomcat 7.0.X, the charts looked distorted. Is there a way yo make it work correctly?
I don?t know if this is relevant, but right now it is working with JVM 1.6.0-b105 which is not old at all, and it works fine (but with Tomcat 5.0.19). So I think the problem is with the newer Tomcat versions. And it is working in Linux, I guess this is even less relevant.
Note: upgrading to a newer version of Chart Directoy won?t be possible. There is no time/budget to do that. I need to make it work as it is right now, without making any modification to the programming.
Thanks in advance,
Brian |
Re: Using a 2004 version of ChartDirector with modern Tomcat versions fails. Charts distorted. |
Posted by Peter Kwan on Jul-12-2012 05:26 |
|
Hi Brian,
You mentioned that "it is working with JVM 1.6.0-b105". I assume you mean ChartDirector is working with JVM 1.6.0-b105 (as opposed to Tomcat is working with JVM 1.6.0-b105). If this is the case, may be you can try to use JVM 1.6.0-b105 to run the Tomcat 7.0.X. Are you currently using another version of Java to run your Tomcat 7.0.X?
In theory, ChartDirector depends only on the Java version, as it runs on Java, and not the version of other software (such as the version of Tomcat - even though the Tomcat is also running on the same Java VM).
If the above still cannot solve the problem, would you mind to attach a sample chart so I can see the nature of the distortion?
Regards
Peter Kwan |
|