tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mauricio Fernandez A." <mfaconta...@ono.com>
Subject Problems with graphics on Tomcat 5.5.9
Date Fri, 07 Oct 2005 18:15:22 GMT
Hello

I have a web App with some jsp´s showing graphics generated by jfreechart,
in my windows dev station it works fine but in my linux production server it
was working fine to some days ago and now it doesn´t.

I have Tomcat 5.5.9, JDK 1.5.0_04, Red Hat Linux on a rack

Now i obtain a ServletException generated by this reason (sorry to send the
trace but I want to be specific):

java.lang.NoClassDefFoundError
	sun.java2d.SunGraphicsEnvironment.addDirFonts(SunGraphicsEnvironment.java:7
22)
	sun.java2d.SunGraphicsEnvironment.registerFontsInDir(SunGraphicsEnvironment
.java:602)
	sun.java2d.SunGraphicsEnvironment.access$200(SunGraphicsEnvironment.java:58
)
	sun.java2d.SunGraphicsEnvironment$1.run(SunGraphicsEnvironment.java:174)
	java.security.AccessController.doPrivileged(Native Method)
	sun.java2d.SunGraphicsEnvironment.<init>(SunGraphicsEnvironment.java:94)
	sun.awt.X11GraphicsEnvironment.<init>(X11GraphicsEnvironment.java:164)
	sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce
ssorImpl.java:39)
	sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru
ctorAccessorImpl.java:27)
	java.lang.reflect.Constructor.newInstance(Constructor.java:494)
	java.lang.Class.newInstance0(Class.java:350)
	java.lang.Class.newInstance(Class.java:303)
	java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironmen
t.java:68)
	java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1141)
	org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1243)
	org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1223)
	org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:173)
	org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:328)
	org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:299)
	com.Prueba.comandos.Graficador2.crearBarChart3DVertical(Graficador2.java:21
1)
	org.apache.jsp.jsp.grafica_jsp._jspService(org.apache.jsp.jsp.grafica_jsp:1
67)

Thanks

MauricioF


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message