db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: [jira] Created: (DERBY-1143) derbynet/prepStmt.java fails with JCC2.6
Date Fri, 24 Mar 2006 05:53:28 GMT
Deepa Remesh (JIRA) wrote:
> derbynet/prepStmt.java fails with JCC2.6
> ----------------------------------------
> 
>          Key: DERBY-1143
>          URL: http://issues.apache.org/jira/browse/DERBY-1143
>      Project: Derby
>         Type: Test
>   Components: Regression Test Failure  
>     Versions: 10.2.0.0    
>  Environment: JCC 2.6
>     Reporter: Deepa Remesh
> 
> 
> derbynet/prepStmt.java fails on Windows and Linux with Sun JDK 1.5 and JCC 2.6. 
> 
> *** Start: prepStmt jdk1.5.0_02 DerbyNet derbynetmats:derbynetmats 2006-03-22 19:46:37
***
> 82 del
> < prepStmt Test Ends
> 82 add
>> com.ibm.db2.jcc.a.DisconnectException: More than 0x7FF chained requests not allowed.
 This error may be due to a batch that is greater than 32k.
> Test Failed.
> *** End:   prepStmt jdk1.5.0_02 DerbyNet derbynetmats:derbynetmats 2006-03-22 19:46:59
***
> 
> The test passed for me with Sun JDK1.5, JCC 2.4 on Windows XP. The tinderbox runs do
not show this failure. It looks like this failure is occuring only with JCC2.6. 
> 

This is probably caused by my recent change to fix DERBY-428.

I only have JCC 2.4 on my system, and not JCC 2.6.

Is there some information on how to set up my system so that I can run with both
JCC 2.4 and JCC 2.6?

In the meantime, I think that the simplest thing here might be just to modify the
test. The DERBY-428 regression test attempts to submit a single batch with as
many possible batch elements as can fit.

However, I was not able to find a clear specification of how many batch elements
can fit, so I was experimenting with the different drivers to figure out how
many each one supports.

Apparently JCC 2.6 supports fewer batch elements than did JCC 2.4?

Deepa, if you can figure out how many batch elements are supported by JCC 2.6,
I think it would be perfectly reasonable to modify the prepStmt test to submit
a batch of that size.

Let me know how I can help further with this problem.

thanks,

bryan



Mime
View raw message