RE: Fwd: no DataSourceFactory configured for the connection

2009-08-26 Thread Greg Monroe
Based on the fact that the "no DataSourceFactory configured.." message is probably using the Torque.getDefaultDB() to get the "DATABASE" string, I think that you are probably not getting the config file you think your are. You mentioned Turbine. I don't use this so

Re: Fwd: no DataSourceFactory configured for the connection

2009-08-26 Thread Emmanuel Bardet
gt; >> If this isn't the case, please supply more details. >> >> >> > -Original Message----- >> > From: Shaista Shekh [mailto:shaista.sh...@gmail.com] >> > Sent: Tuesday, August 25, 2009 1:25 AM >> > To: torque-user@db.apache.org >> >

Fwd: no DataSourceFactory configured for the connection

2009-08-25 Thread Shaista Shekh
uesday, August 25, 2009 1:25 AM > > To: torque-user@db.apache.org > > Subject: no DataSourceFactory configured for the connection > > > > I have migrated turbine 2.3.3 with ant. > > While I start the webserver/applicationserver everything works fine > > i am try

Re: no DataSourceFactory configured for the connection

2009-08-25 Thread Shaista Shekh
ailto:shaista.sh...@gmail.com] > > Sent: Tuesday, August 25, 2009 1:25 AM > > To: torque-user@db.apache.org > > Subject: no DataSourceFactory configured for the connection > > > > I have migrated turbine 2.3.3 with ant. > > While I start the webserver/applicationse

RE: no DataSourceFactory configured for the connection

2009-08-25 Thread Greg Monroe
; To: torque-user@db.apache.org > Subject: no DataSourceFactory configured for the connection > > I have migrated turbine 2.3.3 with ant. > While I start the webserver/applicationserver everything works fine > i am trying to logged in it is showing below given error in log file. > > &quo

no DataSourceFactory configured for the connection

2009-08-24 Thread Shaista Shekh
I have migrated turbine 2.3.3 with ant. While I start the webserver/applicationserver everything works fine i am trying to logged in it is showing below given error in log file. "There was no DataSourceFactory configured for the connection DATABASE" Please guide me in this regard Thanking you

Re: No DataSourceFactory configured

2008-02-12 Thread Owen B. Mehegan
ith this error: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection recoverable But my Torque.properties _does_ include a datasource called 'recoverable:' torque.dsfactory.recoverable.factory=com.friend.db.RecoverableDataSourceFactory torque.dsfactory.r

Re: No DataSourceFactory configured

2008-02-07 Thread Guy Galil
> case. I have a unit test that is using Easymock to create mock database > objects to test against. When I run the test, it always fails with this > error: > > java.lang.NullPointerException: There was no DataSourceFactory > configured for the connection recoverable &g

Re: No DataSourceFactory configured

2008-02-07 Thread Owen B. Mehegan
or: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection recoverable But my Torque.properties _does_ include a datasource called 'recoverable:' torque.dsfactory.recoverable.factory=com.friend.db.RecoverableDataSourceFactory

Re: No DataSourceFactory configured

2008-02-07 Thread Owen B. Mehegan
ock.jdbc.MockDriver I've tried using all three of these in my test. One of them fails with the same "There was no DataSourceFactory configured" error as 'recoverable.' The other two fail with: java.util.NoSuchElementException: Could not create a validated object I'

Re: No DataSourceFactory configured

2008-02-07 Thread Owen B. Mehegan
ng Easymock to create mock database objects to test against. When I run the test, it always fails with this error: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection recoverable But my Torque.properties _does_ include a datasource called

Re: No DataSourceFactory configured

2008-02-07 Thread Alvaro Coronel
that is using Easymock to create mock database objects to test against. When I run the test, it always fails with this error: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection recoverable But my Torque.properties _does_ include a data

Re: No DataSourceFactory configured

2008-02-06 Thread Frank Nguyen
e a unit test that is using Easymock to create mock database objects to test against. When I run the test, it always fails with this error: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection recoverable But my Torque.properties _does_ incl

No DataSourceFactory configured

2008-02-06 Thread Owen B. Mehegan
his error: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection recoverable But my Torque.properties _does_ include a datasource called 'recoverable:' torque.dsfactory.recoverable.factory=com.friend.db.Recovera

Re: no DataSourceFactory configured

2007-01-24 Thread Pierre-Alain Branger
what do you mean by "I am sure whethet mysql accepts >> > connections >> >> >> without specifying a database user (as you did)"? >> >> >> I can connect to mysql by mysql -u user -p but if I don't specify >> >> user >> >

Re: no DataSourceFactory configured

2007-01-24 Thread Thomas Fischer
;> >> > >> >> Thanks again for your help, > >> >> > >> >> Pierre > >> >> > >> >>> This usually means that connecting to the database failed. Possible > >> >>> reasons > >> >>> are > >> >>>

Re: no DataSourceFactory configured

2007-01-23 Thread Pierre-Alain Branger
usually means that connecting to the database failed. Possible >> >>> reasons >> >>> are >> >>> - the database is not started >> >>> - the connection url, password or username are wrong in the >> >>> c

Re: no DataSourceFactory configured

2007-01-23 Thread Pierre-Alain Branger
"); However, the Torque code still generate the same error: Code --- Application app = new Application(); app.setIdapp(0); app.setNameapp("Blast"); app.setPathapp("/home/pbranger/blast"); app.save(); Error --- java.lang.NullPoi

Re: no DataSourceFactory configured

2007-01-23 Thread Thomas Fischer
t; >>> Loking at your configuration, I am sure whethet mysql accepts > >>> connections > >>> without specifying a database user (as you did) > >>> > >>> Thomas > >>> > >>> "Pierre-Alain Branger" <[EMAIL PROTE

Re: no DataSourceFactory configured

2007-01-22 Thread Pierre-Alain Branger
sure whethet mysql accepts >>> connections >>> without specifying a database user (as you did) >>> >>> Thomas >>> >>> "Pierre-Alain Branger" <[EMAIL PROTECTED]> schrieb am 20.01.2007 >>> 02:04:11: >>> &

Re: no DataSourceFactory configured

2007-01-22 Thread Guy Galil
; >> I follow the tutorial and could generate my mysql database and the > >> corresponding java access classes. I made a jar and add it to a java > >> project that compiled well. But when I launch my application I obtain > >> the > >>

Re: no DataSourceFactory configured

2007-01-22 Thread Thomas Fischer
corresponding java access classes. I made a jar and add it to a java project that compiled well. But when I launch my application I obtain the following message: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection BddPortalCCG at org.apache

Re: no DataSourceFactory configured

2007-01-22 Thread Pierre-Alain Branger
a >> project that compiled well. But when I launch my application I obtain >> the >> following message: >> >> java.lang.NullPointerException: There was no DataSourceFactory >> configured >> for the connection BddPortalCCG >> at >>

Re: no DataSourceFactory configured

2007-01-22 Thread Thomas Fischer
ct that compiled well. But when I launch my application I obtain the > following message: > > java.lang.NullPointerException: There was no DataSourceFactory configured > for the connection BddPortalCCG > at > org.apache.torque.TorqueInstance.ge

RE: no DataSourceFactory configured

2007-01-22 Thread Robert Kromkamp
Hi Pierre, Everything seems to be ok! Is the torque.properties in your classpath? Regards, Robert -Original Message- From: Pierre-Alain Branger [mailto:[EMAIL PROTECTED] Sent: Saturday, January 20, 2007 2:04 AM To: torque-user@db.apache.org Subject: no DataSourceFactory configured Hi

no DataSourceFactory configured

2007-01-19 Thread Pierre-Alain Branger
DataSourceFactory configured for the connection BddPortalCCG at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:711) at org.apache.torque.Torque.getConnection(Torque.java:268) at org.apache.torque.util.Transaction.beginOptional(Transaction.java:80) at

RE: There was no DataSourceFactory configured for the connection DATABASE

2006-11-24 Thread Greg Monroe
orque Users List Subject: RE: There was no DataSourceFactory configured for the connection DATABASE Do you mean the maxIdle property in: http://jakarta.apache.org/commons/dbcp/configuration.html <http://jakarta.apache.org/commons/dbcp/configuration.html> Robert -Original Messag

RE: There was no DataSourceFactory configured for the connection DATABASE

2006-11-23 Thread Robert Kromkamp
configured for the connection DATABASE Robert Kromkamp wrote: > "There was no DataSourceFactory configured for the connection DATABASE". > When I restart the webserver/applicationserver everything works fine > again. Do you have any ideas what will be the best why to handle this?

Re: There was no DataSourceFactory configured for the connection DATABASE

2006-11-23 Thread Thomas Vandahl
Robert Kromkamp wrote: > "There was no DataSourceFactory configured for the connection DATABASE". > When I restart the webserver/applicationserver everything works fine > again. Do you have any ideas what will be the best why to handle this? > Is there a way to check if

There was no DataSourceFactory configured for the connection DATABASE

2006-11-23 Thread Robert Kromkamp
be set up. The Error which will occur: "There was no DataSourceFactory configured for the connection DATABASE". When I restart the webserver/applicationserver everything works fine again. Do you have any ideas what will be the best why to handle this? Is there a way to check if the curr

RE: executeQuery() causes NullPointerException no DataSourceFactory configured for the connection; while all other querries built using criterias work fine.

2005-06-24 Thread Thomas Fischer
ave a few statements that I used executeQuery() for. They throw the > following exception > This is the stack trace: > java.lang.NullPointerException: There was no DataSourceFactory configured > for the connection sibylconsulting > at org.apache.torque.TorqueInstance.getConnection

executeQuery() causes NullPointerException no DataSourceFactory configured for the connection; while all other querries built using criterias work fine.

2005-06-23 Thread Boris Glants
I have a few statements that I used executeQuery() for. They throw the following exception This is the stack trace: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection sibylconsulting at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java

RE: torque failing within junit "no DataSourceFactory configured "

2004-11-17 Thread Angela Day
ginal Message- From: Thomas Fischer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 2:46 AM To: Apache Torque Users List Subject: RE: torque failing within junit "no DataSourceFactory configured " Hi, which Torque version are you using ? Cannot fin

RE: torque failing within junit "no DataSourceFactory configured "

2004-11-17 Thread Angela Day
ginal Message- From: Thomas Fischer [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 17, 2004 2:46 AM To: Apache Torque Users List Subject: RE: torque failing within junit "no DataSourceFactory configured " Hi, which Torque version are you using ? Cannot fin

RE: torque failing within junit "no DataSourceFactory configured "

2004-11-17 Thread Thomas Fischer
ry > Throwable: > null > > Angela Day > > > -Original Message- > From: Angela Day [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 16, 2004 1:09 PM > To: 'Apache Torque Users List' > Subject: torque failing within junit "no DataSourceFactor

Antwort: torque failing within junit "no DataSourceFactory configured"

2004-11-17 Thread Thomas Fischer
Day <[EMAIL PROTECTED]> schrieb am 16.11.2004 20:08:33: > Torque works great while running the app or while running the junit tests > from the command line, but within eclipse, running a junit test, I get the > error "no DataSourceFactory configured for connection default&

RE: torque failing within junit "no DataSourceFactory configured "

2004-11-16 Thread Angela Day
: org.apache.torque.dsfactory.TorqueDataSourceFactory Throwable: null Angela Day -Original Message- From: Angela Day [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 1:09 PM To: 'Apache Torque Users List' Subject: torque failing within junit "no DataSourceFactory configured" Torque works great w

torque failing within junit "no DataSourceFactory configured"

2004-11-16 Thread Angela Day
Torque works great while running the app or while running the junit tests from the command line, but within eclipse, running a junit test, I get the error "no DataSourceFactory configured for connection default". It fails on the Torque.getConnection command. I have reviewed all of the

java.lang.NullPointerException: There was no DataSourceFactory configured for the connection TestApp1

2004-11-13 Thread Klaus Haertel
Hi, I get this NullPointerException, although I do have the following in my project.properties AND in torque.properties. (I am using torque with turbine 2.3.1) torque.database.default = TestApp1 torque.database.TestApp1.adapter = mysql # Using commons-dbcp torque.dsfactory.TestApp1.factory = or

No DataSourceFactory configured issue

2004-09-24 Thread John Harris
y to login I get the error: "java.lang.NullPointerException: There was no DataSourceFactory configured for the connection SAMPLEAPP". I've looked through the archives but haven't found a specific answer for this. I've set all the dsfactory options I know of, still with n

There was no DataSourceFactory configured for the connection Cari

2004-06-15 Thread Don Vawter
E tbl_CariMembers.LASTNAME LIKE '%aw%' AND tbl_CariMembers.FIRSTNAME LIKE '%%' DEBUG http8080-Processor3 org.apache.torque.util.Transaction - called safeRollback with null argument DEBUG http8080-Processor3 com.vawter.cari.SearchAction - Torque ExceptionThere was no DataSourceFactor

Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore

2003-10-27 Thread David Chelimsky
- From: "Sergey Moiseyev" <[EMAIL PROTECTED]> To: "Apache Torque Users List" <[EMAIL PROTECTED]> Sent: Monday, October 27, 2003 8:56 PM Subject: Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore >

Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore

2003-10-27 Thread Sergey Moiseyev
that I'm following the tutorial (http://db.apache.org/torque/tutorial) to the letter, but when I get to executing the Bookstore program (java com.kazmier.Bookstore), I get the following message: java.lang.NullPointerException: There was no DataSourceFactory configured

Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore

2003-10-27 Thread David Chelimsky
: "Apache Torque Users List" <[EMAIL PROTECTED]> Sent: Sunday, October 26, 2003 8:53 PM Subject: Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore > Hi David > > Try to add the following lines to your property file: >

Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore

2003-10-26 Thread David Chelimsky
, duplicate key generation is possible if multiple JVMs are used or other means are used to write to the database. [DEBUG] IDBroker - -IDBroker thread was started. java.lang.NullPointerException: There was no DataSourceFactory configured for the connection books

Re: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore

2003-10-26 Thread Sergey Moiseyev
store), I get the following message: java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:749) at org.apache.torque.Torque.getConnection(Torque.java:306)

java.lang.NullPointerException: There was no DataSourceFactory configured for the connection bookstore

2003-10-26 Thread David Chelimsky
Hi. I believe that I'm following the tutorial (http://db.apache.org/torque/tutorial) to the letter, but when I get to executing the Bookstore program (java com.kazmier.Bookstore), I get the following message: java.lang.NullPointerException: There was no DataSourceFactory configured fo

no DataSourceFactory configured for the connection

2003-10-15 Thread Richard Hill
e create-db" it tried to create a database with a name in all caps. I specified torque.project = pitchers in the build.properties files, but torque contiues to try to connect to PITCHERS. Is there a case sensitivity issue? java.lang.NullPointerException: There was no DataSourceFactory configure