db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject Re: [jira] Commented: (DERBY-596) jdbcapi/resultsetStream.java fails in DerbyNetClient Framework
Date Sun, 02 Oct 2005 12:08:48 GMT
I follow myself ...

> // At first, I think using sed would solve the problem , however, I found sed is not
good way when trying to make the pattern for 
> sed .

When trying to make the pattern in resultsetStream_sed.properties , I found sed is not good
way for this issue .

// English is difficult language for me ....

Best regards.

/*

         Tomohito Nakayama
         tomonaka@basil.ocn.ne.jp
         tomohito@rose.zero.ad.jp
         tmnk@apache.org

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "Tomohito Nakayama (JIRA)" <derby-dev@db.apache.org>
To: <derby-dev@db.apache.org>
Sent: Sunday, October 02, 2005 8:56 PM
Subject: [jira] Commented: (DERBY-596) jdbcapi/resultsetStream.java fails in DerbyNetClient
Framework


>    [ http://issues.apache.org/jira/browse/DERBY-596?page=comments#action_12331073 ]
>
> Tomohito Nakayama commented on DERBY-596:
> -----------------------------------------
>
> I think master output file separated from embed environment is needed for different error
message for incorrect length of data .
>
> // At first, I think using sed would solve the problem , however, I found sed is not
good way when trying to make the pattern for 
> sed .
> // Sed seems to be prepared to solve variable token , and not to solve  different message
at all .
>
>>  jdbcapi/resultsetStream.java fails in DerbyNetClient Framework
>> ---------------------------------------------------------------
>>
>>          Key: DERBY-596
>>          URL: http://issues.apache.org/jira/browse/DERBY-596
>>      Project: Derby
>>         Type: Bug
>>   Components: Network Client, Network Server, Test
>>     Versions: 10.2.0.0
>>     Reporter: Tomohito Nakayama
>>     Assignee: Tomohito Nakayama
>
>>
>> Working in DERBY-525, I found that  jdbcapi/resultsetStream.java , which was originally
excluded from DerbyNetClient Framework, 
>> fails, if added to.
>> Next is resultsetStream.diff :
>> ------------------ Java Information ------------------
>> Java Version:    1.4.2_08
>> Java Vendor:     Sun Microsystems Inc.
>> Java home:       /usr/local/j2sdk1.4.2_08/jre
>> Java classpath:  /home/naka/ProgramDev/derby/trunk/jars/sane/derby.jar
>> :/home/naka/ProgramDev/derby/trunk/jars/sane/derbyclient.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbytools.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbynet.jar:
>> /usr/local/share/java/db2jcc/lib/db2jcc.jar:
>> /usr/local/share/java/db2jcc/lib/db2jcc_license_c.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyTesting.jar:
>> /home/naka/ProgramDev/derby/trunk/tools/java/jakarta-oro-2.0.8.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_de_DE.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_es.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_fr.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_it.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_ja_JP.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_ko_KR.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_pt_BR.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_zh_CN.jar:
>> /home/naka/ProgramDev/derby/trunk/jars/sane/derbyLocale_zh_TW.jar
>> OS name:         Linux
>> OS architecture: i386
>> OS version:      2.4.27-2-386
>> Java user name:  naka
>> Java user home:  /home/naka
>> Java user dir:   /home/naka/ProgramDev/testDerby/20051001
>> java.specification.name: Java Platform API Specification
>> java.specification.version: 1.4
>> --------- Derby Information --------
>> JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
>> [/home/naka/ProgramDev/derby/trunk/jars/sane/derby.jar] 10.2.0.0 alpha - (292740M)
>> [/home/naka/ProgramDev/derby/trunk/jars/sane/derbyclient.jar] 10.2.0.0 alpha - (292740M)
>> [/home/naka/ProgramDev/derby/trunk/jars/sane/derbytools.jar] 10.2.0.0 alpha - (292740M)
>> [/home/naka/ProgramDev/derby/trunk/jars/sane/derbynet.jar] 10.2.0.0 alpha - (292740M)
>> ------------------------------------------------------
>> ----------------- Locale Information -----------------
>> Current Locale :  [English/United States [en_US]]
>> Found support for locale: [de_DE]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [es]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [fr]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [it]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [ja_JP]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [ko_KR]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [pt_BR]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [zh_CN]
>> version: 10.2.0.0 alpha - (292740M)
>> Found support for locale: [zh_TW]
>> version: 10.2.0.0 alpha - (292740M)
>> ------------------------------------------------------
>> Framework: DerbyNetClient
>> *** Start: resultsetStream jdk1.4.2_08 DerbyNetClient 2005-10-02 13:56:27 ***
>> 8a9
>> > FAIL - stream was not closed after a get*() call. class java.io.ByteArrayInputStream
>> 12 del
>> < EXPECTED SQLSTATE(XSDA4): An unexpected exception was thrown
>> 13 del
>> < EXPECTED SQLSTATE(XJ001): Java exception: 'Input stream held less data than
requested length.: java.io.IOException'.
>> 14 del
>> < EXPECTED SQLSTATE(XSDA4): An unexpected exception was thrown
>> 15 del
>> < EXPECTED SQLSTATE(XJ001): Java exception: 'Input stream held less data than
requested length.: java.io.IOException'.
>> 15a13,14
>> > EXPECTED SQLSTATE(null): End of Stream prematurely reached while reading InputStream,
parameter #2.  Remaining data has been 
>> > padded with 0x0.
>> > EXPECTED SQLSTATE(null): The specified size of the InputStream, parameter #2,
is less than the actual InputStream length
>> Test Failed.
>> *** End:   resultsetStream jdk1.4.2_08 DerbyNetClient 2005-10-02 13:56:49 ***
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 2005/09/30
> 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 2005/09/30


Mime
View raw message