agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Re: Failed to create Java VM
Date: Tue, 15 Mar 2005 18:58:49 +0100
Message-ID: <thhal-027oSAwPZxyc6wrkMMylGs06bJyQ1Wp@mailblocks.com> (raw)
In-Reply-To: <thhal-0Ap4SA2HXxyc3IIhQ4l9cfcucza7ulU@mailblocks.com>
References: <opsnm2g4qmn5ejfj@cornolio.innovationbusiness.net>
	<4235D3C2.4050408@mailblocks.com>
	<opsnm5zz0kn5ejfj@cornolio.innovationbusiness.net>
	<4235E3DD.8020104@mailblocks.com>
	<opsnonrqc4n5ejfj@cornolio.innovationbusiness.net>
	<4237057E.3080407@mailblocks.com>
	<thhal-0AJ4SA1/Xxyc5P7pijk6ZctYijy4pOZ@mailblocks.com>
	<thhal-0Ap4SA2HXxyc3IIhQ4l9cfcucza7ulU@mailblocks.com>
	<42372259.7040107@mailblocks.com>
	<thhal-027oSAwHZxyc0ciGMw124vR7B4uO/qa@mailblocks.com>

Thomas Hallgren wrote:
> When do you get this error? Are you trying to do use the SQL SET command 
> for pljava.vmoptions in a session where PL/Java is already active?
> 
> There's no way you can get it from settings in the postgresql.conf file 
> since that file will allow multiple settings of the same custom variable 
> (if it didn't you'd get this error for pljava.classpath since you set 
> that twice).
> 
Hmm, I think I can answer my own question here. What happens is that you 
first get the error:

   1 is outside the valid range for parameter 
"pljava.statement_cache_size" (0 .. 0)

Then you do a renewed attempt in the same session. That's when you get:

   attempt to redefine parameter "pljava.vmoptions"

You get this since it was succesfully set on the first attempt but then 
failed on the statement_cache_size. If I'm correct then just remove the 
setting of the pljava.statement_cache_size.

Regards,
Thomas Hallgren





view thread (16+ messages)  latest in thread

Message-ID: <thhal-027oSAwPZxyc6wrkMMylGs06bJyQ1Wp@mailblocks.com>
Permalink:  ../thhal-027oSAwPZxyc6wrkMMylGs06bJyQ1Wp@mailblocks.com/
Also on:    postgresql.org/message-id/thhal-027oSAwPZxyc6wrkMMylGs06bJyQ1Wp@mailblocks.com

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] Re: Failed to create Java VM
  In-Reply-To: <thhal-027oSAwPZxyc6wrkMMylGs06bJyQ1Wp@mailblocks.com>

* 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