directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Resolved: (DIR-180) Added some comments to server.xml related to configuring partitions
Date Wed, 06 May 2009 16:09:30 GMT

     [ https://issues.apache.org/jira/browse/DIR-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny resolved DIR-180.
-----------------------------------

    Resolution: Won't Fix

The patch is outdated, and the server.xml file has changed since then.

> Added some comments to server.xml related to configuring partitions
> -------------------------------------------------------------------
>
>                 Key: DIR-180
>                 URL: https://issues.apache.org/jira/browse/DIR-180
>             Project: Directory
>          Issue Type: Improvement
>         Environment: N/A
>            Reporter: Ole Ersoy
>            Assignee: Ole Ersoy
>            Priority: Trivial
>         Attachments: server.xml.patch
>
>
> Here's a paste of the patch.  I don't see a button for attaching it here, so I'll try
to attach the file later, if I find the button for it.
> Index: /home/ole/workspace-mdc0/mdc.multi/server-main/server.xml
> ===================================================================
> --- /home/ole/workspace-mdc0/mdc.multi/server-main/server.xml	(revision 381130)
> +++ /home/ole/workspace-mdc0/mdc.multi/server-main/server.xml	(working copy)
> @@ -58,6 +58,18 @@
>      <property name="enableKerberos"><value>false</value></property>
>      <property name="enableChangePassword"><value>false</value></property>
>      <property name="ldapPort"><value>10389</value></property>
> +    
> +
> +	<!-- This property contains a list of references to partitions. -->
> +	<!-- If you add another partition (like dc=example, dc=com) as  -->
> +	<!-- shown using the bean with id examplePartitionConfiguration -->
> +	<!-- you have to put a ref element here that has it's bean attribute -->
> +	<!-- set to the value of the id attribute of the element representing  -->
> +	<!-- the partition -->
> +	
> +	<!-- If you search for the string "examplePartitionConfiguration" you will -->
> +	<!-- find the bean that the ref element below corresponds to  -->
> +	
>      <property name="contextPartitionConfigurations">
>        <set>
>          <ref bean="examplePartitionConfiguration"/>
> @@ -159,6 +171,13 @@
>      </property>
>    </bean>
>    
> +  
> +  <!-- Note that if you add another partition here, you have to  -->
> +  <!-- add a corresponding ref element for it within the contextPartitionConfiguration
-->
> +  <!-- property element.  Look for the property element with name contextPartitionConfigurations
 --> 
> +  <!-- at the beginning of the of this file. There you will see a ref element with
with its -->
> +  <!-- bean attribute set to "examplePartitionConfiguration", the id of the bean
element below -->
> +  
>    <bean id="examplePartitionConfiguration" class="org.apache.directory.server.core.configuration.MutableDirectoryPartitionConfiguration">
>      <property name="name"><value>example</value></property>
>      <property name="suffix"><value>dc=example,dc=com</value></property>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message