mark
Location : Centurion
Member since : Apr 22, 2004
Messages : 1
|
Apr 22, 2004 at 5:46 PM
Hi,
we are using Java 1.4.2.0.4 with Iplanet 6.0.
Have tried using:
-Djava.awt.headless=true
and also tried
-Xbootclasspath/a:/opt/iplanet/servers/docs/kava/pja_2.5Beta/lib/pja.jar:/opt/iplanet/servers/docs/kava/pja_2.5Beta/lib/pjatools.jar
-Dawt.toolkit=com.eteks.awt.PJAToolkit
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment
-Djava2d.font.usePlatformFont=false
-Djava.awt.fonts=/usr/java/jre/lib/fonts
-Duser.home=/opt/iplanet/servers/docs/kava/pja_2.5Beta
In both cases we get the following error in the error log.
[22/Apr/2004:15:11:34] failure ( 6420): Internal error: Unexpected error condition thrown (java.lang.NoClassDefFoundError,no description), stack: java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1041)
at javachart.servlet.Java2DRenderer.draw(Unknown Source)
at javachart.servlet.CacheManager.setupAndDrawChart(Unknown Source)
at javachart.servlet.CacheManager.generate(Unknown Source)
at javachart.servlet.Bean.generate(Unknown Source)
at javachart.servlet.Bean.getFileName(Unknown Source)
at javachart.servlet.Bean.getFileName(Unknown Source)
at javachart.servlet.ChartTag.doChart(Unknown Source)
at javachart.servlet.ChartTag.doAfterBody(Unknown Source)
at _jsps._tag_samples._simplechart_jsp._jspService(_simplechart_jsp.java:110)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:256)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.access$6(JspServlet.java:246)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:527)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:596)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
I did run PJAToolkitDemo1.2.sh, and it produced 4 gif files:
-rw-r--r-- 1 root other 9368 Apr 22 15:46 PJAToolkitImageDrawer.gif
-rw-r--r-- 1 root other 2889 Apr 22 15:46 PJAToolkitTextDrawer.gif
-rw-r--r-- 1 root other 4392 Apr 22 15:46 PJAToolkitArcDrawer.gif
-rw-r--r-- 1 root other 5703 Apr 22 15:46 PJAToolkitPolygonDrawer.gif
which all seem OK.
need some help. Not sure what other config I need to change in order to get this working?
|