In scenarios where WCM has been installed as part of a WebSphere Portal Enable / Extend implementation, these two useful content libraries are on-disk but not configured/available for use.
They can be configured using the commands: -
./ConfigEngine.sh configure-express -DPortalAdminPwd=passw0rd -DWasPassword=passw0rd
./ConfigEngine.sh action-express-memberfixer -DPortalAdminPwd=passw0rd -DWasPassword=passw0rd
( the latter command being run once the file: -
/opt/IBM/WebSphere/wp_profile/PortalServer/wcm/shared/app/config/wcmservices/MemberFixerModule.properties file
has been updated to reflect the correct portal administration user name ).
which provides these two new WCM libraries: -
Internet Web Content 6.1.0
Intranet Web Content 6.1.0
It's then necessary to test for membership problems etc. using MemberFixer via the following URL: -
http://portaldemo.uk.ibm.com:10040/wps/wcm/connect?MOD=MemberFixer&Library=Internet Web Content 6.1.0
which returns: -
...
IWKCW1045X: SUMMARY INFORMATION
Library processed: Internet Web Content 6.1.0
IWKCW1046X: Items Processed: 119
IWKCW1047X: Items Updated and Saved: 0
IWKCW1047X: Member References requiring Removal: 0
IWKCW1048X: Member References requiring Update: 0
IWKCW1049X: Virtual Members requiring Update: 0
Errors Detected: 0
...
and: -
http://portaldemo.uk.ibm.com:10040/wps/wcm/connect?MOD=MemberFixer&Library=Intranet Web Content 6.1.0
which returns
...
IWKCW1045X: SUMMARY INFORMATION
Library processed: Intranet Web Content 6.1.0
IWKCW1046X: Items Processed: 108
IWKCW1047X: Items Updated and Saved: 0
IWKCW1047X: Member References requiring Removal: 0
IWKCW1048X: Member References requiring Update: 0
IWKCW1049X: Virtual Members requiring Update: 0
Errors Detected: 0
IWKCW1050X: Non-existent Members that have alternate Distinguished Names available: 6.
...
Given that these are non-existent members, we can remove them using the &fix=true and &alt_dn=remove commands: -
http://portaldemo.uk.ibm.com:10040/wps/wcm/connect?MOD=MemberFixer&Library=Intranet Web Content 6.1.0&fix=true&alt_dn=remove
This returns: -
...
IWKCW1045X: SUMMARY INFORMATION
Library processed: Intranet Web Content 6.1.0
IWKCW1046X: Items Processed: 108
IWKCW1047X: Items Updated and Saved: 2
IWKCW1047X: Member References requiring Removal: 6
IWKCW1048X: Member References requiring Update: 0
IWKCW1049X: Virtual Members requiring Update: 0
Errors Detected: 0
IWKPL1368X: Utility completed.
...
To be sure, we re-run the MemberFixer query, which now returns: -
...
IWKCW1045X: SUMMARY INFORMATION
Library processed: Intranet Web Content 6.1.0
IWKCW1046X: Items Processed: 108
IWKCW1047X: Items Updated and Saved: 0
IWKCW1047X: Member References requiring Removal: 0
IWKCW1048X: Member References requiring Update: 0
IWKCW1049X: Virtual Members requiring Update: 0
Errors Detected: 0
...
Life is good ...
For more information, see here: -
Exploring the sample site templates
Installing WebSphere Portal on Linux
Sample Lotus Web Content Management member fixer tool commands after running ConfigEngine configure-express
No comments:
Post a Comment