From owner-freebsd-java Thu Sep 13 8: 4: 9 2001 Delivered-To: freebsd-java@freebsd.org Received: from bastuba.partitur.se (bastuba.partitur.se [212.209.169.194]) by hub.freebsd.org (Postfix) with ESMTP id 9BC3B37B405 for ; Thu, 13 Sep 2001 08:04:04 -0700 (PDT) Received: (from root@localhost) by bastuba.partitur.se (8.11.3/8.11.3) id f8DF3xC12729 for freebsd-java@FreeBSD.ORG.AVP; Thu, 13 Sep 2001 17:03:59 +0200 (CEST) (envelope-from girgen@partitur.se) Received: from elbas.partitur.se (elbas.partitur.se [212.209.169.222]) by bastuba.partitur.se (8.11.3/8.11.3) with ESMTP id f8DF3wl12705; Thu, 13 Sep 2001 17:03:58 +0200 (CEST) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost [127.0.0.1]) by elbas.partitur.se (8.11.3/8.11.3) with ESMTP id f8DF3ws57518; Thu, 13 Sep 2001 17:03:58 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <3BA0CADE.FEF9693C@partitur.se> Date: Thu, 13 Sep 2001 17:03:58 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: server jdk-1.2.2b10 loses contact with X server after weeks Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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.(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