db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Retrieving value of derby.drda.host from currently running system
Date Wed, 02 Feb 2011 23:53:39 GMT
On 2/2/2011 3:46 PM, Dag H. Wanvik wrote:
> "Logan, Douglas"<Douglas_Logan@ibi.com>  writes:
>
>> The following is also always null (As is kind of expected):
>> VALUES SYSCS_UTIL.SYSCS_GET_DATABASE_PROPERTY('derby.drda.host');
>>
>> Does anyone have an idea on how I can get this value?
> Not sure you can. There is no API to get at the values in
> derby.properties. I guess you could make a stored procedure that could
> read the file and find the value, though (given sufficient privileges if
> you are running the server under the Java security manager).
>
I think NetworkServerControl.getProperties() should work, but haven't 
tried it myself.



Mime
View raw message