Author: elecharny
Date: Thu Mar 29 03:23:27 2007
New Revision: 523663
URL: http://svn.apache.org/viewvc?view=rev&rev=523663
Log:
Fixed the replication configuration, the ReplicaId is not a String, but a class.
Modified:
directory/apacheds/trunk/server-main/server.xml
Modified: directory/apacheds/trunk/server-main/server.xml
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/server-main/server.xml?view=diff&rev=523663&r1=523662&r2=523663
==============================================================================
--- directory/apacheds/trunk/server-main/server.xml (original)
+++ directory/apacheds/trunk/server-main/server.xml Thu Mar 29 03:23:27 2007
@@ -188,7 +188,13 @@
<bean class="org.apache.directory.mitosis.service.ReplicationService">
<property name="configuration">
<bean class="org.apache.directory.mitosis.configuration.ReplicationConfiguration">
- <property name="replicaId" value="instance_a" />
+ <property name="replicaId">
+ <bean class="org.apache.directory.mitosis.common.ReplicaId">
+ <constructor-arg>
+ <value>instance_a</value>
+ </constructor-arg>
+ </bean>
+ </property>
<property name="serverPort" value="10390" />
<property name="peerReplicas" value="instance_b@localhost:10392" />
</bean>
|