agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] org.postgresql.pljava.internal.ServerException running linux headless mode
Date: Tue, 31 Oct 2006 09:58:42 -0700
Message-ID: <454780C2.3090705@softhome.net> (raw)
In-Reply-To: <45477A99.1000605@tada.se>
References: <45477960.5070604@softhome.net>
<45477A99.1000605@tada.se>
Thomas Hallgren wrote:
> 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
>
>
Thomas,
Thanks for the information. I thought that I had set this previously,
but in order to verify that this was the case I checked my
postgresql.conf file and it contains the following:
#---------------------------------------------------------------------------
# CUSTOMIZED OPTIONS
#---------------------------------------------------------------------------
custom_variable_classes = 'pljava' # list of custom
variable class names
pljava.classpath='/usr/local/pljava/pljava.jar'
pljava.statement_cache_size=10
pljava.release_lingering_savepoints = true
pljava.vmoptions = '-Djava.awt.headless=true'
pljava.debug = false
I then stopped postgresql and then restarted postgresql. I then reran
my application with the same error result.
Any further help would be appreciated..
Scott.
view thread (6+ messages) latest in thread
Message-ID: <454780C2.3090705@softhome.net>
Permalink: ../454780C2.3090705@softhome.net/
Also on: postgresql.org/message-id/454780C2.3090705@softhome.net
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] org.postgresql.pljava.internal.ServerException running linux headless mode
In-Reply-To: <454780C2.3090705@softhome.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox