Search blog.co.uk

  • Sticky PortletSession for anonymous page

    As we all know that whenever you put a portlet on a page that doesn't require authentication, portal don't create any session for this.
    The administrator can change this setting with the public.session parameter in NavigatorService.properties.

    Read here for more info

  • Sticky WebSphere Portal 6.1 Admin Installation Virtual Portal Initialization

    When you installed WebSphere Portal 6.1 in the Admin Installation mode, new virtual portals only contain a home page, but are missing the Administration section.
    you can customize the XML Access Script that is used for creating or re-initializing virtual portals.

    You can find an excellent article here, Read Here

  • Sticky Upgrading IBM Portal and WAS

    Hi all,
    with this article, you can upgrade from any version to desired version of IBM Portal and WAS...
    here we start...

    The starting point
    Checking WAS version: - WebSphere Application Server's Administration Console, WAS reported that it was version 6.0.2.9.
    Checking Portal version: - <portal-root>*/wps.properties it reported WPS to be at version 6.0.0.

    Important NOTE:

    When I write  <portal-root>, I mean the root WebSphere Portal installation directory. In my system that would be C:\program files\IBM\WebSphere\Portal\.

    When I write <was-root>,  I mean the root WebSphere Application Server installation directory. In my system that would be C:\program files\IBM\WebSphere\Appserver\.

    Take a backup of your WAS and Portal folder before going to next step. Just for a safer side.

    For Linux, you will have to download the appropriate fix pack for WAS and Portal. The procedure will be same only the command will change as per the Operating System.

    Overview of what needs doing

    First we will upgrade WAS to version 6.0.2.17.
    Then we will upgrade WPS to version 6.0.1

    Information and download resources

    Here are the sites that held both the downloads and the information that made it possible to upgrade my installation:

    -->  6.0.2.17: WebSphere Application Server V6.0.2 Fix Pack 17 for Windows platforms
    --> Readme for IBM WebSphere Application Server V6.0.2.17
    --> 6.0.1: WebSphere Portal version 6.0 refresh pack 1.

    What you need to download

    First WAS-upgrade:
    We will start out here:
    6.0.2.17: WebSphere Application Server V6.0.2 Fix Pack 17 for Windows platforms

    (the same way you can also find for Linux platform)
    Of course, you will need to read it all; your server and environment might not be like mine.

    Scroll down to the table below the text that says "Download package". Here you need to download the file that's described with this text: "32-bit x86 AMD/Intel AppServer".
    The file name is 6.0.2-WS-WAS-WinX32-FP00000017.zip

    Secondly moving on to WPS:
    Go here to download the needed WPS file:
    6.0.1: WebSphere Portal version 6.0 refresh pack 1.

    What you need is a file named 6.0.1-WP-Multi-RP001.zip.

    You also will need the PortalUpdateInstaller for V6: WebSphere Portal Update Installer.

    You need the one for version 6. Scroll down till you find the text "PortalUpdateInstaller for V6"; that's the one. File name is PortalUpdateInstaller.zip.

    WAS upgrade Starts here:-

    The upgrade ran for about 10-15 minutes.

    . Make sure that WAS is not running.

    . Unzip 6.0.2-WS-WAS-WinX32-FP00000017.zip to . This will overwrite some files in <was-root>/updateinstaller.

    . Open a command Prompt and switch directory to  <was-root>/bin

    . Run: setupcmdline.bat

    . Switch directory to /updateinstaller

    . Run this command: update -silent

    Leave the Command Prompt open as it is. You may feel that command has completed but it won. Please read the next 5 lines.

    Now we will need to wait till the upgrade is done.
    Have a look at  <was-root>/logs/update/tmp. While the upgrade is running, there will be temporary log files here.
    When the upgrade has completed successfully, there will be a log at
    <was-root>//logs/update/6.0.2-WS-WAS-WinX32-FP00000017.install

    In order to check if you upgraded successfully, you can start WAS, log on to the Administrative console. On the first page you will see what version WAS is running at. Here's what mine is reporting:

    Leave WAS running. We will be needing it shortly.

    WPS upgrade Starts here:-

    The upgrade process ran for about 1 and half hour.

    . Open <portal-root>/config/wpconfig.properties for editing.

    . Find the password entries for waspassword= and portaladminpwd= and insert the current passwords for both.

    . Save it.

    . Create a new subdirectory called updateinstaller inside <portal-root>.

    . Now unzip the WebSphere Portal Update Installer (PortalUpdateInstaller.zip) into the <portal-root>/ updateinstaller directory.

    . Inside the <portal-root>/updateinstaller directory create a new subdirectory called fixpacks.

    . Unzip the refresh pack (6.0.1-WP-Multi-RP001.zip) in
    <portal-root>/updateinstaller/fixpacks.
    You will now have a .jar file there called WP_PTF_601.jar.

    . Find the Profiles directory. On my system that is
    C:\ibm\WebSphere\profiles\wp_profile\properties. Note that this is a directory different from where WebSphere and WebSphere Portal are installed.

    . Edit the file called soap.client.props.
    Find com.ibm.SOAP.requestTimeout= and make sure that the property is set to 6000.

    . Save it.

    . Open a browser to the WAS Administrative Console.
    1. Click Servers > Application Servers > WebSphere_Portal > Web container settings > Web container transport chains.
    2. Increase the timeout values for each entry listed in the web container transport chains section. Click HTTP Inbound Channel and make the following changes:
    * Read timeout value to 180
    * Write timeout value to 180
    3. Save your changes. 

    . Now stop WAS. 

    . Open a command Prompt and switch directory to <portal-root>/bin
    Run: setupcmdline.bat
    in the same Command Prompt window switch to <portal-root>/updateinstaller
    Run the command updateportalwizard 

    . A graphical updateinstaller launches. select the obvious defaults. Basically its just the defaults all the way

  • IBM Portal Authentication filters

    In WPS, Authentication filters are used to show custom portal pages after logging through login Portlet.

    Once possible use case could be like this,

    If user Dave login to portal, he should see Finance portal page
    If user Andrew login to Portal, he should see Sports portal page

    Other use case that i worked with is,

    User login using Login Portlet (My own developed Login Portlet) and after
    authentication user will be redirected to custom screens of login portlet itself
    and after providing certain information on custom screens, he will be logged in to portal.

    For all these kind of use cases,
    You need to write your own login portlet
    and implement Authentication Filters

    I am just gathering all the technotes that i worked with and found so far
    while working with Authentication Filters

    Configuring authentication filters

    Setting service configuration properties, in this case it would be WP Authentication Service

    This New security APIs in WebSphere helped me lot to understand following, hope it will help for all reader as well.
    a) LoginPortletService and various filters
    b) Capabilities of the remember me cookie b)
    c) Remember me cookie portlet service
    c) Using the Puma Service in a public context and
    d) Authentication filters

    Portal and other libraries required for writing a Portal Authentication Filter

    You will also need, IBM's Advanced URL Genenration Helper Classes

    if you find any error at portal startup, after creating Custom Properties in WP Authentication Service on WAS,
    this technote might help you to resolve your error

  • IBM Portal Login using URL

    Hey guys...
    few days back i was trying to customizing the login portlet of IBM.
    So i kept my own login portlet on login page along with IBM's login portlet.
    I was able to login with my login portlet and were doing some code changes to meet customized requirement. To test something i deleted IBM's login portlet and somehow i was also not able to login with my own login portlet. i got stuck but then any how i have to login to add IBM's login portlet back on login page.
    Then i posted this issue on IBM developer works's and got the solution which is a standard IBM portal login url.
    With this url i was able to login and put IBM's login portlet back on login page.
    I wasted my 30 minutes in finding solution and waiting for developerworks response to my thread.
    Also the reason for writing this post, to save time of all who might got this issues in their env.

    Here is the IBM Portal login URL
    because of shot space, i have just breaked up in three lines to get proper url

    http://servername:port/wps/portal/cxml/
    04_SD9ePMtCP1I800I_KydQvyHFUBADPmuQy?userid=<userid>&password=<password>

    But yes.. i got my customized login portlet working now and it's being used in PROD now. :-)

  • JSR 286 - Portlet Specification 2.0

    Portlet specification 2.0 Proposed Final draft is out for documentation.

    A Quick look at the major changes that you will find in the JSR 286 are:-

    - Event bus concept for Interportlet Communication ( In JSR 168 we use PortletSession with APPLICAION_SCOPE for IPC )which will allow portlets in two different war to communicate each other.

    - Render parameter sharing will allows to share render parameters with portlets.

    - Portlet Filter

    - New request type introduced.Event Request, Resource Request, Fragmanet Request.

    - creating different url like createFragementURL, createRresourceURL by invoking methods on portletResponse interface.

    - Security

    - Caching.

    and many more....

    download here

  • JSR 168 Portlet framework- PORTIONS

    Here is one JSR 168 Portlet framework called PORTIONS.

    This framework is very similar to Struts that we use for developing web application in J2EE.

    Hope you will find it useful.

    Read the Portions Framework

  • IBM WebSphere Portal and Google Gadgets

    Around 4000+ google gadgets are available which are more relevant to business environment.

    And Now we can use these gadgets into IBM WebSphere Portal to get lots of lots of benefits....hmmmm :) okay, let us read an Article here

  • WebSphere Portlet Factory and IBM Rational Application Developer V7.0

    IBM has come up with Portlet Factory and Rational Application Developer V7.0.
    Portlet Factory allows developers to quickly create and deploy portlets.
    With this version of RAD 7.0, a developer will have an excellent look and feel,Web Services wizard in addition with AJAX coding with the help of drag and drop components.

  • IBM WebSphere Portal Version 6 - What's New

    In this New version of Portal,You will see how WebSphere Portal helps you achieve a service-oriented architecture (SOA) environment and excellent AJAX implementation and many more.

    Stefan Hepper and team members has written an excellent article.

    click here for detail.

Footer:

The content of this website belongs to a private person, blog.co.uk is not responsible for the content of this website.