0 Replies Latest reply on Dec 6, 2006 1:17 PM by mikevmoran

    Getting CLASSPATH errors when compiling JasperReports

    mikevmoran

      I'm trying to write a Report registry of compiled JasperReports using a JMX Bean at startup. That is, I want to load and compile all my reports on startup and cache them in a JMX bean.

      However, when I compile the reports in the JMX Bean, it does not find the libraries and the compile fails. Even if I wait till the application is started and run the JMX bean from the console I still get errors.

      I can run the same code from a Session Bean or Servlet without any problems.

      Can anyone explain the difference between the CLASSPATH that the JMX Beam uses vs. the servlet/application servers?

      Thanks in advance for any help, it is much appreciated.