Thursday, December 17, 2009

Enabling SiteAnalyzer in WebSphere Portal

1.Edit wp_profile\PortalServer\config\SiteAnalyzerLogService.properties and add/change: -

SiteAnalyzerFileHandler.fileName=logs/$APPSERVER_NAME/sa.log
SiteAnalyzerPageLogger.isLogging=true
SiteAnalyzerPortletLogger.isLogging=true
SiteAnalyzerSessionLogger.isLogging=true
SiteAnalyzerJSRPortletLogger.isLogging=true
SiteAnalyzerUserManagementLogger.isLogging=true
SiteAnalyzerPortletActionLogger.isLogging=true
SiteAnalyzerApplicationActionLogger.isLogging=true


2.Push the updated properties into the portal configuration
1)Open a command prompt
2)type “cd \ibm\websphere\wp_profile\configengine”
3)type “ConfigEngine.bat update-properties”
3.Restart the portal.

How to enable user impersonation in Websphere portal

  • Log on to the WebSphere Application Server or Network Deployment Administration Console.
  • Perform the following steps to enable the Impersonation feature:

    ##Navigate to Resources -> Resource Environment -> Resource Environment Providers -> WP Authentication Service -> Custom Properties.
    #Click New.
    #Enter logout.explicit.filterchain in the Name field.
    #Enter com.ibm.wps.auth.impersonation.impl.ImpersonationLogoutFilter in the Value field.
    #Click Apply and then click Save to save the changes directly to the master configuration.
    ##Navigate to Resources -> Resource Environment -> Resource Environment Providers -> WP PortletServiceRegistryService -> Custom Properties.
    #Click New.
    #Enter jndi.com.ibm.portal.portlet.service.impersonation.ImpersonationService in the Name field.
    #Enter com.ibm.wps.portletservice.impersonation.impl.ImpersonationServiceImpl in the Value field.
    #Click Apply and then click Save to save the changes directly to the master configuration.

  • Stop and restart the WebSphere_Portal server.

Saturday, December 5, 2009

Websphere Portal and WebServers

By default websphere portal uses the host name where portal is installed and the http transport port created by WAS. e.g. http://hostname.example.com:10040/wps/portal

the host name and port name is specified by properties WpsHostName and WpsHostPort in wkplc.properties file.
In order to use webserver with websphere portal, webserver plugin needs to be installed in webserver. this plugin uses an xml configuration file called plugin-cgf.xml which can be obtained from WAS.

If one need to access websphere portal using host/port other than that of webserver then "virtual host definition" needs to be added to WAS.

Location of wkplc.properties:<>\wp_profile\ConfigEngine\properties


disclaimer