I know were your problem comes from. It's because the WMF Transcoder use some AWT methods to obtain the screen resolution (see bug 45408 on bugzilla). I made a promise end of August to send a patch with the fix in a week. but I was lazy. Although I fixed it on my local copy, I send two other patches about WMF transcoder but not this one.

OK, I will send a patch in a few days now ;-)

Hervé

Zareh wrote:
Hi Herve
I have a big problem using wmftranscoder on a linux server.This blocked me for two weeks. I guess you can help me. If I try to create an wmftranscoder this error happens:

*root cause*

java.awt.HeadlessException
        sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:189)
        org.apache.batik.transcoder.ToSVGAbstractTranscoder.<clinit>(Unknown 
Source)
        org.apache.jsp.test3_jsp._jspService(test3_jsp.java:57)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
*please help me how can I fix this.* ** *Zareh*

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to