Which JVM do you use? If I'm correct, this bug in the JVM is supposed to be fixed in JVM 1.4.
Wouter -----Original Message----- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: donderdag 6 juni 2002 10:47 To: Tomcat Users List Subject: AW: need X running tomcat Better user Xvfb. Depending on the distribution you use you can place a start script like this in /etc/init.d or /etc/rc.d/init.d to start xvfb. XVFB=/usr/X11R6/bin/Xvfb XVFBARGS=":99 -screen 0 1024x768x24 -fbdir /var/run -ac" PIDFILE=/var/run/xvfb.pid case "$1" in start) echo -n "Starting virtual X frame buffer: Xvfb" start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS echo "." ;; stop) echo -n "Stopping virtual X frame buffer: Xvfb" start-stop-daemon --stop --quiet --pidfile $PIDFILE echo "." ;; restart) $0 stop $0 start ;; *) echo "Usage: /etc/init.d/xvfb {start|stop|restart}" exit 1 esac exit 0 This is what we use for debian. :99 is the value for the xserver id that must be set in the DISPLAY env. DISPLAY=localhost:99.0 Additionaly you have to define a link in /etc/rc?.d to this file for the run levels where you need the Xvfb. (This is for debian, other distributions For tomcat you can do the same. > -----Ursprüngliche Nachricht----- > Von: Michael Reutter [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 6. Juni 2002 09:52 > An: Tomcat Users List > Betreff: need X running tomcat > > > Hi! > > I'm running tomcat 3.3.1 on a linux box! > > my servlets need some fonts to generate some images. > Now I have to do the following to start tomcat: > > (no X is running) > login as root > startx & > export DISPLAY=myserver:0 > tomcat.sh start > > or > > start xdm > login as root > tomcat.sh start > > 1. Am I on the right way??? > > 2. How to automate this, so my tomcat runs after a reboot ... > > > thanks > michi > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>