Friday, 17 February 2012

Portal Security Error

Had an issue this morning re-enabling security on Portal where Portal appears to start successfully but when you try and access WebSphere Portal via the browser, you receive a "404 Error Initialization of one or more services failed" error.

The SystemOut.log showed the following errors:

Caused by: com.ibm.wps.um.exceptions.impl.PumaSystemExceptionImpl: com.ibm.wps.util.DataBackendException: EJPSG0015E: Data Backend Problem com.ibm.websphere.wim.security.authz.AccessException: CWWIM2008E The principal 'AnonymousUser' is not authorized to perform the operation
'GET PersonAccount' on 'uid=wpsadmin,o=defaultWIMFileBasedRealm'

[datetime] 00000015 PortalCollect E com.ibm.hrl.portlets.WsPse.PortalCollectionsService PortalCollectionsService EJPJO0119E: Failed to initialize portal collections services. java.lang.NoClassDefFoundError: com.ibm.wps.ac.impl.AccessControlDataManagement (initialization failure)
...............

Cause
Administrative security is disabled, but I had just enabled security on the Deployment Manager and used it to login via the admin console, with a little more digging around I noticed that in this particular scenario, the deployment manager did not sync with the node correctly and therefore didn't update the sercirty.xml file at cell level.

Resolving the problem
Enabled security in the security.xml and doubled checked the dmgr security.xml and restarted everything, and all worked and I was now able to login to Portal again as normal.

Thursday, 9 February 2012

Has WCM been Installed??

Portal comes in many different version, so it important to check that you are installing the correct version: Express, Base, Enable and Extend . Some of them include WCM and some of them not, as a friend of mine found out the hard way, after spending some time getting his install working on AIX he couldn't find any of the WCM components.

There is two ways to check that Portal was install correctly with WCM installed.

1- Use the command:
$WPS_HOME/bin/WPVersionInfo.sh and check the Portal version and the installed capabilities, including WCM.

http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1/topic/com.ibm.wp.exp.doc_v6101/reference/wp_history.html

2- Open the file $WPS_HOME/wps.properties, if your Portal installation has WCM you will have a line like this one:
WPFamilyName=content

If you Portal installation doesn’t have WCM you will find a line like this:
WPFamilyName=server

https://www-304.ibm.com/support/docview.wss?uid=swg21320888

Cloning an IBM WebSphere Portal V7 installation

Useful when automating WebSphere Portal 7 installations.

Summary: Learn how to clone an installation of IBM WebSphere Portal version 7.0 that has been configured for specific deployment needs. This white paper is intended for portal administrators who want to build a standardized installation of WebSphere Portal within their organization and use it as a template from which to mass-produce additional pre-installed and pre-configured portals.