Wednesday, January 21, 2009
Redbook released for Managing WebSphere Portal 6.1 Environments
WebSphere Portal Family wiki has released a redbook for managing WebSphere Portal 6.1 environments. This document(wiki) provide information about how to set up a portal environment, including development, staging and production, and how to move changes through the system.
It's available on the WebSphere Portal wiki click here.
Tuesday, January 20, 2009
How to create 'Edit My Profile' link in custom theme
You may come across a scenario where you need to build a custome theme for the portal in which you need to hide the default lunch button and main menu. By doing this you found that "Edit My Profile" link normally accessed via the Launch button is also hidden.Therefore there is a need to display "Edit My Profile" link in the custom theme that displays at the top of each page.Link should also behave exactly the same way as the one in main menu.
Here are the steps you should follow to get the 'Edit My Profile' link working in your custom theme:
- First you need to create a unique name for the portlet on selfcare page in portal.Use XMLAccess to export the selfcare page.
- Login to the portal with admin access and navigate to the Edit My Profile Page.
- There is an icon for exporting a page. Click on that.
- This will generate an XML file "pageExport.xml", save this on your system.
- Update the file so that it has the basic format shown below. Delete the
tags and add the uniquename attribute to the final tag as shown below in bold. Add nothing else; delete nothing else. - Save and close the file.
- Open this xml file into the portal by navigating to Administration->WebSphere Portal->Portal Settings->Import XML->
- Open the Default.jsp file in your custom theme in a text editor. In the appropriate place where your "Edit My Profile" link should appear, add the tags shown below.
- The contentNode attribute must contain the custom unique name of the 'Edit My Profile' page, i.e., "wps.Selfcare".
- The compositionNode attribute must contain the new custom unique name you just added via XMLAccess, i.e., "wps.t.Selfcare".
- Save and close Default.jsp. Test the new "Edit My Profile" link to confirm that it works as expected.
- Browse the xml file on your system and click on the import button. See for the message successfully imported.
Note: This procedure will not work in a portlet. You need to use the URL generation services to create links in the portlet to the page or other portlets.
Monday, January 12, 2009
IBM Updates WebSphere Portlet Factory
More details can be found at http://www.itjungle.com/fhs/fhs011309-story08.html
Friday, January 9, 2009
Download WCM 6.1 redbook
You can down load this redbook from the following link.
http://www-10.lotus.com/ldd/
Thursday, December 25, 2008
Changing Administration(wpsadmin/wpsbind) passwords in IBM WebSphere Portal 6.0
IBM WebSphere Portal and IBM WebSphere Application Server use some user account as "Security Server ID" for the WebSphere Application Server JVM, access ID or bind ID for authenticated access to databases and LDAP servers, and WebSphere Application Server and WebSphere Portal administrative ID's.
If the password for any user ID is changed either by Websphere portal edit profile screen or through LDAP directly then the password value stored in the appropriate configuration file must be changed.
Changing the WebSphere Portal administrator password
WebSphere Portal treats wpsadmin (the administrator) as any other user, just with more permission granted. It is possible to change the wpsadmin or equivalent password through the user interface (UI), just like any other user can manage their own password through the UI. However, if the wpsadmin account is also used for more than just the administrator, then additional changes, outlined in other steps in this section, must be made to accommodate the change.
Follow these steps to change the WebSphere Portal administrator password:
- Log in to WebSphere Portal as the administrator.
- Click Edit My Profile.
- Change your password in the appropriate box.
- Click Continue.
Note: You can also change the WebSphere Portal Administrator password, like any other user password, using an LDAP editor.
Note: The WebSphere Portal configuration tasks that enable security automatically set the Security Cache Timeout to a value specified in the wpconfig.properties file. Old passwords are stored in cache for this amount of time. The default value is 600 seconds.
For the version 6.0.1
After successfully changing your password, you will need to make additional changes to the RunAsRole passwords; see WebSphere Portal requires additional changes to the RunAsRole passwords for the EJBs to support password change for WPSAdmin and WASAdmin users for information.
Changing the WebSphere Application Server administrator password using WebSphere Portal
You can change the password for the IBM WebSphere Application Server administrator user ID using the WebSphere Application Server Administrative Console.
- Confirm that the WebSphere Application Server Administrative Server and Administrative Console are running.
- Log in to the WebSphere Application Server Administrative Console as the administrator.
- Log in to WebSphere Portal as the WebSphere Application Server administrator and select Edit Profile.
- Type a new password and click OK.
- In the WebSphere Application Server Administrative Console do one of the following, depending on the type of security installation:
- LDAP (non-realm): Click Security > Global Security > User registries > LDAP.
- LDAP (realm): Click Security > Global Security > User registries > Custom.
Note: As we are have configured LDAP with realm support we will take that scenario for this document.
§ From the command prompt, change to the portal_server_root/config directory.
§ Enter the following appropriate command to encrypt the new password:
WPSconfig.bat -DPassword=<new_password> wmm-encrypt
§ The script returns a value for the ASCII encrypted string. You can see that in your command prompt.
§ If you have a Base installation, open the portal_server_root/wmm/wmmWASAdmin.xml file with a text editor.
§ Copy the value from the ASCII encrypted string and paste it in the logonPassword field of the wmmWASAdmin.xml file.
§ Adapt the admin logon and uniqueUserid fields to the distinguished name of the new user.
- Change Server User Password to the new value using admin console for application server and save the changes.
- Stop and restart the WebSphere_Portal and server1 servers.
Note: The configuration tasks that enable security automatically set the Security Cache Timeout to a value specified in the wpconfig.properties file. Old passwords are stored in cache for this amount of time. The default value is 600 seconds.
For the version 6.0.1
After successfully changing your password, you will need to make additional changes to the RunAsRole passwords; see WebSphere Portal requires additional changes to the RunAsRole passwords for the EJBs to support password change for WPSAdmin and WASAdmin users for information.
I have successfully implemented these steps. :) If any of you find it hard on your portal environment, just drop a comment, may be I can help you.
Monday, December 15, 2008
Naming convention for Websphere Portal Resources
- Every portal page must have a uniqueName defined by the administrator
Use your own uniqueName instead of the automatically generated one.
- Portal page uniqueNames will follow the java package naming conventions
For example, the uniqueName of the home page would be :
com.yash.portal.home
the uniqueName of the 'Home >About Us' page would be
com.yash.portal.home.aboutUs
the uniqueName of the 'Home > About Us > Leadership team' would be
com.yash.portal.home.aboutUs.Business Leadership
- Using this name convention, we can reserve special suffixes for particuliar processing the .hidden suffix will be used for pages that should not appear in the navigation menus. We can then code the Theme so as to filter out of the navigation menus, all pages whose uniquename ends with the .hidden suffix
- All custom coded WAR files will be prefixed by the Company Name.
For example YASH_ContentPortlet.war
This helps when updating portlet applications from the admin console, as you can quickly find the company's own portlets by using 'Title starts with' Filter
Sunday, December 7, 2008
WebSphere Portal 6.1.0.1 Beta 1 with support for WebSphere Application Server (WAS) 7.0
WebSphere Portal 6.1.0.1 Beta 1 with support for WebSphere Application Server (WAS) 7.0