db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sangyoon Oh <ohsa...@cs.indiana.edu>
Subject Torque -- Postgres (Build failed)
Date Mon, 03 Feb 2003 17:11:46 GMT

I am trying to install Torque with Postgres. I just simply follow the 
tutorial on the web and build torque itself was successful. But, when I 
tried to build Database on the Postgres, I've got this error.

[ohsangy@sangay torque-3.0]$ ant -f build-torque.xml create-db
Buildfile: build-torque.xml

[torque-data-model] Generating to file
[torque-data-model] Resolver: used database.dtd from
org.apache.torque.engine.database.transform package
[torque-data-model] Resolver: used
     [echo]       Executing the create-db.sql script ...

file:/home/ohsangy/torque-3.0/build-torque.xml:302: Connection refused.
Check that the hostname and port are correct and that the postmaster is
accepting TCP/IP connections.

Total time: 5 seconds

And this is my build.properties file

torque.project = bookstore

torque.database = postgresql

torque.database.createUrl = jdbc:postgresql://
torque.database.buildUrl = jdbc:postgresql://
torque.database.url = jdbc:postgresql://
torque.database.driver = org.postgresql.Driver
torque.database.user = postgres
torque.database.password =
torque.database.host =

torque.sameJavaName = false


Postgres is installed /usr/local/pgsql. 'postgres' is the owner of it 
and I did not set the password for any user.

I do not know whether URLs or user account on postgres cause an error.
I appreciate in advance for answers.

View raw message