Tomcat cannot find fonts

view full story

http://serverfault.com – I have Tomcat6 running on Debian 6 in a headless server. The application deployed on this server has to generate PDF files at various points. Trying to do so results in an exception for missing fonts: org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [createContract] of controller [moneyfarm.cpanel.product.CPanelSubscribeController] caused exception: java.lang.Error: Probable fatal error:No fonts found. at java.lang.Thread.run(Thread.java:636) Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.Error: Probable fa (HowTos)