X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7585852A3D for ; Thu, 24 Mar 2005 23:07:09 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 00177-05 for ; Thu, 24 Mar 2005 23:06:59 +0000 (GMT) Received: from web40525.mail.yahoo.com (web40525.mail.yahoo.com [66.218.92.45]) by svr1.postgresql.org (Postfix) with SMTP id CB57453433 for ; Thu, 24 Mar 2005 23:06:58 +0000 (GMT) Received: (qmail 31983 invoked by uid 60001); 24 Mar 2005 23:07:00 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=HZIPWJJmXm/Y9irP4mPax7RBoXJ0gCjSGOcAKxtwb89FFfONBsg9EhNOiL8sSjYJ3NBaMM/wIRIiLW1E1SVuuA+gvPs7e2g8uir6iMv2+ACWjFInfLmzInOr/gPqfOzVquvwDscb9E8rv99bztGlYRccwrqqIOgjcPUY9XKHTXY= ; Message-ID: <20050324230700.31981.qmail@web40525.mail.yahoo.com> Received: from [24.87.63.31] by web40525.mail.yahoo.com via HTTP; Thu, 24 Mar 2005 15:06:59 PST Date: Thu, 24 Mar 2005 15:06:59 -0800 (PST) From: Vernon Subject: Re: Unable to make a connention through jdbc To: pg@fastcrypt.com, pgsql-jdbc@postgresql.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.703 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200503/192 X-Sequence-Number: 12584 Hi, Dave, I already tried all the three drivers under the 8.0/jdbc directry and get the same error message. Can you provide a URL of the documentation in regarding of the difference among the three drivers. I will change the server character configuration to overcome this problem. I had a typo in my email of the IP address. Thanks a lot for your promptly helps. Vernon --- Dave Cramer wrote: > Try your other one again, and fix the ip address. > > these are two different errors. > > dave > > Vernon wrote: > > >I find out that problem is about the driver > >configuration. I install another Java DB client > >DbVisualizer 4.2.2 and configure the driver by > >selecting one of three drivers (why three? anyone > >would be fine?), I get the error which I only get a > >warming in a comman prompt: > > > >org.postgresql.util.PSQLException: Backend start-up > >failed: FATAL: conversion between UNICODE and > >MULE_INTERNAL is not supported. > > at > >org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:443) > > at > >org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:98) > > at > >org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65) > > at > >org.postgresql.jdbc2.AbstractJdbc2Connection.(AbstractJdbc2Connection.java:117) > > at > >org.postgresql.jdbc2.Jdbc2Connection.(Jdbc2Connection.java:24) > > at org.postgresql.Driver.connect(Driver.java:195) > > at > >java.sql.DriverManager.getConnection(DriverManager.java:525) > > at > >java.sql.DriverManager.getConnection(DriverManager.java:140) > > at > >com.onseven.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:40) > > at > com.onseven.dbvis.sql.Database.doConnect(Unknown > >Source) > > at > com.onseven.dbvis.sql.Database.access$000(Unknown > >Source) > > at > >com.onseven.dbvis.sql.Database$ConnectionCommand.execute(Unknown > >Source) > > at > >se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:163) > > at > >se.pureit.util.ThreadCommand.run(ThreadCommand.java:143) > > at java.lang.Thread.run(Thread.java:595) > > > >--- Dave Cramer wrote: > > > > > >>Ya have to give us more than that, stack trace ? > My > >>obi-wan-kanobi wand > >>seems not to be working > >> > >>--dc-- > >> > >>Vernon wrote: > >> > >> > >> > >>>After installed the Window version of PG 8.0.1, I > >>> > >>> > >>am > >> > >> > >>>able to access the server through both the > command > >>>prompt and the pgAdmin III. I, however, am not > able > >>> > >>> > >>to > >> > >> > >>>get the access through either Eclipse and Aqua > Data > >>>Studio with jdbc. In the Eclipse, I have > >>> > >>>Database type - jdbc > >>>Data source URL - > >>>jdbc:postgresql://127.0.0.1:5432/template1 > >>> > >>>The error message says that the settings are not > >>>right. > >>> > >>>I check a few times and can't see any wrong with > my > >>>connection setting. > >>> > >>>Any idea? > >>> > >>>Thanks, > >>> > >>>Vernon > >>> > >>> > >>> > >>>__________________________________ > >>>Do you Yahoo!? > >>>Yahoo! Small Business - Try our new resources > site! > >>>http://smallbusiness.yahoo.com/resources/ > >>> > >>>---------------------------(end of > >>> > >>> > >>broadcast)--------------------------- > >> > >> > >>>TIP 5: Have you checked our extensive FAQ? > >>> > >>> http://www.postgresql.org/docs/faq > >>> > >>> > >>> > >>> > >>> > >>> > >>-- > >>Dave Cramer > >>http://www.postgresintl.com > >>519 939 0336 > >>ICQ#14675561 > >> > >> > >> > >> > > > > > > > >__________________________________ > >Do you Yahoo!? > >Yahoo! Small Business - Try our new resources site! > >http://smallbusiness.yahoo.com/resources/ > > > > > > > > > > -- > Dave Cramer > http://www.postgresintl.com > 519 939 0336 > ICQ#14675561 > > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/