Sunday, May 11, 2008

websphere virtual portal and websphere content manager (WCM)

As I said before, administration of the portal is a pain :)

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.

No comments: