You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <de...@db.apache.org> on 2006/01/05 16:34:02 UTC

[jira] Commented: (DERBY-796) jdbc 4.0 specific Blob and Clob method support

    [ http://issues.apache.org/jira/browse/DERBY-796?page=comments#action_12361852 ] 

Rick Hillegas commented on DERBY-796:
-------------------------------------

Hi Narayanan: The patch itself looks good. However, I'm seeing test failures:

1) I'm seeing the following diff on lobStreams.java run under DerbyNetClient:

MasterFileName = master/lobStreams.out
1a2
> extin\aclob.txt
Test Failed.
*** End:   lobStreams jdk1.4.2_08 DerbyNetClient 2006-01-05 07:09:44 ***

2) All of the jdbc4 tests fail. I am running them according to the instructions in jira 587. Perhaps the instructions have changed? In a shell window using the 1.6 vm, I run the jdbc4 tests as follows:

java -Dverbose=true org.apache.derbyTesting.functionTests.harness.RunSuite jdbc4

and each test fails to get a connection:

> Failed in creating a Connection:	org.apache.derby.client.am.DisconnectException: java.security.PrivilegedActionException : Error opening socket to server xxxFILTERED_HOSTNAMExxx on port 1527 with message : null
> org.apache.derby.client.am.DisconnectException: java.security.PrivilegedActionException : Error opening socket to server xxxFILTERED_HOSTNAMExxx on port 1527 with message : null


> jdbc 4.0 specific Blob and Clob method support
> ----------------------------------------------
>
>          Key: DERBY-796
>          URL: http://issues.apache.org/jira/browse/DERBY-796
>      Project: Derby
>         Type: New Feature
>   Components: JDBC
>     Versions: 10.2.0.0
>  Environment: jdbc 4.0 on all platforms
>     Reporter: V.Narayanan
>     Assignee: V.Narayanan
>     Priority: Minor
>      Fix For: 10.2.0.0
>  Attachments: clobblob.diff
>


-- 
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


Re: [jira] Commented: (DERBY-796) jdbc 4.0 specific Blob and Clob method support

Posted by "David W. Van Couvering" <Da...@Sun.COM>.
I thought if you run with -Dframework=DerbyNetClient then the network 
server is automatically started for you...

As long as you make sure its in a suite that's only run for the network 
client (e.g. derbynetclientmats) I think your test should run without a 
special effort to start the network server.

David

V Narayanan - Sun Microsystems - Bangalore India wrote:
> Hi Rick,
> I am looking in to the failure in lobStreams.java.
> 
> The failure in jdbc4 is due to the NetworkServer not being started. The 
> tests expect the NetworkServer to be up. I will update the testcase to 
> start the NetworkServer from the test itself.
> 
> thanx,
> V.Narayanan
> 
> Rick Hillegas (JIRA) wrote:
> 
>>     [ 
>> http://issues.apache.org/jira/browse/DERBY-796?page=comments#action_12361852 
>> ]
>> Rick Hillegas commented on DERBY-796:
>> -------------------------------------
>>
>> Hi Narayanan: The patch itself looks good. However, I'm seeing test 
>> failures:
>>
>> 1) I'm seeing the following diff on lobStreams.java run under 
>> DerbyNetClient:
>>
>> MasterFileName = master/lobStreams.out
>> 1a2
>>
>>> extin\aclob.txt
>>
>>
>> Test Failed.
>> *** End:   lobStreams jdk1.4.2_08 DerbyNetClient 2006-01-05 07:09:44 ***
>>
>> 2) All of the jdbc4 tests fail. I am running them according to the 
>> instructions in jira 587. Perhaps the instructions have changed? In a 
>> shell window using the 1.6 vm, I run the jdbc4 tests as follows:
>>
>> java -Dverbose=true 
>> org.apache.derbyTesting.functionTests.harness.RunSuite jdbc4
>>
>> and each test fails to get a connection:
>>
>>
>>> Failed in creating a Connection:    
>>> org.apache.derby.client.am.DisconnectException: 
>>> java.security.PrivilegedActionException : Error opening socket to 
>>> server xxxFILTERED_HOSTNAMExxx on port 1527 with message : null
>>> org.apache.derby.client.am.DisconnectException: 
>>> java.security.PrivilegedActionException : Error opening socket to 
>>> server xxxFILTERED_HOSTNAMExxx on port 1527 with message : null
>>
>>
>>
>>
>>> jdbc 4.0 specific Blob and Clob method support
>>> ----------------------------------------------
>>>
>>>         Key: DERBY-796
>>>         URL: http://issues.apache.org/jira/browse/DERBY-796
>>>     Project: Derby
>>>        Type: New Feature
>>>  Components: JDBC
>>>    Versions: 10.2.0.0
>>> Environment: jdbc 4.0 on all platforms
>>>    Reporter: V.Narayanan
>>>    Assignee: V.Narayanan
>>>    Priority: Minor
>>>     Fix For: 10.2.0.0
>>> Attachments: clobblob.diff
>>>
>>
>>
>>
> 

Re: [jira] Commented: (DERBY-796) jdbc 4.0 specific Blob and Clob method support

Posted by V Narayanan - Sun Microsystems - Bangalore India <V....@Sun.COM>.
Hi Rick,
I am looking in to the failure in lobStreams.java.

The failure in jdbc4 is due to the NetworkServer not being started. The 
tests expect the NetworkServer to be up. I will update the testcase to 
start the NetworkServer from the test itself.

thanx,
V.Narayanan

Rick Hillegas (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/DERBY-796?page=comments#action_12361852 ] 
> 
> Rick Hillegas commented on DERBY-796:
> -------------------------------------
> 
> Hi Narayanan: The patch itself looks good. However, I'm seeing test failures:
> 
> 1) I'm seeing the following diff on lobStreams.java run under DerbyNetClient:
> 
> MasterFileName = master/lobStreams.out
> 1a2
> 
>>extin\aclob.txt
> 
> Test Failed.
> *** End:   lobStreams jdk1.4.2_08 DerbyNetClient 2006-01-05 07:09:44 ***
> 
> 2) All of the jdbc4 tests fail. I am running them according to the instructions in jira 587. Perhaps the instructions have changed? In a shell window using the 1.6 vm, I run the jdbc4 tests as follows:
> 
> java -Dverbose=true org.apache.derbyTesting.functionTests.harness.RunSuite jdbc4
> 
> and each test fails to get a connection:
> 
> 
>>Failed in creating a Connection:	org.apache.derby.client.am.DisconnectException: java.security.PrivilegedActionException : Error opening socket to server xxxFILTERED_HOSTNAMExxx on port 1527 with message : null
>>org.apache.derby.client.am.DisconnectException: java.security.PrivilegedActionException : Error opening socket to server xxxFILTERED_HOSTNAMExxx on port 1527 with message : null
> 
> 
> 
>>jdbc 4.0 specific Blob and Clob method support
>>----------------------------------------------
>>
>>         Key: DERBY-796
>>         URL: http://issues.apache.org/jira/browse/DERBY-796
>>     Project: Derby
>>        Type: New Feature
>>  Components: JDBC
>>    Versions: 10.2.0.0
>> Environment: jdbc 4.0 on all platforms
>>    Reporter: V.Narayanan
>>    Assignee: V.Narayanan
>>    Priority: Minor
>>     Fix For: 10.2.0.0
>> Attachments: clobblob.diff
>>
> 
> 
>