Olivier Rossel wrote:

> 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/.
> May be I missed something.
> But I still have a SVGBuilder trying to instanciate a batik 
> SVGDOMImplementation, which requires a X11 display.
> Note that serializer related to SVG, PDF and XML are disabled!!!

Stop your servlet container, remove all work directories and restart. Be 
sure to remove any references to svg in the sitemap, besides the 
serializers there are samples referring to it.

I have C2 running on a Solaris server without any display or X server, 
using Tomcat 3.2.3, so it must work.

Solution 3: use Xvfb if it is available on your platform. I use it on my 
development Linux box because, even though I have an X11 display, 
whenever I logout the X server is restarted and Tomcat just crashes. 
Took a while to figure out why I had to restart Tomcat every morning :).

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to