agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] Re: latest pljava rebuild on PG8 failure
Date: Fri, 28 Oct 2005 16:37:58 +0200
Message-ID: <436237C6.4000109@tada.se> (raw)
In-Reply-To: <43620B82000008A7@mail-2.mail.tiscali.sys>
References: <43620B82000008A7@mail-2.mail.tiscali.sys>

I'll check the CVS again to see if I've made a mistake there. Meanwhile, perhaps you can 
check that your environment is consistent. The problem you are experiencing would typically 
happen if your backend still points to the old pljava.jar but uses the new compiled binary.

Regards,
Thomas Hallgren

rcolmegna at tiscali.it wrote:
> Hi,
> 
> I rebuilded lastest PLJAVA/CVS on krn 2.6.11, with PG8.0.3 and JDK 1.5.0_04.
> The rebuild is executed correctly but when I obtain a run-time error:
> 
> -bash-3.00$ psql -d javatest
> javatest=# SELECT sqlj.remove_jar('log4j','true');
> INFO:  Exception
> INFO:  in thread "main"
> ERROR:  Unable to register native methods
> 
> javatest=# SELECT sqlj.remove_jar('log4j','true');
> ERROR:  Failed to create Java VM
> 
> I have already tried (before psql launch) with:
> export LD_LIBRARY_PATH=/usr/java/java/jre/lib/i386:/usr/java/java/jre/lib/i386/client/
> 
> without any positive result.  :(
> 
> Note: before rebuild PLJAVA, the sqlj.remove_jar works correctly.
> 
> Another question: which compiler I must use to build under Windows?
> 
> TIA
> Roberto Colmegna
> 
> __________________________________________________________________
> TISCALI ADSL
> Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone 
> Telecom a partire da 19,95 Euro/mese.
> Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI:
> http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/





view thread (4+ messages)  latest in thread

Message-ID: <436237C6.4000109@tada.se>
Permalink:  ../436237C6.4000109@tada.se/
Also on:    postgresql.org/message-id/436237C6.4000109@tada.se

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: latest pljava rebuild on PG8 failure
  In-Reply-To: <436237C6.4000109@tada.se>

* 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