Dashboard > Penrose > Download > Penrose 0.9.7 Migration
Penrose 0.9.7 Migration
Added by Endi S. Dewata, last edited by Endi S. Dewata on Oct 18, 2005  (view change)
Labels: 
(None)


Migrating apacheds.xml

You can simply overwrite the old conf/apacheds.xml with conf/default/apacheds.xml, or you can manually modify the file as follows.

Starting from 0.9.7, Penrose no longer needs context partitions. So, remove all context partition configurations that uses Penrose. In this example, the "examplePartitionConfiguration" uses Penrose, so remove the entire bean.

<bean id="examplePartitionConfiguration" ...>
  ...
  <property name="contextPartition">
    <bean class="org.safehaus.penrose.apacheds.PenrosePartition">
      <property name="penrose">
        <ref bean="penrose">
      </property>
    </bean>
  </property>
  ...
</bean>

Also remove any references to those beans from the the "contextPartitionConfigurations" property inside the "configuration" bean. If the property set becomes empty, you can remove the entire property.

<bean id="configuration" ...>
  ...
  <property name="contextPartitionConfigurations">
    <set>
      <ref bean="examplePartitionConfiguration"/>
    </set>
  </property>
  ...
</bean>

Remove the Penrose bean:

<bean id="penrose" class="org.safehaus.penrose.Penrose"/>

Removing old library files

Remove the following files from the lib directory:

  • penrose-0.9.6.jar

Site running on a free Atlassian Confluence Open Source Project License granted to Safehaus. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators