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

From: yaer1975 at yahoo(dot)com (yaer yang)
To:
Subject: [Pljava-dev] Re: Pljava-dev Digest, Vol 22, Issue 1
Date: 2005-12-05 02:17:07
Message-ID: 20051205021707.13839.qmail@web34701.mail.mud.yahoo.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pljava-dev

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.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,but
in i386,i found the both.can you give me some advice about how Gentoo init jdk?

------------------------------

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20051204/f98653be/attachment.html>

Responses

Browse pljava-dev by date

  From Date Subject
Next Message Thomas Hallgren 2005-12-05 07:12:35 [Pljava-dev] Re: Pljava-dev Digest, Vol 22, Issue 1
Previous Message Thomas Hallgren 2005-12-01 07:07:19 [Pljava-dev] select sqlj.install_jar error with Gentoo