db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4786) Shutdown command without username and password should work with mixed client and network server releases.
Date Thu, 02 Sep 2010 00:48:04 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905352#action_12905352

Mamta A. Satoor commented on DERBY-4786:

You are right, Kathey. It sure hangs because the protocol level 1 from client is accepted
by the server but for shutdown, existing 10.5 server expects username and password.

We may have to revert to another approach to this problem which is to send shutdown command
with protocol level 2 whether there is username and password or not. If this command fails
because of protocol mismatch, then send shutdown command with protocol level 1. Also, if we
do try this approach, what should we do if the user has provided user name and password for
shutdown going against 10.3 server? Should we throw an exception that username and password
can't be used for shutdown when going against a server that doesn't support protocol 2 or
should we drop the user name and password and simply send the shutdown with protcol level
1 even though user name and password has been provided on the shutdown command?

> Shutdown command without username and password should work with mixed client and network
server releases.
> ---------------------------------------------------------------------------------------------------------
>                 Key: DERBY-4786
>                 URL: https://issues.apache.org/jira/browse/DERBY-4786
>             Project: Derby
>          Issue Type: Bug
>          Components: Network Client, Network Server
>    Affects Versions:,,,
>            Reporter: Mamta A. Satoor
>            Assignee: Mamta A. Satoor
>         Attachments: DERBY4786_patch1_diff.txt
> DERBY-2109 introduced optional parameters username and password to the shutdown command.
But with this fix, the existing shutdown command which does not use username and password
stopped working from client with DERBY-2109 changes against a network server without DERBY-2109
> This jira is to ensure that existing shutdown command without user name and password
still works fine between different releases of client and network server(with or without DERBY-2109).
The new shutdown command introduced by DERBY-2109 will work obviosuly only on client and server
with DERBY-2109 changes. For client/server not with DERBY-2109 changes attempting to user
use name and password will get an error.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message