Hope someone can help with this issue. I have a sample JFreeChart java applet that I have been able to compile, pull up in a browser and view with no problems. Have tried to load it in a page in Lotus Notes, but can't get it to work in the Notes client. I've included the class file for the applet and all the jar files for jfreechart and jcommon, but still can't seem to get it to show up in my Notes page (just white space). Here's the output of the Java console from Notes:
File not found when looking for: org.jfree.chart.plot.LocalizationBundle
File not found when looking for: org.jfree.chart.plot.LocalizationBundle_en
File not found when looking for: org.jfree.chart.plot.LocalizationBundle_en_US
File not found when looking for: org.jfree.chart.resources.JFreeChartResources_en
File not found when looking for: org.jfree.chart.resources.JFreeChartResources_en_US
File not found when looking for: org.jfree.resources.JCommonResources_en
File not found when looking for: org.jfree.resources.JCommonResources_en_US
File not found when looking for: org.jfree.chart.LocalizationBundle
File not found when looking for: org.jfree.chart.LocalizationBundle_en
File not found when looking for: org.jfree.chart.LocalizationBundle_en_US
Missing resource appletsecurityexception.Definition in package 'java.nio'
COM.ibm.JEmpower.applet.AppletSecurityException: ??
Exception occurred during event dispatching:
java.lang.ExceptionInInitializerError: Missing resource appletsecurityexception.Definition in package 'java.nio'
COM.ibm.JEmpower.applet.AppletSecurityException: ??
However, I've noticed that I can right click on the chart and get the pop up menu for the chart options, which would indicate that it's running. I've also put another very simple java applet in another page in the same database (not dealing with jfreechart) and it works fine.
I've posted this issue in the Notes forum and was told that my Notes client is running java 1.3 and since my PC is running java 1.4 this could be the problem. However I noticed that the errors look like they are tied to the jfreechart files (at least partly). I wanted to check here to see if anyone had come across this issue before I loaded the 1.3 on my PC to re-test.
8-17-06: No luck on the suggestion to reload java 1.3. It still gave the same problems and same error messages in the console.
Any ideas would be much appreciated.
Thanks
jfreechart applet doesn't run in Lotus Notes page
-
- Posts: 4
- Joined: Tue Aug 08, 2006 9:49 pm
- Location: South Carolina
Did you ever solve this problem because I am having a similar problem? Lotus does not appear to be able to find the files. Your security exceptions is an unrelated issue due to that package not being present in your version of notes.
Any help would be greatly appreciated.
My java console just displays:
File not found when looking for: org.jfree.chart.LocalizationBundle
File not found when looking for: org.jfree.chart.LocalizationBundle_en
File not found when looking for: org.jfree.chart.LocalizationBundle_en_IE
Any help would be greatly appreciated.
My java console just displays:
File not found when looking for: org.jfree.chart.LocalizationBundle
File not found when looking for: org.jfree.chart.LocalizationBundle_en
File not found when looking for: org.jfree.chart.LocalizationBundle_en_IE
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
This was reported frequently a year or two back and it was a bug in JDK 1.4.1. More recently it is reported to be happening on (some) other JDKs, but I'm not sure what the common denominator is yet...
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 4
- Joined: Tue Aug 08, 2006 9:49 pm
- Location: South Carolina
I was finally able to get past the LocalizationBundle issue by following the advise posted by Nemezis ("Problem with LocalizationBundle in JFreeChart-0.9.13, March 3, 2004). I just created the class files as suggested for each of the properties files that was not found, recompiled with ant and it solved the problem. Now I've got to get past the issue of a blank graph. I'm pretty sure it's in my code so I'll just keep chipping away at it. Here's the system I'm running if it'll help track down this problem:
PC: Dell Optiplex GX240
OS: Windows 2000 Professional (service pack 4)
Notes Client: 6.5 (which means it's using java 1.3)
JDK: 1.3.1
JFreeChart: 1.0.2
Hope this helps, but let me know if you need further info.
Thanks
PC: Dell Optiplex GX240
OS: Windows 2000 Professional (service pack 4)
Notes Client: 6.5 (which means it's using java 1.3)
JDK: 1.3.1
JFreeChart: 1.0.2
Hope this helps, but let me know if you need further info.
Thanks