Dan J Fraser wrote:
> 
> Hope this isn't a FAQ... It's not mentioned on the cocoon website.

Batik uses Java SWING, which in turn requires an XWindows environment.
There are two things you can do to get it to work:

1) Install an XServer (a simple FrameBuffer Xserver will do), and set
   the environment variable "DISPLAY" to the proper value (something
   like "127.0.0.1", consult your X Server's documentation)

2) Remove all references to Batik in the sitemap (this removes your
   ability to dynamically create graphics based on SVG files).

> 
> When I try to start C2 for the first time, I get this:
> 
> ERROR   4684    [cocoon  ] (Thread-35): 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.<clinit>(X11GraphicsEnvironment.java:5
> 8)
>         at java.lang.Class.forName0(Native Method)
>         server# locate jserv.properties
> 
> 
> Why is it trying to connect to an X server?  How can I tell it not to?
> 
> --
> Dan J. Fraser <[EMAIL PROTECTED]>
> PGP: 0xF3972A01 (17 B7 24 90 27 05 B8 92  4F 7F 61 18 B9 D1 17 CE)
> "Keep America beautiful.  Swallow your beer cans."
> 
> ---------------------------------------------------------------------
> 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