Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 52170 invoked from network); 20 Jul 2005 18:58:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2005 18:58:59 -0000 Received: (qmail 97403 invoked by uid 500); 20 Jul 2005 18:58:58 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 97188 invoked by uid 500); 20 Jul 2005 18:58:56 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 97175 invoked by uid 99); 20 Jul 2005 18:58:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 11:58:56 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 32.97.182.144 is neither permitted nor denied by domain of Stan.Bradbury@gmail.com) Received: from [32.97.182.144] (HELO e4.ny.us.ibm.com) (32.97.182.144) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 11:58:52 -0700 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e4.ny.us.ibm.com (8.12.11/8.12.11) with ESMTP id j6KIwt9P009130 for ; Wed, 20 Jul 2005 14:58:55 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay04.pok.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j6KIwsBi241576 for ; Wed, 20 Jul 2005 14:58:55 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.12.11/8.13.3) with ESMTP id j6KIwsN3024854 for ; Wed, 20 Jul 2005 14:58:54 -0400 Received: from [127.0.0.1] (bradbury-lt1.usca.ibm.com [9.72.133.142]) by d01av01.pok.ibm.com (8.12.11/8.12.11) with ESMTP id j6KIwrTT024791 for ; Wed, 20 Jul 2005 14:58:54 -0400 Message-ID: <42DE9E49.3020201@gmail.com> Date: Wed, 20 Jul 2005 11:56:09 -0700 From: Stanley Bradbury User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Discussion Subject: Re: Derby hanging on port conflict References: <103b222c05071114204fc1ce63@mail.gmail.com> In-Reply-To: <103b222c05071114204fc1ce63@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Simon - I was not able to hang the Network Server by issuing '...NetworkServerControl start' multiple times - I was using the default host and port. Can you describe how this occurs in your environment or provide demonstration code or scrip?. Please also include the information from SYSINFO so I know what version you are using. Thanks, Stan Simon wrote: > Hi all, > > I notice if I accidently start 2 instances of Derby Network Server on > the same port, not only does the 2nd instance get the binding to the > port rejected but the 1st instance hangs as well. This seems to > happen on both linux and windows. > > Anyone know if there is a reason this is happening/way to prevent > it? Derby-devs - is this worth logging as a bug? > > (context is that we want to run lots of Derby servers on the same > box. right now, even when separated as different users accidently > starting a derby server on a conflicting port kills the other instance > - this is bad - it means a non-privileged user can take down a derby > instance owned by someone else... ). > > Thanks for any help or info! > > Cheers, > > Simon.