Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
10.11.1.1
-
None
-
None
-
Normal
Description
With DERBY-4805 fix in 10.11, the RDBNAM can be more than 255bytes. But when the client and server versions are both not at 10.11 or higher, trying a RDBNAM longer than 255bytes will result in exceptions.
1)If server is 10.10 or lower and client is 10.11 or higher, and client attempts to send RDBNAM longer than 255bytes, they will get following protocol exception
ERROR 08006: A network protocol error was encountered and the connection has been terminated: A protocol error (Data Stream Syntax Error) was detected. Reason: 0x8,464. Perhaps this is an attempt to open a plaintext connection to an SSL enabled server.
2)If server is 10.11 or higher and client is 10.10 or lower, and client attempts to send RDBNAM longer than 255bytes, they will get following exception
ERROR 08001: A connection could not be established because the database name 'memory:dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;create=true' is larger than the maximum length allowed by the network protocol.
Attachments
Issue Links
- relates to
-
DERBY-4805 Increase the length of the RDBNAM field in the DRDA implementation
- Closed