agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] VM death with PlJava
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] VM death with PlJava
@ 2006-05-08 11:05  
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2006-05-08 11:05 UTC (permalink / raw)

Hi guys, I am trying to usw PLJava to do triggers, I have done the
install from source, however when i try the following quick test

CREATE FUNCTION getsysprop(VARCHAR)
  RETURNS VARCHAR
  AS 'java.lang.System.getProperty'
  LANGUAGE java;

SELECT getsysprop('user.home');

I get

INFO: Execption
INFO: in thread "main"
ERROR: Java exit monitor failure (final)

In the postgresql datadir I get java VM death logs, i have attached one
to this message.

Any ideas what I am doing wrong here ???

Many thanks

	Greg Bowyer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid10981.log
Type: text/x-log
Size: 12586 bytes
Desc: not available
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20060508/07ba5e7f/attachment.bin;



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [Pljava-dev] VM death with PlJava
@ 2006-05-08 16:51  
  parent: 
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2006-05-08 16:51 UTC (permalink / raw)

Hi Greg,
Nothing that you do should ever cause a VM crash. What version of 
PL/Java, Java VM, and PostgreSQL are you running and on what platform?

Regards,
Thomas Hallgren

Greg Bowyer wrote:
> Hi guys, I am trying to usw PLJava to do triggers, I have done the
> install from source, however when i try the following quick test
>
> CREATE FUNCTION getsysprop(VARCHAR)
>   RETURNS VARCHAR
>   AS 'java.lang.System.getProperty'
>   LANGUAGE java;
>
> SELECT getsysprop('user.home');
>
> I get
>
> INFO: Execption
> INFO: in thread "main"
> ERROR: Java exit monitor failure (final)
>
> In the postgresql datadir I get java VM death logs, i have attached one
> to this message.
>
> Any ideas what I am doing wrong here ???
>
> Many thanks
>
> 	Greg Bowyer
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>   





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [Pljava-dev] VM death with PlJava
@ 2006-05-09 07:22  
  parent: 
  0 siblings, 0 replies; 3+ messages in thread

From:  @ 2006-05-09 07:22 UTC (permalink / raw)

Hi all,

I get exactly this error when I have a version mismatch between pljava.jar 
and libpljava.so (or dll). Are you sure you are loading the pljava library 
of the same version like pljava.jar?

Filip


----- Original Message ----- 
From: "Thomas Hallgren" <thomas at tada.se>
To: "Greg Bowyer" <gbowyer at fastmail.co.uk>
Cc: <pljava-dev at gborg.postgresql.org>
Sent: Monday, May 08, 2006 6:51 PM
Subject: Re: [Pljava-dev] VM death with PlJava


> Hi Greg,
> Nothing that you do should ever cause a VM crash. What version of
> PL/Java, Java VM, and PostgreSQL are you running and on what platform?
>
> Regards,
> Thomas Hallgren
>
> Greg Bowyer wrote:
>> Hi guys, I am trying to usw PLJava to do triggers, I have done the
>> install from source, however when i try the following quick test
>>
>> CREATE FUNCTION getsysprop(VARCHAR)
>>   RETURNS VARCHAR
>>   AS 'java.lang.System.getProperty'
>>   LANGUAGE java;
>>
>> SELECT getsysprop('user.home');
>>
>> I get
>>
>> INFO: Execption
>> INFO: in thread "main"
>> ERROR: Java exit monitor failure (final)
>>
>> In the postgresql datadir I get java VM death logs, i have attached one
>> to this message.
>>
>> Any ideas what I am doing wrong here ???
>>
>> Many thanks
>>
>> Greg Bowyer
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Pljava-dev mailing list
>> Pljava-dev at gborg.postgresql.org
>> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev 





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2006-05-09 07:22 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-08 11:05 [Pljava-dev] VM death with PlJava 
2006-05-08 16:51 ` 
2006-05-09 07:22   ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox