[daisy] SVG to PDF

Bruno Dumon bruno at outerthought.org
Thu Jul 6 08:14:09 CDT 2006


On Thu, 2006-07-06 at 09:01 -0400, CampbellG at dfo-mpo.gc.ca wrote:
> Please forgive my stupidity. I'm still asleep I'm sure. Here is the stdout
> from the wiki:
> 
> 10:01:28.587 WARN!! [SocketListener0-3]
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:618)
> >11> Error for
> /daisy/cgccms/ext/svg/svg-to-png?documentId=36&branch=main&language=default&
> version=live&part=SvgData
> java.lang.InternalError: Can't connect to X11 window server using ':0.0' as
> the value of the DISPLAY variable.

Ah, this explains a lot. Try the following.

Edit the <daisy>/daisywiki/bin/daisy-wiki startup script, and add the
following parameter to the java startup command (the last line in that
file):

-Djava.awt.headless=true


Thus the last line should become something like:

$JAVA_HOME/bin/java -Djava.awt.headless=true -Xmx128m -Djava.endorsed.dirs=$DAISYWIKI_HOME/endorsedlibs/ -Ddaisywiki.home=$DAISYWIKI_HOME -Dorg.mortbay.util.URI.charset=UTF-8 -Dfile.encoding=UTF-8 -Duser.language=en -Duser.country=US -Duser.variant= -Ddaisywiki.data=$DAISYWIKI_DATA -jar start.jar $CONFFILE

I thought we had that parameter in there by default, but apparently not.
I will look into fixing this.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list