[Pljava-dev] Re: Pljava-dev Digest, Vol 22, Issue 1

From: guyr at masergy(dot)com (Guy Rouillier)
To:
Subject: [Pljava-dev] Re: Pljava-dev Digest, Vol 22, Issue 1
Date: 2005-12-05 18:48:12
Message-ID: CC1CF380F4D70844B01D45982E671B239E8D0C@mtxexch01.add0.masergy.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pljava-dev

Thomas, I use Gentoo AMD64, I'll try to help. See inline comments.

yaer yang wrote:
> yes,Thomas,i just follow your instruction in the pljava homepage.my
> os is Gentoo -amd64,used database named postgresql
> 8-0.3,sun-jdk-1.5.0.05-amd64bits,as you have talked in the
> maillist,when postgresql want to lanuch libpljava.so,fisrt
> postgresql used to lanuch os's loader,then Gentoo find libpljava.so
> with path "/usr/lib64/postgresql",not the path which has been given
> via dynamic_library_path.the error just appeared while i installed it
> with Gentoo.under knoppix and sun-jdk-1.5-32bits,there is no error
> with your instruction. in Gentoo,jdk-64bits,get the "select
> sqlj.install_jar error",in log,i get jvms error.

What error are you getting?

> when i emerge
> sun-jdk,i got that error: unpacking: lib/tools.jar unpacking:
> jre/lib/rt.jar unpacking: jre/lib/jsse.jar unpacking:
> jre/lib/charsets.jar unpacking: jre/lib/ext/localedata.jar
> Error occurred during initialization of VM Dumping a shared archive
> is not supported on the Server JVM. >>> Source unpacked. Be careful:
> sun-jdk-1.5.0.05's Java compiler uses * '-source 1.5' as default.
> Some keywords such as 'enum' * are not valid identifiers any more
> in that mode, * which can cause incompatibility with certain
> sources.when i get into sun-jdk1.5-64bits directory,i can not find
> client subdirectory,just server,butin i386,i found the both.can you
> give me some advice about how Gentoo init jdk?

That correct, the current 64-bit Java for x86 only supports the server
version, not the client version. But that has no impact on the ability
to use PL/Java. The server vs client aspect of JDK only affects
threading prioritites. At any rate, this is a Gentoo emerge issue, and
has nothing to do with PL/Java.

>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Thu, 01 Dec 2005 08:07:19 +0100
> From: Thomas Hallgren
> Subject: Re: [Pljava-dev] select sqlj.install_jar error with Gentoo
> To: yaer yang
> Cc: pljava-dev at gborg.postgresql.org
> Message-ID: <438EA127.2020500 at tada.se>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Yang,
> No special vmoptions should need to be configured. Can you please
> tell me:
> 1. What OS are you on?
> 2. Are you using any special flags when you compile PL/Java or just
> 'make'?
> 3. Can you see some additional info in the backend log file?
>
> Also, perhaps you can try and set "log_min_messages = debug1" in your
> postgresql.conf, restart and reproduce the error, and then again check
> the backend log. I'm interested in the messages that might precede
> your
> error in that log.
>
> I'm concerned that you cannot get the libpljava.so to load without
> copying it. It should load just fine by just setting
> = '$libdir:/build/objs'" in
> postgresql.conf. Are you sure that's the setting you are using (and
> that
> you remove the leading # on that line)?
>
> Regards,
> Thomas Hallgren
>
>
>
>
>
>
>
> Yahoo! Personals
> Single? There's someone we'd like you to meet.
> Lots of someones, actually. Yahoo! Personals

--
Guy Rouillier

Browse pljava-dev by date

  From Date Subject
Next Message fabricio at de9.ime.eb.br 2005-12-06 17:35:14 [Pljava-dev] How call my own Java class
Previous Message Thomas Hallgren 2005-12-05 07:12:35 [Pljava-dev] Re: Pljava-dev Digest, Vol 22, Issue 1