Troubleshooting

You setup webcharts and try to run your page, or the sample page, but the image is not displayed. What is wrong?

The most common reason is that getImage.jsp file is missing or mislocated. To troubleshoot this issue:

  1. Refresh the page in the browser. This is important to ensure that the image is in the server cache.
  2. View the page source by clicking View>>Source menu (in Internet Explorer) and search for the image tag of your chart. (You can search for getImage.jsp).
  3. Copy and paste the url specified in the image tag into another browser's window and click enter. Most likely you will see server's error message. Fixing this error will fix the original page.
  4. Another common error is using incorrect version of the JRE. WebCharts3D will not work with Java 1.2 and might not produce some of the charts with Java 1.3.

The image is displayed, but instead of showing the chart it shows "Image Expired" message. What is it?

The scripts generated by the designer use indirect method for image retrieval, meaning that the image is produced during page processing and is placed in cache to be retrieved by the browser. After some period of time depending upon cache settings the image is destroyed. "Image Expired" message tells you that the image requested by the browser is not in the server cache. To fix this issue you might want to change cache settings. In some cases the reason is that you used one component to create the image, but another component is used to retrieve it. This is the reason we do not recommend to create MxServerComponent directly, but rather to use getDefaultInstance method that creates a singleton.