db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff cox" <J...@cwindustries.net>
Subject RE: NullPointerException ond doSelect
Date Tue, 01 Apr 2003 20:35:49 GMT
WOW!! What a major oversight... I am not sure exactly what my earlier
problems were... Maybe that I was not using the jdbc2pool... I had the
config correct when using the "old" setup. However, changing that
certainly made a difference... Thanks a lot, and sorry to have troubled
you with such a trivial issue. I must have just been staring at the
thing way to long...

Jeff

-----Original Message-----
From: Bill Schneider [mailto:bschneider@vecna.com] 
Sent: Tuesday, April 01, 2003 2:18 PM
To: Turbine Torque Users List; jeff@cwindustries.net
Subject: Re: NullPointerException ond doSelect


check Torque.properties.  Your default database doesn't have a URL,
username or password associated with it.

-- Bill

> ----- Torque.properties ----
>
> torque.database.default = default 
> torque.database.default.adapter=postgresql
>
> ## Using Jdbc2Pool 
> torque.dsfactory.default.factory=org.apache.torque.dsfactory.Jdbc2Pool
> Da
> taSourceFactory
> torque.dsfactory.default.pool.defaultMaxActive=10
> torque.dsfactory.default.pool.testOnBorrow=true
> torque.dsfactory.default.pool.validationQuery=SELECT 1
> torque.dsfactory.default.connection.driver = org.postgresql.Driver
> torque.dsfactory.bookstore.connection.url =
> jdbc:postgresql://mcgonagle.cwindustries.net:5432/RANSBURGBSA_DEV
> torque.dsfactory.bookstore.connection.user = casc
> torque.dsfactory.bookstore.connection.password = password
>
> --- schema.xml ---




---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org





Mime
View raw message