Saturday, March 7, 2009

websphere virtual portal and websphere content mgmt (WCM) in wps 6

scenario: you create a virtual portal and want to use WCM.
symptom: no WCM authoring portlets on your new virtual portal. What to do ?
solution: using xmlaccess.sh (for *nix), do this:
>cd PortalInstall/bin
>./xmlaccess.sh -url http://PortalHost:10038/wps/config/VirtualPortalContextURL -in ../wcm/deploy/DeployWcmAuthoringPortletAndPage.xml

where:
PortalInstall for Linux is usually /opt/IBM/WebSphere/PortalServer/
PortalHost could be localhost ar your Portal hostname
10038 is the SOAP port for accessing the configuration of the Portal. Could be different in your environment
VirtualPortalContextURL is the URL context of your virtual portal.