You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Bonnie MacKellar <BM...@mobius.com> on 2003/03/26 23:27:17 UTC
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
org.apache.ojb.broker.singlevm.PoolablePersistenceBroker@c46bab, using
jdbc-descriptor
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@5ac3c9[
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:
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@b598bf[
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?
thanks,
Bonnie MacKellar
bmackell@mobius.com
Re: regression test errors
Posted by Armin Waibel <ar...@code-au-lait.de>.
Hi Bonnie,
----- Original Message -----
From: "Bonnie MacKellar" <BM...@mobius.com>
To: "OJB Users List" <oj...@db.apache.org>
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
> org.apache.ojb.broker.singlevm.PoolablePersistenceBroker@c46bab, using
> jdbc-descriptor
> org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@5ac3c9[
>
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:
> org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@b598bf[
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
> bmackell@mobius.com
>