From 61d68ef8a23cf5febcd59746e775d6ea2aa34fab Mon Sep 17 00:00:00 2001
From: Mark Craig <mark.craig@forgerock.com>
Date: Tue, 28 May 2013 07:17:05 +0000
Subject: [PATCH] Attempt to avoid java.lang.StackOverflowError in Saxon

---
 opendj3/src/main/docbkx/shared/man-upgrade.xml |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 56 insertions(+), 1 deletions(-)

diff --git a/opendj3/src/main/docbkx/shared/man-upgrade.xml b/opendj3/src/main/docbkx/shared/man-upgrade.xml
index 055b829..e7f6fb7 100644
--- a/opendj3/src/main/docbkx/shared/man-upgrade.xml
+++ b/opendj3/src/main/docbkx/shared/man-upgrade.xml
@@ -202,7 +202,62 @@
   <para>The following example shows the upgrade process for OpenDJ directory
   server installed from the cross-platform (.zip) delivery.</para>
 
-  <xinclude:include href="screen-upgrade.xml" />
+  <!-- Next element should be <xinclude:include href="screen-upgrade.xml" /> -->
+  <screen>$ cd /path/to
+$ ls
+OpenDJ-2.4.5
+$ ./OpenDJ-2.4.5/bin/stop-ds --quiet
+... msg=The backend userRoot is now taken offline
+... msg=The Directory Server is now stopped
+$ zip -rq OpenDJ-backup.zip OpenDJ-2.4.5
+$ unzip -q ~/Downloads/OpenDJ-<?eval ${docTargetVersion}?>.zip
+$ cp -r opendj/* OpenDJ-2.4.5/
+$ rm -rf opendj
+$ mv OpenDJ-2.4.5 opendj
+$ ./opendj/upgrade --no-prompt
+
+>>>> OpenDJ Upgrade Utility
+
+ * OpenDJ will be upgraded from version 2.4.5.7743 to <?eval ${docTargetVersion}?>.<replaceable>revision</replaceable>
+ * See '/path/to/opendj/upgrade.log' for a detailed log of this operation
+
+>>>> Preparing to upgrade
+
+  OpenDJ <?eval ${docTargetVersion}?> modified the default configuration of the 'isMemberOf' virtual
+  attribute so that it is included with group entries. This was done in order
+  to make it easier for users to determine which groups a 'nested' group
+  belongs to.
+  Do you want to make this configuration change? (yes/no) yes
+
+  The upgrade is ready to proceed. Do you wish to continue? (yes/no) yes
+
+
+>>>> Performing upgrade
+
+  Fixing de-DE collation matching rule OID............................   100%
+  Updating password policy configurations.............................   100%
+  Updating audit log publisher configuration..........................   100%
+  Adding 'etag' virtual attribute schema..............................   100%
+  Configuring 'etag' virtual attribute................................   100%
+  Configuring 'ds-pwp-password-expiration-time' virtual attribute.....   100%
+  Updating certificate syntax configuration...........................   100%
+  Updating JPEG syntax configuration..................................   100%
+  Updating country string syntax configuration........................   100%
+  Modifying filter in 'isMemberOf' virtual attribute configuration....   100%
+  Updating dictionary password validator configuration................   100%
+  Updating attribute value password validator configuration...........   100%
+  Adding PBKDF2 password storage scheme configuration.................   100%
+  Adding 'http-config.json' configuration file........................   100%
+  Adding HTTP connection handler configuration........................   100%
+  Adding file-based HTTP access logger................................   100%
+  Replacing schema file '02-config.ldif'..............................   100%
+  Archiving concatenated schema.......................................   100%
+
+>>>> OpenDJ was successfully upgraded from version 2.4.5.7743 to <?eval ${docTargetVersion}?>.<replaceable>revision</replaceable>
+
+ * See '/path/to/opendj/upgrade.log' for a detailed log of this operation
+$ ./opendj/bin/start-ds --quiet
+$ </screen>
 
   <para>Native packages (.deb, .rpm) perform more of the upgrade process,
   stopping OpenDJ if it is running, overwriting older files with newer files,

--
Gitblit v1.10.0