Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 92528 invoked from network); 10 Feb 2004 22:36:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 10 Feb 2004 22:36:16 -0000 Received: (qmail 87521 invoked by uid 500); 10 Feb 2004 22:35:58 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 87504 invoked by uid 500); 10 Feb 2004 22:35:58 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 87440 invoked from network); 10 Feb 2004 22:35:57 -0000 Received: from unknown (HELO rekin6.o2.pl) (212.126.20.11) by daedalus.apache.org with SMTP; 10 Feb 2004 22:35:57 -0000 Received: from poczta.o2.pl (rekin5.o2.pl [212.126.20.9]) by rekin6.o2.pl (o2.pl Mailer 2.0.1) with ESMTP id B738FD0B77 for ; Tue, 10 Feb 2004 23:36:02 +0100 (CET) From: hicnar_torque_list@o2.pl To: torque-user@db.apache.org Subject: =?iso-8859-2?Q?The_bookstore_example_with_PostgreSQL_-_the_battle?= =?iso-8859-2?Q?_is_over...?= Date: Tue, 10 Feb 2004 23:36:03 +0100 Content-Type: text/plain; charset="iso-8859-2"; Content-Transfer-Encoding: 8bit X-Priority: 1 X-MSMail-Priority: High X-Mailer: o2.pl WebMail v5.05 X-Originator: 80.48.236.130 Message-Id: <20040210223602.B738FD0B77@rekin6.o2.pl> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ...and I'm the winner taa daaaaa :D It took one night with Eclipse all the time in the debug perspective, (and I looked and felt like a zombie at work today morning :)) but finally got it!!! If you're trying to use PostgreSQL and got stuck in the same place I did (everything generates and compiles - problems with running) the clue is... the Torque.properties are supossed to look somewhat like that: log4j.rootCategory = ERROR, default log4j.appender.default = org.apache.log4j.FileAppender log4j.appender.default.file = ./torque.log log4j.appender.default.layout = org.apache.log4j.SimpleLayout torque.database.bookstore.adapter=postgresql torque.dsfactory.bookstore.factory= org.apache.torque.dsfactory.SharedPoolDataSourceFactory torque.dsfactory.bookstore.connection.driver = org.postgresql.Driver torque.dsfactory.bookstore.connection.url = jdbc:postgresql://127.0.0.1/bookstore torque.dsfactory.bookstore.connection.user = DBUser torque.dsfactory.bookstore.connection.password = passwd BTW - Make sure the DBUser has been defined and is privileged to create databases in your system. Cheers Chris --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org