You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Upendra Chitnis <up...@yahoo.com> on 2005/07/25 07:07:22 UTC
Help with derby.properties file.
Hello,
I am trying to use derby.properties file , but the server is unable to recognise it when i
launch.
Here is my properties file
derby.system.home=C:\temp\databases\
derby.infolog.append=true
derby.storage.pageSize=8192
derby.storage.pageReservedSpace=60
I am using derby network server. The properties file is located in the same directory
from which i am launching the server
java org.apache.derby.drda.NetworkServerControl start
Please let me know if i am doing anything wrong, am i missing any starting parameters ?
Thanks !
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: Help with derby.properties file.
Posted by Xavier Vigouroux <Xa...@Sun.COM>.
This is a sketch of answer:
the netserver is a java program. You can set propoerties as launch
parameters with -D.
One of them is the home dir you want to use for the DB files and de
properties file.
for instance:
java -Dderby.system.home=<dir>
org.apache.derby.drda.NetworkserverControl start -h 0.0.0.0
will read property file from <dir>
Le 26 juil. 05, à 19:47, David Van Couvering a écrit :
> Sorry, Xavier, I don't understand your question/comment?
>
> David
>
> Xavier Vigouroux wrote:
>
>> Hi
>>
>> but you set the derby home with the command line "java -D....."
>>
>> Le 25 juil. 05, à 19:59, David Van Couvering a écrit :
>>
>>> As I understand it, derby.system.home has to be specified as a
>>> system property (e.g. -Dderby.system.home=c:\temp\databases).
>>>
>>> derby.properties must be placed in derby.system.home, and that's how
>>> you set all the other configuration values.
>>>
>>> David
>>>
>>> Upendra Chitnis wrote:
>>>
>>>> Hello,
>>>>
>>>> I am trying to use derby.properties file , but the server is unable
>>>> to recognise it when i
>>>> launch.
>>>>
>>>> Here is my properties file
>>>>
>>>> derby.system.home=C:\temp\databases\
>>>> derby.infolog.append=true
>>>> derby.storage.pageSize=8192
>>>> derby.storage.pageReservedSpace=60
>>>>
>>>> I am using derby network server. The properties file is located in
>>>> the same directory
>>>> from which i am launching the server
>>>>
>>>> java org.apache.derby.drda.NetworkServerControl start
>>>>
>>>> Please let me know if i am doing anything wrong, am i missing any
>>>> starting parameters ?
>>>>
>>>> Thanks !
>>>>
>>>> __________________________________________________
>>>> Do You Yahoo!?
>>>> Tired of spam? Yahoo! Mail has the best spam protection around
>>>> http://mail.yahoo.com
>>>>
>>>
>>>
> <david.vancouvering.vcf>
--
Xavier VIGOUROUX - sun microsystems
Re: Help with derby.properties file.
Posted by David Van Couvering <Da...@Sun.COM>.
Sorry, Xavier, I don't understand your question/comment?
David
Xavier Vigouroux wrote:
> Hi
>
> but you set the derby home with the command line "java -D....."
>
> Le 25 juil. 05, � 19:59, David Van Couvering a �crit :
>
>> As I understand it, derby.system.home has to be specified as a system
>> property (e.g. -Dderby.system.home=c:\temp\databases).
>>
>> derby.properties must be placed in derby.system.home, and that's how
>> you set all the other configuration values.
>>
>> David
>>
>> Upendra Chitnis wrote:
>>
>>> Hello,
>>>
>>> I am trying to use derby.properties file , but the server is unable
>>> to recognise it when i
>>> launch.
>>>
>>> Here is my properties file
>>>
>>> derby.system.home=C:\temp\databases\
>>> derby.infolog.append=true
>>> derby.storage.pageSize=8192
>>> derby.storage.pageReservedSpace=60
>>>
>>> I am using derby network server. The properties file is located in
>>> the same directory
>>> from which i am launching the server
>>>
>>> java org.apache.derby.drda.NetworkServerControl start
>>>
>>> Please let me know if i am doing anything wrong, am i missing any
>>> starting parameters ?
>>>
>>> Thanks !
>>>
>>> __________________________________________________
>>> Do You Yahoo!?
>>> Tired of spam? Yahoo! Mail has the best spam protection around
>>> http://mail.yahoo.com
>>>
>>
>>
Re: Help with derby.properties file.
Posted by Xavier Vigouroux <Xa...@Sun.COM>.
Hi
but you set the derby home with the command line "java -D....."
Le 25 juil. 05, à 19:59, David Van Couvering a écrit :
> As I understand it, derby.system.home has to be specified as a system
> property (e.g. -Dderby.system.home=c:\temp\databases).
>
> derby.properties must be placed in derby.system.home, and that's how
> you set all the other configuration values.
>
> David
>
> Upendra Chitnis wrote:
>
>> Hello,
>>
>> I am trying to use derby.properties file , but the server is unable
>> to recognise it when i
>> launch.
>>
>> Here is my properties file
>>
>> derby.system.home=C:\temp\databases\
>> derby.infolog.append=true
>> derby.storage.pageSize=8192
>> derby.storage.pageReservedSpace=60
>>
>> I am using derby network server. The properties file is located in
>> the same directory
>> from which i am launching the server
>>
>> java org.apache.derby.drda.NetworkServerControl start
>>
>> Please let me know if i am doing anything wrong, am i missing any
>> starting parameters ?
>>
>> Thanks !
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>
>
--
Xavier VIGOUROUX - sun microsystems
Re: Help with derby.properties file.
Posted by David Van Couvering <Da...@Sun.COM>.
As I understand it, derby.system.home has to be specified as a system
property (e.g. -Dderby.system.home=c:\temp\databases).
derby.properties must be placed in derby.system.home, and that's how you
set all the other configuration values.
David
Upendra Chitnis wrote:
> Hello,
>
> I am trying to use derby.properties file , but the server is unable to
> recognise it when i
> launch.
>
> Here is my properties file
>
> derby.system.home=C:\temp\databases\
> derby.infolog.append=true
> derby.storage.pageSize=8192
> derby.storage.pageReservedSpace=60
>
> I am using derby network server. The properties file is located in the
> same directory
> from which i am launching the server
>
> java org.apache.derby.drda.NetworkServerControl start
>
> Please let me know if i am doing anything wrong, am i missing any
> starting parameters ?
>
> Thanks !
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>