agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] pljava.dll - bogus error
5+ messages / 2 participants
[nested] [flat]

* [Pljava-dev] pljava.dll - bogus error
@ 2008-02-01 20:06  
  0 siblings, 1 reply; 5+ messages in thread

From:  @ 2008-02-01 20:06 UTC (permalink / raw)

Please improve error reporting for this:

org.postgresql.util.PSQLException: ERROR: could not load library "C:/Program
Files/PostgreSQL/8.2/lib/pljava.dll": The specified module could not be
found.


thanks,
jc





^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [Pljava-dev] pljava.dll - bogus error
@ 2008-02-01 20:49  Kris Jurka <books@ejurka.com>
  parent: 
  0 siblings, 1 reply; 5+ messages in thread

From: Kris Jurka @ 2008-02-01 20:49 UTC (permalink / raw)
  To: James Calfee <james@jcalfee.info>; +Cc: pljava-dev@pgfoundry.org; pgsql-general@postgresql.org



On Fri, 1 Feb 2008, James Calfee wrote:

> Please improve error reporting for this:
>
> org.postgresql.util.PSQLException: ERROR: could not load library "C:/Program
> Files/PostgreSQL/8.2/lib/pljava.dll": The specified module could not be
> found.
>

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.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [Pljava-dev] pljava.dll - bogus error
@ 2008-02-01 22:40  Guy Rouillier <guyr-ml1@burntmail.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Guy Rouillier @ 2008-02-01 22:40 UTC (permalink / raw)
  To: pljava-dev@pgfoundry.org; pgsql-general@postgresql.org

Kris Jurka wrote:
> 
> 
> On Fri, 1 Feb 2008, James Calfee wrote:
> 
>> Please improve error reporting for this:
>>
>> org.postgresql.util.PSQLException: ERROR: could not load library 
>> "C:/Program
>> Files/PostgreSQL/8.2/lib/pljava.dll": The specified module could not be
>> found.
>>
> 
> 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?

-- 
Guy Rouillier



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* Re: [Pljava-dev] pljava.dll - bogus error
@ 2008-02-01 23:31  Kris Jurka <books@ejurka.com>
  parent: Guy Rouillier <guyr-ml1@burntmail.com>
  0 siblings, 1 reply; 5+ messages in thread

From: Kris Jurka @ 2008-02-01 23:31 UTC (permalink / raw)
  To: Guy Rouillier <guyr-ml1@burntmail.com>; +Cc: pljava-dev@pgfoundry.org; pgsql-general@postgresql.org



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-...

Kris Jurka



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* [Pljava-dev] [GENERAL]  pljava.dll - bogus error
@ 2012-10-16 10:49  
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 5+ messages in thread

From:  @ 2012-10-16 10:49 UTC (permalink / raw)

Merci pour cette remarque;

comment faire dont pour que pljava et   jvm.dll  cohabitent, puis que  j'ai
le m?me probl?me et je ne parviens pas ? le resoudre il ya deux semaines.

Merci de me r?pondre 



--
View this message in context: http://postgresql.1045698.n5.nabble.com/pljava-dll-bogus-error-tp2207232p5728404.html
Sent from the PL/Java mailing list archive at Nabble.com.




^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2012-10-16 10:49 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-02-01 20:06 [Pljava-dev] pljava.dll - bogus error 
2008-02-01 20:49 ` Kris Jurka <books@ejurka.com>
2008-02-01 22:40   ` Guy Rouillier <guyr-ml1@burntmail.com>
2008-02-01 23:31     ` Kris Jurka <books@ejurka.com>
2012-10-16 10:49       ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox