pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedJDBC Error wtih 6.3
3+ messages / 3 participants
[nested] [flat]
* JDBC Error wtih 6.3
@ 1998-03-05 15:44 Schlough, Mark <Mark.Schlough@nmb.norwest.com>
0 siblings, 2 replies; 3+ messages in thread
From: Schlough, Mark @ 1998-03-05 15:44 UTC (permalink / raw)
To: pgsql-interfaces; java-linux-help@java.blackdown.org; petermount@earthling.net; pmount@maidast.demon.co.uk
Hi,
I just installed PostgreSQL 6.3 two days ago. After getting the
postmaster to run without getting the Memory errors that complain
about the IPC stuff, I tried to get my java application running
again.
I was using 6.2.1 and was able to get some of the database
functionality working. But when I run the SAME CODE with the 6.3
data
base I get an SQLException error. Connection Refused.
I am able to look at the database with the psql interface and
create a
table, when I run my java program to create a database I get the
"Connection Refused" stuff. I made sure that the postgresql.jar
files
were replaced with the 6.3 versions. No go.
Any advice about this situation. The "Java in a Nutshell" book
suggested looking to see if the port was "on" or "listening." I
know
that its configured to use port 5432 (the default), but I don't
have
any way of confirming that the port is listening.
Can anybody help?
Mark
^ permalink raw reply [nested|flat] 3+ messages in thread
* RE: [INTERFACES] JDBC Error wtih 6.3
@ 1998-03-05 17:29 Larry Anderson <anderson@endinfosys.com>
parent: Schlough, Mark <Mark.Schlough@nmb.norwest.com>
1 sibling, 0 replies; 3+ messages in thread
From: Larry Anderson @ 1998-03-05 17:29 UTC (permalink / raw)
To: Schlough, Mark <Mark.Schlough@nmb.norwest.com>; +Cc: pmount@maidast.demon.co.uk; petermount@earthling.net; java-linux-help@java.blackdown.org; pgsql-interfaces
Many people, myself included, had problems in that the -i option was not
included on the startup of the postmaster. Without the -i option TCP/IP
sockets are not running. Try the -i option if you haven't already.
Larry
On 05-Mar-98 Schlough, Mark wrote:
> Hi,
>
> I just installed PostgreSQL 6.3 two days ago. After getting the
> postmaster to run without getting the Memory errors that complain
> about the IPC stuff, I tried to get my java application running
> again.
>
> I was using 6.2.1 and was able to get some of the database
> functionality working. But when I run the SAME CODE with the 6.3
> data
> base I get an SQLException error. Connection Refused.
>
> I am able to look at the database with the psql interface and
> create a
> table, when I run my java program to create a database I get the
> "Connection Refused" stuff. I made sure that the postgresql.jar
> files
> were replaced with the 6.3 versions. No go.
>
> Any advice about this situation. The "Java in a Nutshell" book
> suggested looking to see if the port was "on" or "listening." I
> know
> that its configured to use port 5432 (the default), but I don't
> have
> any way of confirming that the port is listening.
>
> Can anybody help?
>
> Mark
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: JDBC Error wtih 6.3
@ 1998-03-05 18:31 Peter T Mount <pmount@maidast.demon.co.uk>
parent: Schlough, Mark <Mark.Schlough@nmb.norwest.com>
1 sibling, 0 replies; 3+ messages in thread
From: Peter T Mount @ 1998-03-05 18:31 UTC (permalink / raw)
To: Schlough, Mark <Mark.Schlough@nmb.norwest.com>; +Cc: pgsql-interfaces; java-linux-help@java.blackdown.org
On Thu, 5 Mar 1998, Schlough, Mark wrote:
> Hi,
>
> I just installed PostgreSQL 6.3 two days ago. After getting the
> postmaster to run without getting the Memory errors that complain
> about the IPC stuff, I tried to get my java application running
> again.
>
> I was using 6.2.1 and was able to get some of the database
> functionality working. But when I run the SAME CODE with the 6.3
> data
> base I get an SQLException error. Connection Refused.
>
> I am able to look at the database with the psql interface and
> create a
> table, when I run my java program to create a database I get the
> "Connection Refused" stuff. I made sure that the postgresql.jar
If the driver reports "Connection Refused" then there is nothing listening
on the server. Check the -i option to postmaster.
--
Peter T Mount petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~1998-03-05 18:31 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-03-05 15:44 JDBC Error wtih 6.3 Schlough, Mark <Mark.Schlough@nmb.norwest.com>
1998-03-05 17:29 ` Larry Anderson <anderson@endinfosys.com>
1998-03-05 18:31 ` Peter T Mount <pmount@maidast.demon.co.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox