You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by "V!sh@L Patel" <vi...@yahoo.com.INVALID> on 2015/10/12 14:59:40 UTC

[ApacheDS] Needs to replicate embedded ApacheDS in Java Application

I have embedded ApacheDS in my java application, and it works fine for me. (I followed instructions https://cwiki.apache.org/confluence/display/DIRxSRVx11/4.3.+Embedding+ApacheDS+as+a+Web+Application for that.)Now, my java application works in cluster environment, having more than one middle-tiers (MT) as Master-Slave or multi-master mode. I need embedded ApacheDS to work same way, i.e. changes in LDPA entries at one MT/ApacheDS, should get reflected/synced at other nodes as well.By using configuration at http://joacim.breiler.com/apacheds/ch08s02.html , I can configure multiple Stand-alone (none-embedded) ApacheDS setups, which can sync with each other. I need to apply similar configuration in embedded ApacheDS for my Application.For Stand-alone (none-embedded), configuration is applied at OrganizationUnit (ou) – config, but when I add ApacheDS as embedded in Java application there is no config ou - http://stackoverflow.com/questions/23134802/embedded-apacheds-2-0-doesnt-have-ou-config .Question:How can I configure replication programmatically for ApacheDS embedded in Java application?Any document/example for that?Thanks in advance.Regards,
Vishal

[ApacheDS] Needs to replicate embedded ApacheDS in Java Application

Posted by "V!sh@L Patel" <vi...@yahoo.com.INVALID>.
I have embedded ApacheDS in my java application, and it works fine for me. (I followed instructions https://cwiki.apache.org/confluence/display/DIRxSRVx11/4.3.+Embedding+ApacheDS+as+a+Web+Application for that.)Now, my java application works in cluster environment, having more than one middle-tiers (MT) as Master-Slave or multi-master mode. I need embedded ApacheDS to work same way, i.e. changes in LDPA entries at one MT/ApacheDS, should get reflected/synced at other nodes as well.By using configuration at http://joacim.breiler.com/apacheds/ch08s02.html , I can configure multiple Stand-alone (none-embedded) ApacheDS setups, which can sync with each other. I need to apply similar configuration in embedded ApacheDS for my Application.For Stand-alone (none-embedded), configuration is applied at OrganizationUnit (ou) – config, but when I add ApacheDS as embedded in Java application there is no config ou - http://stackoverflow.com/questions/23134802/embedded-apacheds-2-0-doesnt-have-ou-config .Question:How can I configure replication programmatically for ApacheDS embedded in Java application?Any document/example for that?Thanks in advance.Regards,
Vishal