Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 17:03:58 +0200
From:      Palle Girgensohn <girgen@partitur.se>
To:        freebsd-java@FreeBSD.ORG
Subject:   server jdk-1.2.2b10 loses contact with X server after weeks
Message-ID:  <3BA0CADE.FEF9693C@partitur.se>

next in thread | raw e-mail | index | archive | help
Hi!

We run a webbased system using tomcat and apache. Some servlets
need the AWT to draw images, so we use an X server, Xvfb, and
it usually works dandy. 

Lately, we've seen systems under high load losing the
connection to the X server (I think?), and the JVM has to be
stopped and restarted for it to start working again.

Here's the stack trace. The named class,
sun/awt/X11GraphicsEnvironment, exists in the path, of course,
and this works for days or weeks until it fails. Once it fails,
it fails all the time.

2001-09-13 03:05:57 - Ctx(  ): Exception in: R(  +
/servlets/ChartGen + null) - java.lang.NoClassDefFoundError:
sun/awt/X11GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java, Compiled Code)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java,
Compiled Code)
        at java.awt.Font.initializeFont(Font.java:262)
        at java.awt.Font.<init>(Font.java:292)
...


FreeBSD-4.3, native jdk1.2.2b10, XFree86-3.3.6 running as: 
/usr/X11R6/bin/Xvfb -fbdir /var/tmp -screen 0 320x200x24


Any ideas?

/Palle

-- 
         Partitur Informationsteknik AB    
Wenner-Gren Center             +46 8 566 280 02  
113 46 Stockholm	       +46 70 785 86 02  
Sweden			       girgen@partitur.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BA0CADE.FEF9693C>