[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: jfor doesn't work under linux

Subject: RE: jfor doesn't work under linux
From: "Conal Tuohy" <conalt@xxxxxxxxxxxxxxx>
Date: Wed, 28 May 2003 08:41:54 +1200
jfor headless
Simon Dotschuweit wrote:

> Ich finally managed to setup jfor to be used by a servlet
> running in Jboss
> 3.0.6@Tomcat 4.18,
> under windows everything is fine. But if try to convert a
> XSL:Fo in to RTF,
> while Jboss runs
> on Suse linux 8.1, I get this:

<snip/>

> 22:27:28,771 ERROR [Engine] ----- Root Cause -----
> 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:125)

<snip/>

> Where for do I need a XServer to convert A XSL:FO??
> Perhabs for external-graphics?

That's right.

> And how can I fix that problem? I have really no idea how do it.

The simplest way (if are running JDK1.4) is to run the JVM in "headless"
mode, in which the dependency on X is removed.
http://java.sun.com/j2se/1.4.1/docs/guide/awt/AWTChanges.html#headless

cheers

Con


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.