No problem - I do some server-side font rendering for
http://www.fiskars.com/ - where probably 40% of the pages loaded need
to access the Java 2D libraries that require the Xserver - we do about
800,000 page views a month, and I've yet to have Tomcat go down (we're
running Tomcat 4.1). I do periodically re-deploy, which often requires me to restart Tomcat, but otherwise, no restart has ever been required. Good luck! Brice [EMAIL PROTECTED] wrote: Thanks Brice! I did that and I restarted the server. So far so good, will see if it can survive a day ;-)Thanks again. -Paul Quoting "Ruth, Brice" <[EMAIL PROTECTED]>:Whenever you start your app server (if you're using Tomcat or jBoss or what have you) - you need to have DISPLAY=:1 in your environment: (bash) export DISPLAY=:1 (tcsh) setenv DISPLAY :1 Then just start Tomcat/jBoss/your application - and you should be set. Brice Bernardo Buffa Colomÿffffe9 wrote:I'm not really sure. I believe is enough setting de DISPLAY environment variable properly. --- [EMAIL PROTECTED] escribió: > Yes, I am running/usr/X11R6/bin/Xvfb :1 -screen 0 800x600x8 & How do I tell my java env to connect to it? Thanks, -Paul Quoting Bernardo Buffa Colomÿffffe9 <[EMAIL PROTECTED]>:Did U try xvfb (X virtual frame buffer)? You must configure your environment to tell Java connect in this X server. Regards Bernardo Antonio Buffa Colomé --- [EMAIL PROTECTED] escribió: >I am running embedded fop under Linux, java1.4.1with -Djava.awt.headless=true, using batik 1.5.1. Every once in a while I get headless exception, which causes my app to terminate. I have found a message onthat:http://groups.yahoo.com/group/svg-developers/message/31677which seems to match my problem. I wonder ifanybodyfound some solution? Why would batik try to create Label? Is thereanyworkaround or configuration parameter that I am missing? Thanks, -Paul java.lang.ExceptionInInitializerError atorg.apache.batik.ext.awt.image.spi.ImageTagRegistry.getRegistry(ImageTagRegistry.java:273)atorg.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(SVGImageElementBridge.java:280) atorg.apache.batik.bridge.SVGImageElementBridge.createGraphicsNode(SVGImageElementBridge.java:138) atorg.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:182)atorg.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:148)atorg.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:76)atorg.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.java:590)(...) Caused by: java.awt.HeadlessException atjava.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)at java.awt.Label.<init>(Label.java:133) at java.awt.Label.<init>(Label.java:100) atorg.apache.batik.ext.awt.image.spi.JDKRegistryEntry.<clinit>(JDKRegistryEntry.java:102)---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]______________________________________________________________________Correo Yahoo! - 6MB, más protección contra el spam¡Gratis!http://correo.yahoo.es---------------------------------------------------------------------To unsubscribe, e-mail:[EMAIL PROTECTED]For additional commands, e-mail:[EMAIL PROTECTED]---------------------------------------------------------------------To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]__________________________________________ Correo Yahoo! - 6MB de espacio ¡Gratis! http://correo.yahoo.es --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- batik causing headless exception Paul . Krasucki
- Re: batik causing headless exception Bernardo Buffa Colom˙ffffe9
- Re: batik causing headless exception Paul . Krasucki
- Re: batik causing headless except... Bernardo Buffa Colom˙ffffe9
- Re: batik causing headless ex... Ruth, Brice
- Re: batik causing headle... Paul . Krasucki
- Ruth, Brice