From: thomas at tada.se (Thomas Hallgren) Date: Tue, 31 Oct 2006 17:32:25 +0100 Subject: [Pljava-dev] org.postgresql.pljava.internal.ServerException running linux headless mode In-Reply-To: <45477960.5070604@softhome.net> References: <45477960.5070604@softhome.net> Message-ID: <45477A99.1000605@tada.se> Scott Petersen wrote: > Supportive helpers, > > I am running Postgresql 8.1.3 on a Linux machine and attempting to > execute some Java code that needs to access libawt.so in headless mode. > After looking at the page > http://wiki.tada.se/wiki/display/pljava/Module+Configuration I do not > seem to find a way to do this. In reviewing the page > http://forum.java.sun.com/thread.jspa?threadID=760969&start=105 it > instructs me to start java with "-Djava.awt.headless=true". I need some > direction on how to accomplish this task. > Did you try adding: pljava.vmoptions = '-Djava.awt.headless=true' to the postgresql.conf file? Regards, Thomas Hallgren