db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ping wei <pingwei...@gmail.com>
Subject Derby.properties not functioning for replication setting?
Date Fri, 19 Apr 2013 02:42:32 GMT
I have setup replication, and wanted to let it replicate with specified
interval instead of buffer log file size full. derby.properties set as
below, but couldn't see it replicate with the interval. From derby reference
manual and derby developer guide, this is all that required to set. Any
expert can help?

Thank you.

#Propertiesfile generated from Java program
#Thu Apr 18 11:37:42 SGT 2013
derby.replication.maxLogShippingInterval=10000
derby.replication.minLogShippingInterval=1000
derby.replication.verbose=true
derby.language.logStatementText=true

derby.properties file have located in derby.system.home path.

*Even tried setting with -D option,*

set DERBY_OPTS="-Dderby.system.home=xxx"
set REP1_OPTS="-Dderby.replication.maxLogShippingInterval=10000"
set REP2_OPTS="-Dderby.replication.minLogShippingInterval=1000"
set REP3_OPTS="-Dderby.replication.verbose=TRUE"

"%_JAVACMD%" %REP1_OPTS% %REP2_OPTS% %REP3_OPTS% %DERBY_OPTS% -classpath
"%LOCALCLASSPATH%" org.apache.derby.drda.NetworkServerControl
-noSecurityManager -h 0.0.0.0 start 



--
View this message in context: http://apache-database.10148.n7.nabble.com/Derby-properties-not-functioning-for-replication-setting-tp129455.html
Sent from the Apache Derby Users mailing list archive at Nabble.com.

Mime
View raw message