Re: DbVisualizer 2.1 exeptions

From: Robert Treat <rtreat(at)webmd(dot)net>
To: Varun Kacholia <varunk(at)cse(dot)iitb(dot)ac(dot)in>, ktt <kestutis98(at)yahoo(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: DbVisualizer 2.1 exeptions
Date: 2002-06-28 18:56:21
Message-ID: 1025290582.1709.57.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I don't think plugging in localhost will work for a jdbc connection
reference. Try something like

jdbc:postgresql://server:port/dbname

that should do the trick (read: worked for me)

though I am having some other issues with DbVisualizer concerning
jdk/jdbc conflicts of some sort. Assuming you get connected you can
check out the thread in the pgsql-jdbc list.

Robert Treat

On Fri, 2002-06-28 at 12:40, Varun Kacholia wrote:
>
> Hi,
> I am also facing a problem with DbVis.
> (well i know this is not the forum for it..but if anyone can help out :) )
> I have loaded the driver org.postgresql.Driver in it..
> but it fails to connect..(i am giving the proper user/passwd)
> does not give any errors...just stays as it is.
> has anyone experienced like this before?
> thanks for any help
>
>
> On Fri, Jun 28, 2002 at 07:58:39AM -0700, ktt wrote:
> > i'm trying to use DbVisualizer with my postgres 7.21
> > (database was compilled --with-java, for DbVisualizer
> > i'm using org.postgresql.Driver from pgjdbc.jar),
> >
> > but getting an error. maybe the url path is wrong?
> > i'm using "localhost".
> >
> > thank you for any help.
> >
> > errors:
> >
> > Something unusual has occured to cause the driver to
> > fail. Please report this exception: Exception:
> > java.lang.NullPointerException
> > Stack Trace:
> >
> > java.lang.NullPointerException
> > at
> > org.postgresql.Connection.openConnection(Connection.java:155)
> > at org.postgresql.Driver.connect(Driver.java:149)
> > at
> > java.sql.DriverManager.getConnection(DriverManager.java:517)
> > at
> > java.sql.DriverManager.getConnection(DriverManager.java:177)
> > at
> > se.pureit.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:31)
> > at
> > se.pureit.dbvis.Database.doConnect(Database.java:180)
> > at
> > se.pureit.dbvis.Database.access$0(Database.java:170)
> > at
> > se.pureit.dbvis.Database$ConnectionCommand.execute(Database.java:1022)
> > at
> > se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:161)
> > at
> > se.pureit.util.ThreadCommand.run(ThreadCommand.java:141)
> > at java.lang.Thread.run(Thread.java:484)
> > End of Stack Trace
> >
> > Something unusual has occured to cause the driver to
> > fail. Please report this exception: Exception:
> > java.lang.NullPointerException
> > Stack Trace:
> >
> > java.lang.NullPointerException
> > at
> > org.postgresql.Connection.openConnection(Connection.java:155)
> > at org.postgresql.Driver.connect(Driver.java:149)
> > at
> > java.sql.DriverManager.getConnection(DriverManager.java:517)
> > at
> > java.sql.DriverManager.getConnection(DriverManager.java:177)
> > at
> > se.pureit.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:31)
> > at
> > se.pureit.dbvis.Database.doConnect(Database.java:180)
> > at
> > se.pureit.dbvis.Database.access$0(Database.java:170)
> > at
> > se.pureit.dbvis.Database$ConnectionCommand.execute(Database.java:1022)
> > at
> > se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:161)
> > at
> > se.pureit.util.ThreadCommand.run(ThreadCommand.java:141)
> > at java.lang.Thread.run(Thread.java:484)
> > End of Stack Trace
> > 5&
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! - Official partner of 2002 FIFA World Cup
> > http://fifaworldcup.yahoo.com
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> > (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
> >
> >
>
> --
>
> Varun
> ------
> @n=(544290696690,305106661574,116357),$b=16,@c=' .JPacehklnorstu'=~
> /./g;for$n(@n){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[(at)c]=$h}c(0..9);
> push(at)p,map{$c[$_]}(at)c[c($b..$#c)];$#c=$b-1}print(at)p;sub'c{reverse @_}
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Manfred Koizar 2002-06-28 19:01:58 Re: serial columns & loads misfeature?
Previous Message Gregory Seidman 2002-06-28 18:50:46 Re: serial columns & loads misfeature?