Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 48630 invoked by uid 500); 4 Oct 2001 10:10:05 -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 48601 invoked from network); 4 Oct 2001 10:10:03 -0000 Date: Thu, 04 Oct 2001 10:36:58 +0100 From: aaldridg@csc.com Subject: Re: Fixes for the X11 problem are failing!!! To: cocoon-users@xml.apache.org Bcc: Message-id: MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-MIMETrack: Serialize by Router on VA-FCH31/SRV/CSC(Release 5.0.4a |July 24, 2000) at 10/04/2001 06:13:28 AM X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I experience the same behaviour as below, having removed the svg and pdf references in sitemap. I also removed them from the cocoon.properties file just in case - still no joy. Hmmmm. >> ****** >> Solution 2: removing any reference to SVG and PDF. >> This should disable any call to Batik, which is the problematic library, >> requiring the X11 display >> *** >> >> Removing anything concerning SVG does not solve the problem, in the >> sitemap.xmap and the WEB-INF/. >> Note that serializer related to SVG, PDF and XML are disabled!!! Doesn't look like that: >> Thread-17/Handler: Error compiling sitemap >> java.lang.InternalError: Can't connect to X11 window server using >> 'localhost:0.0' as the value of the DISPLAY variable. >[...] >> >org.apache.batik.dom.svg.SAXSVGDocumentFactory.(SAXSVGDocumentFact >ory.java:59) >> at >>org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:44) >> at >> >org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java: >>46) >Here an SVG serializer is instantiated, and this causes the problem. >Since "svg2jpeg" is next to the latest one who was instantiated >correctly in the default sitemap, can you please double check that you >removed that one too? Gianugo Rabellino on 03/10/2001 23:44:12 Please respond to cocoon-users@xml.apache.org To: cocoon-users@xml.apache.org cc: Subject: Re: Fixes for the X11 problem are failing!!! Olivier, > ****** > Solution 1 : using PJA as an alternative to built-in AWT. > PJA does not require a X server to launch > *** > > Problem: > java.lang.ExceptionInInitializerError: java.lang.ClassCastException: I understand that PJA is quite old, so I'm not surprides to see this. > ****** > Solution 2: removing any reference to SVG and PDF. > This should disable any call to Batik, which is the problematic library, > requiring the X11 display > *** > > Removing anything concerning SVG does not solve the problem, in the > sitemap.xmap and the WEB-INF/. > Note that serializer related to SVG, PDF and XML are disabled!!! Doesn't look like that: > Thread-17/Handler: Error compiling sitemap > java.lang.InternalError: Can't connect to X11 window server using > 'localhost:0.0' as the value of the DISPLAY variable. [...] > org.apache.batik.dom.svg.SAXSVGDocumentFactory.(SAXSVGDocumentFact ory.java:59) > at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:44) > at > org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java: 46) Here an SVG serializer is instantiated, and this causes the problem. Since "svg2jpeg" is next to the latest one who was instantiated correctly in the default sitemap, can you please double check that you removed that one too? I'll do some tests tomorrow too, and let you know. Ciao, -- Gianugo Rabellino --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: