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

Sunday, November 29, 2009

Reading my blog....read the disclaimer

This is a personal blog. The opinions expressed here represent my own and not those of my employer .

These opinions are based on my understanding of the subject which may or may not be correct.

Feel free to post your comment if you agree or disagree with the post.I may keep updating old posts on a regular basis and i am not bound to explicitly state all corrections made.

Getting Started

its been several months since i started working on a websphere portal server project. its been a great journy so far and have explored many stuff and i know there so much out there yet to be explored. often while looking for information i have stumbled upon blogs written by many other people. taking inspiration from the good work that they have done i am starting to have my own blog on websphere portal server.