Hi Bonnie, ----- Original Message ----- From: "Bonnie MacKellar" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2003 11:27 PM Subject: regression test errors
> > OK, now that I have a build, how do I go about understanding > and fixing errors in the regressions tests? > > My environment : built with JSDK1.4.0_03 > DBMS is MSSqlServer2000 > JDBC driver is JTurbo 3.0.2 JDBC 2.1 Driver > > I get several errors in the broker tests : > Testsuite: org.apache.ojb.broker.AllTests > Tests run: 187, Failures: 2, Errors: 10, Time elapsed: 50.583 sec > > Most of these errors seem to be socket failures > JTurbo 3.0.2 JDBC 2.1 Driver]: Communication Link Failure. Socket Closed > [org.apache.ojb.broker.util.sequence.SequenceManagerHelper] WARN: Cannot > lookup max value from table SM_TAB_BB for column SM_ID, PB was > [EMAIL PROTECTED], using > jdbc-descriptor > [EMAIL PROTECTED] > Seems a problem with the used sequence manager (SequenceManagerHighLowImpl). Try to run the test cases with SequenceManagerInMemoryImpl Do you get the same results? > or connection problems > > Error getting Connection from DriverManager with url > (jdbc:JTurbo://W2KBMACKELL/ActiveBill) and driver > (com.newatlanta.jturbo.driver.Driver): Login failed for user '!!TestCase: > This should fail!!'. > Used ConnectionManager instance could not obtain a connection: Could not > borrow connection from pool - > org.apache.ojb.broker.metadata.JdbcConnectionDescriptor: > [EMAIL PROTECTED] This test case have to fail, ignore the error message. > > Now, I have successfully used JTurbo and this DBMS in the past to do > connection pooling under Weblogic, so I don't think there is a DBMS > configuration problem. > > What is the best way to attack this sort of problem? What files should I be > looking at? All ;-) OK, good initial point are the ConnectionFactory implementation classes (default is ConnectionFactoryPooledImpl) manage the connections. ConnectionManagerImpl does the connection tx/life cycle handling. regards, Armin > > thanks, > Bonnie MacKellar > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
