Uploaded image for project: 'MAEviz'
  1. MAEviz
  2. MAE-289

RCP Webstart incompatible with jasperreports (currently hacked)

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2
    • 2.0
    • Infrastructure
    • None

      Webstart uses a separate classloader system from standard java or from RCP, so any 3rd party libraries that use custom classloaders may have problems.

      This affects JasperReports in that it uses it's own classloader to load, prepare, and display reports. Jasper seems to be compatible with RCP, OR compatible with Webstart, but not both.

      A temporary, unpleasant solution was found that works by:
      1. any report file should be compiled, and the resulting temporary java source file should be copied to the /src directory of the jasperreports plugins
      2. I'm creating a net.sf.jasperreports.hack plugin which contains various ugly hacks to the jasperreports classloader so that it can load and process these reports despite the strange classloader issues

      This works for now, but is not a correct solution (As well as adds an extra 15 megs to the maeviz download). A correct solution should be found, or an alternative to webstart, or an alternative to jasperreports should be found.

              maeviz MAEViz Developer
              tolbert Nathan Tolbert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: