From derby-user-return-15168-apmail-db-derby-user-archive=db.apache.org@db.apache.org Wed Aug 14 15:34:50 2013 Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 73E791059F for ; Wed, 14 Aug 2013 15:34:50 +0000 (UTC) Received: (qmail 40227 invoked by uid 500); 14 Aug 2013 15:34:50 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 39837 invoked by uid 500); 14 Aug 2013 15:34:45 -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 39822 invoked by uid 99); 14 Aug 2013 15:34:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 15:34:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rong_qu@hotmail.com designates 65.54.190.226 as permitted sender) Received: from [65.54.190.226] (HELO bay0-omc4-s24.bay0.hotmail.com) (65.54.190.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 15:34:39 +0000 Received: from BAY160-W35 ([65.54.190.200]) by bay0-omc4-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 14 Aug 2013 08:34:18 -0700 X-TMN: [/GhSegkayffT3PsqkrldK9pG+gy6p4kZ] X-Originating-Email: [rong_qu@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_4ced36eb-17a7-47c5-bc6f-bc4be76e138c_" From: Rong Qu To: Derby Discussion Subject: RE: derby network server can not be started automatically Date: Wed, 14 Aug 2013 10:34:18 -0500 Importance: Normal In-Reply-To: <52096C36.4020806@mhsoftware.com> References: ,<52096C36.4020806@mhsoftware.com> MIME-Version: 1.0 X-OriginalArrivalTime: 14 Aug 2013 15:34:18.0591 (UTC) FILETIME=[BDA3E6F0:01CE9903] X-Virus-Checked: Checked by ClamAV on apache.org --_4ced36eb-17a7-47c5-bc6f-bc4be76e138c_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable How can I make sure derby is started after the network interface comes up? = I am not very familiar with it=2C can you explain more?=20 I tested on a different machine yesterday=2C and derby was started automati= cally after reboot=2C so seems the issue was caused by machine/network conf= iguration. Any thoughts? Thanks! Date: Mon=2C 12 Aug 2013 17:13:58 -0600 From: georges@mhsoftware.com To: derby-user@db.apache.org Subject: Re: derby network server can not be started automatically =0A= =0A= =0A= =0A= =0A= Start derby after the network interface comes up? =0A= =20 =0A= On 8/12/13 4:35 PM=2C Rong Qu wrote: =0A= =0A= =0A= =0A= On Linux=2C we wrote a script to call=0A= NetworkServerControl so that derby network server can be started=0A= automatically after reboot.=20 =0A= =20 =0A= After reboot=2C we got following error message from derby =0A= Can not listen on port **** on host ****** =0A= java.net.BindException =0A= Can not assign requested address =0A= =20 =0A= However=2C using exactly same script=2C derby network server can be= =0A= started manually right after the machine is rebooted.=20 =0A= =20 =0A= Any suggestions how to fix this? =0A= =20 =0A= Thanks=2C =0A= Rong =0A= =20 =0A= =20 =0A= =0A= =0A= =20 =0A= -- =0A= George Sexton=0A= MH Software=2C Inc.=0A= 303 438-9585=0A= http://www.mhsoftware.com/=0A= = --_4ced36eb-17a7-47c5-bc6f-bc4be76e138c_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
How can I make sure derby is sta= rted after the network interface comes up? I am not very familiar with it= =2C can you explain more?

I tested on a different machine yesterday= =2C and derby was started automatically after reboot=2C so seems the issue = was caused by machine/network configuration. Any thoughts?

Thanks!

Date: Mon=2C 12 Aug 2013 17:13:58 -0600<= br>From: georges@mhsoftware.com
To: derby-user@db.apache.org
Subject:= Re: derby network server can not be started automatically

=0A= =0A= =0A= =0A= =0A= Start derby after the network interface comes up?
=0A=
=0A=
On 8/12/13 4:35 PM=2C Rong Qu wrote:<= br>=0A=
=0A=
= =0A= =0A=
On Linux=2C we wrote a script to call=0A= NetworkServerControl so that derby network server can be started=0A= automatically after reboot.
=0A=
=0A= After reboot=2C we got following error message from derby
=0A=  =3B =3B =3B Can not listen on port **** on host ******=
=0A=  =3B =3B =3B java.net.BindException
=0A=  =3B =3B =3B =3B =3B =3B =3B =3B&nb= sp=3B =3B =3B =3B =3B Can not assign requested address
= =0A=
=0A= However=2C using exactly same script=2C derby network server can be= =0A= started manually right after the machine is rebooted.
=0A=
=0A= Any suggestions how to fix this?
=0A=
=0A= Thanks=2C
=0A= Rong
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
-- =0A=
George Sexton=0A=
MH Software=2C Inc.=0A=
303 438-9585=0A=
http://www.mhsoftware.com/=0A=
= --_4ced36eb-17a7-47c5-bc6f-bc4be76e138c_--