db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wolfgang12...@yahoo.co.jp
Subject Re: derby.drda.startNetworkServer property
Date Mon, 19 Sep 2005 17:06:06 GMT
Hi Knut,

Thanks for your quick response.

Then, how can I verify whether Derby, started using
derby.drda.startNetworkServer=true and org.apache.derby.jdbc.EmbeddedDriver, 
is ready or not to accept clients like NetworkServerControl#ping() ?

Regards,
Wolfgang

> 
> > Hi there,
> >
> > I got a question about the derby.drda.startNetworkServer property.
> > I've read through the doc and it says the following.
> > -------------------------------------------------------
> > Use the derby.drda.startNetworkServer property to simplify embedding the 
> > Network Server in your application. When you set derby.drda.startNetworkServer,
> > the Network Server will automatically start when you start Derby. Only
> > one Network Server can be started in a JVM.
> > -------------------------------------------------------
> >
> > Does it mean even though I start Derby using "Class.forName("org.apache.derby.jdbc.EmbeddedDriver");",
> > the Network Server will start if I set derby.drda.startNetworkServer true ?
> 
> Yes, that's what it means. When the embedded driver is loaded, it will
> check whether that property is set, and start the network server if it
> is true.
> 
> -- 
> Knut Anders


__________________________________
 For All Sports Fans!
 http://pr.mail.yahoo.co.jp/yells/


Mime
View raw message