[ http://issues.apache.org/jira/browse/DERBY-1374?page=all ]

Fernanda Pizzorno updated DERBY-1374:
-------------------------------------

    Attachment: derby-1374.diff
                derby-1374.stat

This patch removes the request for DIAGLVL2 from ACCRDB, and instead the server 
will send DIAGLVL1 if the client is DerbyNetClient and the version >= 10.2.0. 
The request for DIAGLVL2 was removed because the version of the server is not 
available at the client side when ACCRDB is sent, and older servers do not 
recognize this request.

I have successfully run compatibility tests and derbynetclientmats. Can someone 
please review the patch?

Thank you in advance!

> compatibility test fails with 'PROTOCOL Data Stream Syntax Error'
> -----------------------------------------------------------------
>
>          Key: DERBY-1374
>          URL: http://issues.apache.org/jira/browse/DERBY-1374
>      Project: Derby
>         Type: Bug

>   Components: Regression Test Failure
>     Versions: 10.2.0.0
>  Environment: OS: ALL
> JVM:  server: JVM-1.3,  client: JVM-1.3
> Derby: server: 10.1.2.0,  client: Trunk
>     Reporter: Ole Solberg
>     Assignee: Fernanda Pizzorno
>     Priority: Critical
>  Attachments: derby-1374.diff, derby-1374.stat
>
>  compatibility/serverVM-1.3_server10.1.2.0_clientVM-1.3_clientTrunk:
> VM Version = 1.3
> Could not find com.ibm.db2.jcc.DB2Driver
> Could not find org.apache.derby.jdbc.EmbeddedDriver
> Driver org.apache.derby.jdbc.ClientDriver Version = 10.2
> java.sql.SQLException: A network protocol error was encountered and the 
> connection has been terminated: A PROTOCOL Data Stream Syntax Error was 
> detected.  Reason: 0x8,544.
>       at 
> org.apache.derby.client.am.SQLExceptionFactory.getSQLException(Unknown Source)
>       at org.apache.derby.client.am.SqlException.getSQLException(Unknown 
> Source)
>       at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
>       at java.sql.DriverManager.getConnection(DriverManager.java:512)
>       at java.sql.DriverManager.getConnection(DriverManager.java:141)
>       at 
> org.apache.derbyTesting.functionTests.util.DerbyJUnitTest.getConnection(Unknown
>  Source)
>       at 
> org.apache.derbyTesting.functionTests.util.DerbyJUnitTest.getConnection(Unknown
>  Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilitySuite.findServer(Unknown
>  Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilitySuite.main(Unknown
>  Source)
> Exception in thread "main" java.lang.Exception: Error lookup up server info: 
> A network protocol error was encountered and the connection has been 
> terminated: A PROTOCOL Data Stream Syntax Error was detected.  Reason: 
> 0x8,544.
>       at 
> org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilitySuite.findServer(Unknown
>  Source)
>       at 
> org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilitySuite.main(Unknown
>  Source)
> The compatibility test aborts on failure, so lots of combinations were not 
> tested.
> The following combinations succeeded:
> compatibility/embedded_VM-1.3
> compatibility/embedded_VM-1.4
> compatibility/embedded_VM-1.5
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.3_clientTrunk
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.3_clientDerby10.1.2.0
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.3_clientDerby10.1.1.0
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.3_clientDB2JCC
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.4_clientTrunk
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.4_clientDerby10.1.2.0
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.4_clientDerby10.1.1.0
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.4_clientDB2JCC
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.5_clientTrunk
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.5_clientDerby10.1.2.0
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.5_clientDerby10.1.1.0
> compatibility/serverVM-1.3_serverTrunk_clientVM-1.5_clientDB2JCC

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

Reply via email to