RE: Postgresql error: NullPointerException at getTables(DatabaseMetaData.java:1707)

2001-06-26 Thread Tim Drury




Sounds 
like a jdbc driver problem. Which version of postgres are 
you
running? Later versions (I run 7.1) include the jdbc source and it 
is
optionally compiled (see ./configure --help for options). Also 
checkat 
http://www.retep.org.uk/postgres/. 
Perhaps an older jdbc driver did not 
properly implement getTables()?

-tim


  -Original Message-From: Brent Usrey 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 25, 2001 12:12 
  AMTo: Orion-InterestSubject: Postgresql error: 
  NullPointerException at getTables(DatabaseMetaData.java:1707) 
  
  I'm having problem deploying the addressbook 
  example on Postgresql. 
  When Orion tries to build the table I get the 
  error below.
  It works fine if I build the table manually, or 
  if I run it on Hypersonic or Oracle.
  I have been through the article at http://www.orionsupport.com/articles/postgres.htmland 
  still can't get it to work.
  
  Any help is appreciated
  
  Brent
  
  
  Auto-deploying addressbook (New server version 
  detected)...Auto-deploying addressbook-ejb.jar (No previous deployment 
  found)... 
  java.lang.NullPointerException 
  at 
  org.postgresql.jdbc2.DatabaseMetaData.getTables(DatabaseMetaData.java:1707) 
  at com.evermind._au._jlb(Unknown 
  Source) at 
  com.evermind._px._jlb(Unknown 
  Source) at 
  com.evermind._px._bb(Unknown 
  Source) at 
  com.evermind._au._bb(Unknown 
  Source) at 
  com.evermind._dq._qzb(Unknown 
  Source) at 
  com.evermind._ck._qzb(Unknown 
  Source) at 
  com.evermind._ck._at(Unknown 
  Source) at 
  com.evermind.server.ApplicationServer._as(Unknown 
  Source) at 
  com.evermind.server.ApplicationServer._wl(Unknown 
  Source) at 
  com.evermind.server.ApplicationServer._at(Unknown 
  Source) at 
  com.evermind._in.run(Unknown 
  Source) at 
  java.lang.Thread.run(Thread.java:484) 
  at com.evermind._if.run(Unknown 
Source)


Postgresql error: NullPointerException at getTables(DatabaseMetaData.java:1707)

2001-06-24 Thread Brent Usrey



I'm having problem deploying the addressbook 
example on Postgresql. 
When Orion tries to build the table I get the error 
below.
It works fine if I build the table manually, or if 
I run it on Hypersonic or Oracle.
I have been through the article at http://www.orionsupport.com/articles/postgres.htmland 
still can't get it to work.

Any help is appreciated

Brent


Auto-deploying addressbook (New server version 
detected)...Auto-deploying addressbook-ejb.jar (No previous deployment 
found)... 
java.lang.NullPointerException at 
org.postgresql.jdbc2.DatabaseMetaData.getTables(DatabaseMetaData.java:1707) 
at com.evermind._au._jlb(Unknown 
Source) at 
com.evermind._px._jlb(Unknown 
Source) at 
com.evermind._px._bb(Unknown 
Source) at 
com.evermind._au._bb(Unknown 
Source) at 
com.evermind._dq._qzb(Unknown 
Source) at 
com.evermind._ck._qzb(Unknown 
Source) at 
com.evermind._ck._at(Unknown 
Source) at 
com.evermind.server.ApplicationServer._as(Unknown 
Source) at 
com.evermind.server.ApplicationServer._wl(Unknown 
Source) at 
com.evermind.server.ApplicationServer._at(Unknown 
Source) at 
com.evermind._in.run(Unknown 
Source) at 
java.lang.Thread.run(Thread.java:484) 
at com.evermind._if.run(Unknown Source)