Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 61542 invoked by uid 500); 6 Oct 2001 12:34:56 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 61528 invoked from network); 6 Oct 2001 12:34:55 -0000 Date: Sat, 6 Oct 2001 22:35:11 +1000 From: Adrian van den Dries To: cocoon-users@xml.apache.org Subject: Re: IllegalAccessError on first use Message-ID: <20011006223511.A1139@foscil.cantanker.net> Mail-Followup-To: cocoon-users@xml.apache.org References: <20011006021311.C2941@foscil.cantanker.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011006021311.C2941@foscil.cantanker.net> User-Agent: Mutt/1.3.22i Sender: Adrian van den Dries X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Wrote Adrian van den Dries, on October 6, around 2:13am +1000: I've tried various other approaches, and I am unable to reproduce the error: > ERROR (2001-10-06) 01:44.34:469 [cocoon ] (/cocoon/) > HttpProcessor[8081][1]/Handler: Error compiling sitemap > java.lang.IllegalAccessError: try to access class > org.apache.cocoon.www.sitemap_xmap$Configurer from class > org.apache.cocoon.www.sitemap_xmap > at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:825) > [snip unformattable traceback] Instead, now, when first requesting /cocoon/, I get this: ERROR (2001-10-06) 22:27.22:161 [cocoon ] (/cocoon/) HttpProcessor[8080][1]/Handler: Error compiling sitemap java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:70) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:135) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:65) at sun.awt.motif.MToolkit.(MToolkit.java:73) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:135) at java.awt.Toolkit$2.run(Toolkit.java:715) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:706) at java.awt.SystemColor.updateSystemColors(SystemColor.java:420) at java.awt.SystemColor.(SystemColor.java:412) at org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(DefaultSystemColorResolver.java:27) [....ad nauseum] which is very odd. Why should a server process assume there is an X server running? Subsequence requests to /cocoon/ instead produce the more soluble: ERROR (2001-10-06) 22:28.41:980 [cocoon ] (/cocoon/) HttpProcessor[8080][1]/Handler: Error compiling sitemap java.lang.NoClassDefFoundError at org.apache.batik.dom.svg.SAXSVGDocumentFactory.(SAXSVGDocumentFactory.java:59) at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:44) [....etc] which I presume to be because the first request failed. Using tomcat 4.0 and Cocoon 2.0r1a, j2sdk 1.4.0 on Linux 2.2.14 (RH6.2) Thanks. -- Cantanker / ---------/------------- / cantanker.net --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: