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





begin:vcard
fn:David W Van Couvering
n:Van Couvering;David W
org:Sun Microsystems, Inc.;Database Technology Group
email;internet:[EMAIL PROTECTED]
title:Senior Staff Software Engineer
tel;work:510-550-6819
tel;cell:510-684-7281
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to