From: yaer1975 at yahoo.com (yaer yang) Date: Sun, 4 Dec 2005 18:17:07 -0800 (PST) Subject: [Pljava-dev] Re: Pljava-dev Digest, Vol 22, Issue 1 In-Reply-To: <20051201120034.E0A353B20AE@gborg.postgresql.org> Message-ID: <20051205021707.13839.qmail@web34701.mail.mud.yahoo.com> 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: