Re: Re: [Newbies] basicPortal V0.9 installation

Rick Reumann <[email protected]> Thu, 24 Apr 2003 03:17:46 -0400
Newsgroups gmane.comp.java.mvc.devel
Organization baseBeans Engineering
Message-ID <[email protected]>
On Wed, Apr 23,'03 (09:48 PM GMT-0700), Chris wrote: 
 
> Caused by: Connection refused. Check that the hostname
> and port are correct and that the p
> ostmaster is accepting TCP/IP connections.
>         at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJ
> dbc1Connec tion.java:167)
>         at

Are you sure you did this in postgres (from the docs on this page:
http://www.postgresql.org/docs/view.php?version=7.3&idoc=1&file=jdbc.html#JDBC-SETUP
):

"Because Java only uses TCP/IP connections, the PostgreSQL server must
be configured to accept TCP/IP connections. This can be done by setting
tcpip_socket = true in the postgresql.conf file or by supplying the -i
option flag when starting postmaster."


-- 
Rick