
I wrote a custom tag for Coldfusion using JFreeChart. It works fine on one Linux Machine with PJA, but fails on another Linux machine with PJA. The settings are the same. I have no idea where to start looking for errors.
I first thought that because of the NoClassDefFoundError the JFreeChart Libraries aren´t in the class path, but then I moved the ChartUtilities line in front of the createXYStepChart line and the ChartUtilities line causes no errror. Therefore it finds ChartUtilities what means the JFreeChart library must be in the classpath.

The source throwing the error is:
private void createChart(XYDataset data, String title, String jpegFilePath, int width, int height) throws IOException {
ChartUtilities util = new ChartUtilities();
// create the linechart from the data
JFreeChart chart = ChartFactory.createXYStepChart(title, "Zeit",
"Euro", data, true); // THIS IS LINE 298
and the exception is:
java.lang.NoClassDefFoundError
at com.jrefinery.chart.ChartFactory.createXYStepChart(Unknown Source)
at de.a3technology.customtag.coldfusion.LineChart.createChart(LineChart.java:298)
at de.a3technology.customtag.coldfusion.LineChart.simpleAuction(LineChart.java:170)
at de.a3technology.customtag.coldfusion.LineChart.processRequest(LineChart.java:102)
at coldfusion.tagext.CfxTag.doStartTag(Unknown Source)
at coldfusion.runtime.CfJspPage._emptyTag(Unknown Source)
at cfactShowStatistic2ecfm1392446587.runPage(/home/wwwbau/live/htdocs/cf/bauforum/auction/admin/actShowStatistic.cfm:60)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown Source)
at coldfusion.runtime.CfJspPage._emptyTag(Unknown Source)
at cffbx_Switch2ecfm649282821.runPage(/home/wwwbau/live/htdocs/cf/bauforum/auction/admin/fbx_Switch.cfm:76)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown Source)
at coldfusion.runtime.CfJspPage._emptyTag(Unknown Source)
at cffbx_fusebox_FEX_CF502ecfm1576398730.runPage(/home/wwwbau/live/htdocs/cf/bauforum/fbx_fusebox_FEX_CF50.cfm:395)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown Source)
at coldfusion.runtime.CfJspPage._emptyTag(Unknown Source)
at cfindex2ecfm802893388.runPage(/home/wwwbau/live/htdocs/cf/bauforum/index.cfm:27)
at coldfusion.runtime.CfJspPage.invoke(Unknown Source)
at coldfusion.tagext.lang.IncludeTag.doStartTag(Unknown Source)
at coldfusion.filter.CfincludeFilter.invoke(Unknown Source)
at coldfusion.filter.ApplicationFilter.invoke(Unknown Source)
at coldfusion.filter.PathFilter.invoke(Unknown Source)
at coldfusion.filter.ExceptionFilter.invoke(Unknown Source)
at coldfusion.filter.BrowserDebugFilter.invoke(Unknown Source)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(Unknown Source)
at coldfusion.filter.BrowserFilter.invoke(Unknown Source)
at coldfusion.filter.GlobalsFilter.invoke(Unknown Source)
at coldfusion.filter.DatasourceFilter.invoke(Unknown Source)
at coldfusion.CfmServlet.service(Unknown Source)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:241)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:198)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)