db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Dudziak <tom...@gmail.com>
Subject Connection problems on Db2
Date Wed, 15 Feb 2006 23:48:15 GMT
Hi,

after I adapted the unit tests so that they run on Db2 (i.e.
shortended the identifiers to have a maximum of 18 characters), I get
into other problems. After a couple of tests, I quite often get this
error:

org.apache.ojb.broker.PersistenceBrokerException: Set autoCommit(false) failed
	at org.apache.ojb.broker.platforms.PlatformDefaultImpl.changeAutoCommitState(PlatformDefaultImpl.java:225)
	at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.localBegin(ConnectionManagerImpl.java:180)
	at org.apache.ojb.broker.core.PersistenceBrokerImpl.beginTransaction(PersistenceBrokerImpl.java:450)
	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(DelegatingPersistenceBroker.java:183)
	at org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransaction(DelegatingPersistenceBroker.java:183)
	at org.apache.ojb.broker.MultipleDBTest.testInsertDeleteNoAutoSequence(MultipleDBTest.java:191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Caused by: COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC-Treiber] CLI0614E
 Fehler beim Senden an den Socket, der Server reagiert nicht.
SQLSTATE=08S01
	at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwSendError(SQLExceptionGenerator.java:520)
	at COM.ibm.db2.jdbc.net.DB2Request.send(DB2Request.java:666)
	at COM.ibm.db2.jdbc.net.DB2Request.sendAndRecv(DB2Request.java:588)
	at COM.ibm.db2.jdbc.net.DB2Connection.setAutoCommit(DB2Connection.java:740)
	at org.apache.ojb.broker.platforms.PlatformDefaultImpl.changeAutoCommitState(PlatformDefaultImpl.java:214)
	... 22 more

Test configuration is standard (as in SVN) without changes. Could this
be a connection leak somewhere in the tests (or in OJB) ?

Tom

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


Mime
View raw message