Thursday, 13 May 2010
IBM WebSphere Portal Content Templates Catalog
Following my previous posting regarding the IBM WebSphere Portal Content Templates Catalog, I had been trying, and failing, to deploy the Catalog into my clustered WP/WCM 6.1.5 environment.
I had, as far as I could tell, modified the install.sh and wkplc.properties appropriately, but the installation script still completed within 10 seconds, and nothing got deployed.
After some excellent help from Ronan and Esmond in the IBM Dublin labs, I realised where I was going wrong.
Esmond suggested that I check the ConfigEngine registry - /opt/IBM/WebSphere/wp_profile/ConfigEngine/registry.xml - to see whether the Templates had been registered.
Looking at this file, I couldn't see any reference to: -
which suggested that the first step in install.sh was failing, albeit without an error message.
Therefore, I looked again at install.sh and, quelle surprise, I was being a complete and utter muppet - the install script is written assuming that the user is running against localhost on 10033: -
whereas I am running against a cluster, with an external deployment manager.
Therefore, I ran the two commands, from install.sh, manually: -
./ConfigEngine.sh -install -assemblyRoot /opt/IBM/WebSphere/PortalServer/IBM.WebSphere.Portal.Content.Templates.Catalog/ -installPath /opt/IBM/WebSphere/PortalServer/ -user wasadmin -<PASSWORD> -hostname dm.uk.ibm.com -port 8879 -offeringName PortalServer -assemblyName IBM.WebSphere.Portal.Content.Templates.Catalog -expandBinaries false
( so replacing localhost/10033 with the hostname of the Deployment Manager - dm.uk.ibm.com - on port 8879 )
which updated the registry.xml as follows: -
<assembly assemblyName="IBM.WebSphere.Portal.Content.Templates.Catalog" installLocation="/opt/IBM/WebSphere/PortalServer//IBM.WebSphere.Portal.Content.Templates.Catalog" lastModified="05/13/2010" version="22.214.171.124">
<component compName="components/sample.ctc.content" installLocation="/opt/IBM/WebSphere/PortalServer//IBM.WebSphere.Portal.Content.Templates.Catalog/components/sample.ctc.content" version="126.96.36.199">
<task taskName="deploy-portlets" failOnError="true" status="FAIL"/>
<task taskName="remove-portlets" failOnError="true" status="FAIL"/>
I then ran the deploy-portlets script: -
./ConfigEngine.sh deploy-portlets -DComponentList=components/sample.ctc.content -propertyfile /opt/IBM/WebSphere/PortalServer/IBM.WebSphere.Portal.Content.Templates.Catalog/wcm.properties
and, quelle surprise, it worked. The deploy-portlets task took 15 minutes, and I now have lots of lovely content to look at :-)
at May 13, 2010
I've got a command within a Dockerfile that generates a Certificate Service Request, via the openssl req command. This references an ...
On IBM developerWorks here: - https://developer.ibm.com/cloudautomation/videos/ Use CAM to deploy Websphere Liberty into AWS Deploy MQ topol...
I've just spent ~1 hour trying to get a pair of Powerline adapters to .... pair. This involved pressing a "Pair" button on one...
If you're running IBM Notes 9.0.1 and have updated to macOS 10.14 Mojave, be aware that you'll also need to install the most recent ...