From derby-dev-return-88131-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Thu Jun 2 19:16:28 2011 Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D77E94998 for ; Thu, 2 Jun 2011 19:16:28 +0000 (UTC) Received: (qmail 16571 invoked by uid 500); 2 Jun 2011 19:16:28 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 16555 invoked by uid 500); 2 Jun 2011 19:16:28 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 16548 invoked by uid 99); 2 Jun 2011 19:16:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 19:16:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jun 2011 19:16:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 68FF9F047E for ; Thu, 2 Jun 2011 19:15:47 +0000 (UTC) Date: Thu, 2 Jun 2011 19:15:47 +0000 (UTC) From: "Tiago R. Espinha (JIRA)" To: derby-dev@db.apache.org Message-ID: <1415361944.63890.1307042147426.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-4795) Starting network server with -ssl turns SSL off MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043000#comment-13043000 ] Tiago R. Espinha commented on DERBY-4795: ----------------------------------------- I think this behavior is logical. Usually in usage descriptions, square brackets mean an optional argument and the diamond symbols mean something that is mandatory. Looking at the -ssl switch, the mode is mandatory. suites.All has passed and no one has objected to this change, so I committed this patch with revision 1130743. @ Siddharth, I'm going to resolve this issue. When this changes get captured by the daily regression runs, and provided that everything goes well, please go ahead and close it. > Starting network server with -ssl turns SSL off > ----------------------------------------------- > > Key: DERBY-4795 > URL: https://issues.apache.org/jira/browse/DERBY-4795 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.6.1.0 > Reporter: Knut Anders Hatlen > Assignee: Siddharth Srivastava > Labels: derby_triage10_8 > Attachments: d4795.diff > > > If you start the network server with the -ssl option and no argument, the server will be started in plain text mode. > For example: > java -jar derbynet.jar start -ssl > If -ssl is specified without , I would have expected that SSL was enabled (not sure which SSL mode, basic or peerAuthentication, is more appropriate) or that the command failed because of the missing argument. Treating "-ssl" as an alias for "-ssl off" sounds unintuitive to me. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira