Re: batik causing headless exception

2004-05-27 Thread Ruth, Brice
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 pe

Re: batik causing headless exception

2004-05-27 Thread Paul . Krasucki
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 yo

Re: batik causing headless exception

2004-05-27 Thread Ruth, Brice
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ÿe

Re: batik causing headless exception

2004-05-27 Thread Bernardo Buffa Colomÿffffe9
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ÿ

Re: batik causing headless exception

2004-05-27 Thread Paul . Krasucki
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ÿe9 <[EMAIL PROTECTED]>: > Did U try xvfb (X virtual frame buffer)? > You must configure your environment to tell Java > connect in this X serv

Re: batik causing headless exception

2004-05-27 Thread Bernardo Buffa Colomÿffffe9
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, java 1.4.1 > with -Djava.awt.headless=true, > using batik 1.5.1. E

batik causing headless exception

2004-05-27 Thread Paul . Krasucki
I am running embedded fop under Linux, java 1.4.1 with -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 on that: http://groups.yahoo.com/group/svg-developers/message/31677 which seems to match my p