Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 66B882E0198 for ; Fri, 1 Feb 2008 19:31:53 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 45673-07 for ; Fri, 1 Feb 2008 19:31:43 -0400 (AST) Received: from mail63.csoft.net (leary.csoft.net [205.205.214.5]) by postgresql.org (Postfix) with SMTP id CE8252E018E for ; Fri, 1 Feb 2008 19:31:48 -0400 (AST) Received: (qmail 18406 invoked by uid 1112); 1 Feb 2008 23:31:47 -0000 Date: Fri, 1 Feb 2008 18:31:47 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Guy Rouillier cc: pljava-dev@pgfoundry.org, pgsql-general@postgresql.org Subject: Re: [Pljava-dev] pljava.dll - bogus error In-Reply-To: <47A39FF2.8070004@burntmail.com> Message-ID: References: <47A37BC9.6050009@jcalfee.info> <47A39FF2.8070004@burntmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/39 X-Sequence-Number: 127849 On Fri, 1 Feb 2008, Guy Rouillier wrote: > Kris Jurka wrote: >> >> Unfortunately this error message comes from the server which gets it from >> windows. So pljava is at least two steps removed from it, so we're in no >> position to improve it. Perhaps the server guys can coax some more details >> out of windows. > > I looked on archives for both mailing lists and could not find this email > thread. This error happened to me years ago and I don't remember what the > real issue was. Could you point to the actual problem and I'll see if > Windows can identify it? The problem is that pljava.dll depends on jvm.dll, when jvm.dll is not available pljava.dll can't be loaded. That problem is true of any shared library, but it often hits pljava because jvm.dll is in different places for different people. That's not the only potential error though. Consider the latest security releases that adjusted an API that pljava uses. If you try to run a pljava that was built for 8.2.5 against a 8.2.6 server it won't load because of missing symbols. Here's the windows code to open a dll. If there's any way to get more information out of the error message, we'd love to hear it: http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/dynloader/win32.c?rev=1.9;content-type=text%2Fx-cvsweb-markup Kris Jurka