db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Problem running store/OnlineBackupTest1.java with DB2JCC driver
Date Tue, 27 Dec 2005 22:48:34 GMT
I'm having trouble running the test store/OnlineBackupTest1.java
in the DerbyNet (DB2 universal driver) suite.

The symptom is that the test hangs.

I got a thread dump of the hanging process; it seems like the test
is trying to access something that isn't supported by the DB2JCC driver.

Is anyone else having these symptoms?

Any suggestions?

The output from the test is below.

thanks,

bryan

Begin Online Backup Test1
A Transaction with Unlogged Operation Started
Error accessing method setConnectionAttributes
com.ibm.db2.jcc.DB2DataSource.setConnectionAttributes(java.lang.String)
java.lang.NoSuchMethodException: com.ibm.db2.jcc.DB2DataSource.setConnectionAttributes(java.lang.String)
         at java.lang.Class.getMethod(Class.java:986)
         at org.apache.derbyTesting.functionTests.util.TestUtil.getDataSourceWithReflection(TestUtil.java:382)
         at org.apache.derbyTesting.functionTests.util.TestUtil.getDataSource(TestUtil.java:267)
         at org.apache.derbyTesting.functionTests.util.TestUtil.getDataSourceConnection(TestUtil.java:664)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.getConnection(OnlineBackup.java:177)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:69)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:58)
         at java.lang.Thread.run(Thread.java:534)
com.ibm.db2.jcc.c.SqlException: Failure in loading T2 native library db2jcct2
         at com.ibm.db2.jcc.t2.a.a(a.java:31)
         at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:70)
         at com.ibm.db2.jcc.DB2DataSource.getConnection(DB2DataSource.java:64)
         at com.ibm.db2.jcc.DB2DataSource.getConnection(DB2DataSource.java:47)
         at org.apache.derbyTesting.functionTests.util.TestUtil.getDataSourceConnection(TestUtil.java:666)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.getConnection(OnlineBackup.java:177)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:69)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:58)
         at java.lang.Thread.run(Thread.java:534)
com.ibm.db2.jcc.c.SqlException: Failure in loading T2 native library db2jcct2
         at com.ibm.db2.jcc.t2.a.a(a.java:31)
         at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:70)
         at com.ibm.db2.jcc.DB2DataSource.getConnection(DB2DataSource.java:64)
         at com.ibm.db2.jcc.DB2DataSource.getConnection(DB2DataSource.java:47)
         at org.apache.derbyTesting.functionTests.util.TestUtil.getDataSourceConnection(TestUtil.java:666)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.getConnection(OnlineBackup.java:177)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:69)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:58)
         at java.lang.Thread.run(Thread.java:534)
ERROR (no SQLState): Failure in loading T2 native library db2jcct2
com.ibm.db2.jcc.c.SqlException: Failure in loading T2 native library db2jcct2
         at com.ibm.db2.jcc.t2.a.a(a.java:31)
         at com.ibm.db2.jcc.t2.T2Configuration.<clinit>(T2Configuration.java:70)
         at com.ibm.db2.jcc.DB2DataSource.getConnection(DB2DataSource.java:64)
         at com.ibm.db2.jcc.DB2DataSource.getConnection(DB2DataSource.java:47)
         at org.apache.derbyTesting.functionTests.util.TestUtil.getDataSourceConnection(TestUtil.java:666)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.getConnection(OnlineBackup.java:177)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.performBackup(OnlineBackup.java:69)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.run(OnlineBackup.java:58)
         at java.lang.Thread.run(Thread.java:534)
Full thread dump Java HotSpot(TM) Client VM (1.4.2_06-b03 mixed mode):

"Thread-0" daemon prio=1 tid=0xa984f250 nid=0x16b0 in Object.wait() [a9737000..a973787c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xab3eba30> (a java.util.TaskQueue)
         at java.lang.Object.wait(Object.java:429)
         at java.util.TimerThread.mainLoop(Timer.java:403)
         - locked <0xab3eba30> (a java.util.TaskQueue)
         at java.util.TimerThread.run(Timer.java:382)

"derby.antiGC" daemon prio=1 tid=0xa98524c0 nid=0x16b0 in Object.wait() [a97b8000..a97b887c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xab3c93e8> (a org.apache.derby.impl.services.monitor.AntiGC)
         at java.lang.Object.wait(Object.java:429)
         at org.apache.derby.impl.services.monitor.AntiGC.run(BaseMonitor.java:2204)
         - locked <0xab3c93e8> (a org.apache.derby.impl.services.monitor.AntiGC)
         at java.lang.Thread.run(Thread.java:534)

"Signal Dispatcher" daemon prio=1 tid=0x080a64a0 nid=0x16b0 waiting on condition [0..0]

"Finalizer" daemon prio=1 tid=0x08092ac8 nid=0x16b0 in Object.wait() [aabff000..aabff87c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xab3ae730> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
         - locked <0xab3ae730> (a java.lang.ref.ReferenceQueue$Lock)
         at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
         at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x08091e80 nid=0x16b0 in Object.wait() [aadbe000..aadbe87c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xab3ae798> (a java.lang.ref.Reference$Lock)
         at java.lang.Object.wait(Object.java:429)
         at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115)
         - locked <0xab3ae798> (a java.lang.ref.Reference$Lock)

"main" prio=1 tid=0x0805c6b8 nid=0x16b0 in Object.wait() [bfffc000..bfffc52c]
         at java.lang.Object.wait(Native Method)
         - waiting on <0xaaf402c0> (a org.apache.derbyTesting.functionTests.tests.store.OnlineBackup)
         at java.lang.Object.wait(Object.java:429)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackup.waitForBackupToBegin(OnlineBackup.java:99)
         - locked <0xaaf402c0> (a org.apache.derbyTesting.functionTests.tests.store.OnlineBackup)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.runTest(OnlineBackupTest1.java:78)
         at org.apache.derbyTesting.functionTests.tests.store.OnlineBackupTest1.main(OnlineBackupTest1.java:50)


Mime
View raw message