If you don't specify the database to connect to, postgres assumes it has the same name as the user (thus trying to connect your ojb user to database ojb). Make a database called ojb:
psql> create database ojb; Or specify the database to connect to. Given that this is for the testing, the first option is probably easier. Cheers... MikeA On Friday 27 December 2002 19:06, awc wrote: > HI all, > > I just started to play with OJB. I have a fresh postgresql 7.3.1 install > on RedHat system. I have OJB-0.9.8. > > 1. I have selected the postgresql as database on build. properties. > 2. On profile/postgresql.profile I have changed the datbaseUser, > databasePassword and host. Add database called OJB. > > 3. When I run prepare-testdb - I get error: build-torque.xml:181 > backend setup failed: FATAL user "ojb" does not exists. > > sounds like this comes from a postgresql Drive. > > Can some one help me please?? > > Thank you in advance for any replies. > > anil > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
