Re: DbVisualizer 2.1 exeptions - Mailing list pgsql-general

From Robert Treat
Subject Re: DbVisualizer 2.1 exeptions
Date
Msg-id 1025290582.1709.57.camel@camel
Whole thread Raw
In response to Re: DbVisualizer 2.1 exeptions  (Varun Kacholia <varunk@cse.iitb.ac.in>)
List 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@postgresql.org)
> >
> >
>
> --
>
> Varun
> ------
> @n=(544290696690,305106661574,116357),$b=16,@c=' .JPacehklnorstu'=~
> /./g;for$n(@n){map{$h=int$n/$b**$_;$n-=$b**$_*$h;$c[@c]=$h}c(0..9);
> push@p,map{$c[$_]}@c[c($b..$#c)];$#c=$b-1}print@p;sub'c{reverse @_}
>
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>





pgsql-general by date:

Previous
From: Gregory Seidman
Date:
Subject: Re: serial columns & loads misfeature?
Next
From: Manfred Koizar
Date:
Subject: Re: serial columns & loads misfeature?