We have had the same problem. We solved it by installing Xvfb, which is a
virtual framebuffer. It acts as an Xserver, without an actual display
connected to it.

Once you get it up-and-running on Solaris you go:  "Xvfb :0 &"  to start it
on (non-existant) display 0
if your DISPLAY is set to localhost:0.0, cocoon will start just fine, *with*
SVG...

regards,

Koen

----- Original Message -----
From: "Martijn Bouterse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, January 23, 2002 9:56 PM
Subject: Re: Problems, switching off svg


> > Henrik Hofmann wrote:
> >
> > I'm trying to get Cocoon 2.0 running on a solaris server. This server
> > has no x server installed, and installing ist isn't a possibility. I
> > tried to remove the svg serializers from the sitemap, and also from
> > the pipeline. But it still tries to load one.
> > There are now no entries for SVG in the sitemap.
>
> You _can_ disable SVG completely, but is necasary to compile Cocoon from
> source. If you have the source distribution of Cocoon you will find a
> 'build.xml' file in the main dir. Edit this file and make sure all
> references to SVG are commented out (using XML comments ofcourse). Then
> build Cocoon using the build script. For details about building and
> deploying the webapp see the file INSTALL.
>
> If you have a recent version of Cocoon from CVS HEAD you can remove the
> batik jar from the lib/optional dir before compiling. The build script
> will complain about missing jars but will complete succesfully.
> (note:the CVS version is a beta-version and might me broken).
>
> Cheers,
> Martijn Bouterse
>
> ---------------------------------------------------------------------
> 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]>
>
>


---------------------------------------------------------------------
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