agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] Failed to create Java VM
Date: Tue, 15 Mar 2005 11:27:16 -0300
Message-ID: <opsnonrqc4n5ejfj@cornolio.innovationbusiness.net> (raw)
In-Reply-To: <4235E3DD.8020104@mailblocks.com>
References: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net>
<4235D3C2.4050408@mailblocks.com>
<opsnm5zz0kn5ejfj@cornolio.innovationbusiness.net>
<4235E3DD.8020104@mailblocks.com>
On Mon, 14 Mar 2005 20:19:57 +0100, Thomas Hallgren <thhal at mailblocks.com>
wrote:
> I googled for this and found a couple of mail-threads. One that
> suggested that the problem was related to a mismatch between your jvm
> and your OS. Perhaps your glibc is too old?
glibc-2.3.2
> Another thread claimed that the <JRE_HOME>/i386/lib/client must be the
> first entry in your LD_LIBRARY_PATH.
My actual LD_LIBRARY_PATH:
root at newbie:~# echo $LD_LIBRARY_PATH
/usr/lib/jdk1.5.0_02/jre/lib/i386/client:/usr/lib/jdk1.5.0_02/jre/lib/i386:/usr/lib/jdk1.5.0_02/jre/lib/i386/native_threads
> What platform and what version are you running on? Are other Java apps
> running OK on this platform? Any chance of upgrading your jvm to a
> 1.4.2_07 or perhaps to a 1.5.0_01?
I've upgraded the jdk:
root at newbie:~# java -version
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
Thomas, i've installed pljava by the source and the error now is:
ERROR: attempt to redefine parameter "pljava.vmoptions"
See my postgresql.conf
<cut>
# define "pljava" as a custom variable class. This is a comma separated
# list of names.
#
custom_variable_classes = 'pljava'
# define the class path that the JVM will use when loading the
# initial library. Only meaningful for non GJC installations
#
pljava.classpath = '/downloads/pljava-1.1.0b1/build/pljava.jar'
pljava.classpath = '/usr/local/pgsql8/lib/postgresql.jar'
# Set the size of the prepared statement MRU cache
#
pljava.statement_cache_size = '1'
# If true, lingering savepoints will be released on function exit. If
false,
# the will be rolled back
#
#pljava.release_lingering_savepoints = true
# Define startup options for the Java VM.
#
pljava.vmoptions = '-Xmx64M -Dbackchannel.port=48'
# Setting debug to true will cause the postgres process to go
# into a sleep(1) loop on its first call to java. This is
# only useful if you want to debug the PL/Java internal C code.
#
pljava.debug = true
</cut>
Thanxs!
--
Bruno D.
TI - CenterX
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
view thread (16+ messages) latest in thread
Message-ID: <opsnonrqc4n5ejfj@cornolio.innovationbusiness.net>
Permalink: ../opsnonrqc4n5ejfj@cornolio.innovationbusiness.net/
Also on: postgresql.org/message-id/opsnonrqc4n5ejfj@cornolio.innovationbusiness.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] Failed to create Java VM
In-Reply-To: <opsnonrqc4n5ejfj@cornolio.innovationbusiness.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