• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Using IBM Web Administration for i To Configure WebSphere Portal

    July 28, 2010 Pi Guang Ming

    What’s IBM WebSphere Portal? Simply speaking, WebSphere Portal is a J2EE application that runs on the WebSphere Application Server. What’s the benefit of using it? Again, simply speaking, WebSphere Portal enables companies to build their own customer portal Web sites to serve different needs for employees, business partners, and customers. Why IBM Web Administration for i interface? Because WebSphere Portal is complex, but Web Administration for i makes it simple for customers. So how can it do that?

    In this article, you’ll learn what IBM Web Administration for i can do to configure a WebSphere Portal on your IBM i server. IBM Web Administration for i provides an easy way to configure your WebSphere Portal server, by using the Create New WebSphere Portal wizard. This wizard reduces the time required to configure and start the portal server and reduces the complexity of the many different features of the portal server.

    WebSphere Application Server

    What’s the relationship between WebSphere Portal and WebSphere Application Server? Actually, WebSphere Portal is a J2EE application that runs on WebSphere Application Server. The WebSphere Application Server is the engine that drives the WebSphere Portal, and provides J2EE services for the portal environment.

    The Create New WebSphere Portal wizard will create an application server. You cannot use an existing application server. In the summary page of the wizard, you can see the full WebSphere Application Server configuration information, as shown in Figure 1.

    Figure 1: WebSphere Application Server information.

    The key properties are explained as follow:

    • Server version: Specifies the WebSphere Application Server version, on which the WebSphere Portal server is based.
    • Profile name: Specifies a unique name for application server. The wizard gives you a default value.
    • Internal port range: Specifies the range of port numbers your application server uses for internal services. The wizard looks for a free port on your IBM i system.

    As a minimum configuration for the customer, the wizard automatically generates the other fields.

    HTTP Server

    What’s the relationship between WebSphere Portal and HTTP server? The HTTP server routes the incoming dynamic requests to the application server, which then displays the required portlets.

    The Create New WebSphere Portal wizard will either create an HTTP server or use an existing HTTP server. It depends on you! In the summary page of the Create New WebSphere Portal wizard, you will see the HTTP server configuration information, as shown in Figure 2.

    Figure 2: HTTP Server information.

    The key properties are explained as follows:

    • HTTP server name: Specifies a unique name for HTTP server. The wizard gives you a default value.
    • Port: Specifies the TCP/IP port number the HTTP server will be listening on. Again, the wizard looks for a free port on your i system.

    As a minimum configuration for the customer, all of the other fields are automatically generated by the wizard.

    Now, you know that the Create New WebSphere Portal wizard on the GUI can easily create both the application server and HTTP server. Let’s come back to the back-end. What did the wizard do to associate an HTTP server with the application server?

    Simply, the HTTP server uses a WebSphere Application Server (WAS) plug-in module to communicate with the application server. You will find the relevant association directives by checking the HTTP configuration file /www/<http_server>/conf/httpd/conf/, where <http_server> specifies the server root.

    The following lines display the HTTP server directives to communicate with the application server. Their explanations of each directive can be described as follows:

    LoadModule mod_ibm_si /QSYS.LIB/QHTTPSVR.LIB/QZISI.SRVPGM
    LoadModule was_ap20_module /QSYS.LIB/QWAS6.LIB/QSVTAP22.SRVPGM
    LoadModule was_ap20_module /QSYS.LIB/QHTTPSVR.LIB/QSVT2070.SRVPGM
    AppServer *ALL Start End
    WASInstance WAS60SVR01 5733W60 2
    WebSpherePluginConfig /QIBM/UserData/WebSphere/AppServer/V6/Base/
    profiles/WAS60SVR01/config/cells/lwi06_WAS60SVR01/nodes/
    IHS_LWI06_ZY_node/servers/IHS_LWI06_ZY/plugin-cfg.xml
    
    • WASInstancer: Specifies the associated application server instance and the corresponding product and product option. The directive typically has an accompanying AppServer directive. Here in our sample, WASInstance WAS60SVR01 5733W60 2 means the application name is WAS60SVR01, and its associated product and version is WebSphere Application Server V6 (Base).
    • AppServer: The AppServer directive is only effective if directive WASInstance declares the WAS instance name for the application server. The AppServer directive specifies the load module to start the application server when the HTTP Server is started. The AppServer directive also ends the application server when the same HTTP server is stopped. Here in our sample, AppServer *ALL Start End means all application servers automatically start when the associated HTTP server starts, and all application servers automatically end when the associated HTTP Server ends.
    • WebSpherePluginConfig: Specifies the HTTP server plug-in file, which is used by HTTP server to communicate with the application servers for getting dynamic content such as servlets.

    Note: The LoadModule mod_ibm_si is required in the configuration prior to using the directives WASInstance and AppServer.

    The LoadModule was_ap20_module is required in the configuration prior to using the directive WebSpherePluginConfig.

    Now you know what the Create New WebSphere Portal wizard did to create the application server and HTTP server. But having an application server and HTTP server is not enough. You also need a database for a portal server to store information about user identities, credentials, permissions for accessing portal resources, customized Web pages, and other customized portal information.

    Database

    What does a database mean to WebSphere Portal? The DB2 for IBM i database is used by WebSphere Portal as a repository for user customized pages and portal configuration information. The database can be located on the local system or remote system.

    The Create New WebSphere Portal wizard will create several database schemas for Portal server use. The wizard automatically generates these database names. The naming method can be either based on their purpose, like WPEREL1, WPECST1, WPEJCR1, or based on the server name, like WP_PROFIL1, WP_PROFIL2, WP_PROFIL3.

    Note: All database schemas are removed if this portal environment is deleted.

    Apart from that, the Create New WebSphere Portal wizard will also create a new IBM i user profile whose only purpose is to own these database schemas. The user name cannot match any existing library names on the IBM i system. The password for this user ID is set to the same value as the Portal administrator password, which is specified later in this wizard.

    In the summary page of the Create New WebSphere Portal wizard, you will see the database configuration details, as shown in Figure 3.

    Figure 3: Database information.

    DB2 database schemas will be created by default on this local IBM i system to be used by this WebSphere Portal environment.

    The key properties are explained as follows:

    • Owner of the Portal database: The databases must be owned by an i user ID. It is recommended that a dedicated user ID be specified whose only purpose is to own these databases. This prevents the databases from being associated with a specific user whose user ID may be removed in the future.
    • Portal databases: The wizard will name databases based on the server name (e.g., WP_PROFIL1,WP_PROFIL2,WP_PROFIL3), which I mentioned above. All of these database schemas will be used by the portal environment.

    Till now, all of the elements above, including the application server, HTTP server, and database, are required for portal configuration. However, LDAP is optional. It’s mainly for security consideration.

    LDAP Server

    What is an LDAP server? LDAP server is an implementation of the Lightweight Directory Access Protocol. The LDAP server is usually used to control who has access to the portal server.

    What does LDAP mean to a portal? In the portal environment, the LDAP server stores, updates, and retrieves user-specific data related to authentication, such as users and passwords.

    Configuring LDAP is optional. If you require security, you can configure LDAP via the Create New WebSphere Portal wizard. Otherwise, you can skip to the next step.

    In the summary page of the wizard, you will see the LDAP server configuration information, as shown in Figure 4.

    Figure 4: LDAP information.

    The key properties are explained as follows:

    • User registry model: Specifies if use single LDAP user repository or multiple different user repositories. Standalone user repository only allows for a single LDAP user repository to store all authorization information. Federated user repository enables the use of multiple different user repositories.
    • LDAP server name: Specifies the LDAP hostname. The LDAP server can be located either on the i or on a remote system.
    • LDAP port: specifies the TCP/IP port number on which the LDAP server is listening. The default value is port number 389 for TCP/IP connections and 636 for SSL connections to the LDAP server.
    • LDAP administrator DN: Specifies the administration DN (Distinguished Name) for the LDAP server. The DN uniquely identifies an entry in the LDAP server.
    • LDAP administrator password: Specifies the password for the administrator DN.
    • User entry/Group entry: Specifies where the administrator user and group reside in your LDAP directory. A parent DN itself is an entry. LDAP server entries are arranged in a hierarchical structure that could reflect political, geographic, organizational, or domain boundaries. A distinguished name is considered a parent DN when the DN is the directory entry immediately superior to a given DN. The other properties Naming attribute, Object class, and Member attribute can be selected from a list the wizard retrieves from the LDAP server.
    • Administration User/Group: WebSphere Portal requires an administrative group and user entry in the LDAP directory. If the group and user entries do not already exist, the wizard will create them. If the group and user entries already exist, the wizard will validate them. The wizard will also ensure the administrator user is added to the administrative group.

    As you can see, the LDAP configuration is a little complex, which requires you have a good understanding of the relevant LDAP concepts. For more details, see the IBM redbook Understanding LDAP – Design and Implementation.

    You are now armed with the knowledge of four key components created by the Portal wizard. These are WebSphere Application Server, IBM HTTP server for i, IBM DB2 for i, and IBM Tivoli Directory Server for i. The wizard starts portal configuration once you click the Finish in the wizard summary. Accordingly, the page will route to creation progress page, as Figure 5. As the portal server is configured, each icon below will fill in. The status bar over each icon will update on a regular basis showing the status of each step. Hover over each icon to see detailed information on each step and the link to the detailed table.

    Figure 5: WebSphere Portal creation process.

    When Finish is clicked in the summary page, the Intro page will display. As the portal server is configured, each icon below will fill in. The status bar over each icon will update on a regular basis showing the status of each step. Hover over each icon to see detailed information on each step and the link to the detailed table.

    Figure 6 shows different parts of the portal screen after portal configuration has completed. These screens need your attention to determine if the configuration was successful or if some sort of error occurred.

    Figure 6: Portal configuration completed screen.

    The key parts are explained as follows:

    1. In this instance, the green icon “Running” means the application server is currently active. Some of these status include:

    • Creating
    • Stopping
    • Stopped
    • Starting

    2. This pull-down contains the Instance/Server name of the Portal server you just configured. If you want to examine another portal or WebSphere Application Server, you could simply click on the down arrow and select the name of the server you want to examine from the resulting list.

    3. This icon is yet another status of this particular portal server. There are a number of icons that you may see here:

    • Yellow triangle with black exclamation point (!)–Your portal server has been configured and is probably working. But one or more items could not be configured successfully. However, the potential configuration failures are such that your Portal server is somewhat useable.
    • Red triangle with black exclamation point (!)–An error occurred such that you cannot use your portal server. This is severe.
    • Check mark–Your portal server was configured successfully. It has not yet been secured.
    • Padlock–Your portal server was configured successfully and it has been secured with LDAP. This is what is displayed in Figure 6.

    4. The five icons at this level indicate the success or failures of the particular stages of portal configuration. If all of them are purple, all stages of configuration were successful. If any of them remain gray with a red triangle and white exclamation point, a failure of some sort occurred. In this sample, all of the stages were successful.

    5. You can click on “View Logs” or “Web Log Monitor” to get more detailed configuration status information:

    • View Logs–This displays a list of every wizard log and other configuration logs.
    • Web Log Monitor–This enables ability to monitor the contents of log files for your portal servers.

    Now, you’ve successfully configured portal server, in our sample as indicated in Figure 6, to access your portal server click on the following URL: http://lwi07.cn.ibm.com:10039/wps/portal.

    IBM Web Administration for i provides an easy-to-use wizard to configure WebSphere Portal on IBM i environment. Use of this wizard greatly simplifies the process of building web portals. Give it a try!

    Pi Guang Ming is a software engineer for IBM’s i Web integration development team at the China System and Technology Lab. The i Web integration development team’s focus is on the Web-based management of middleware running on i, including WebSphere Application Server, WebSphere Portal Server, Integrated Web Services Server, Integrated Application Server, and the i HTTP server. Send your questions or comments for Jon to Ted Holt via the IT Jungle Contact page.



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Rocket Software

    Unlock the full potential of your data with Rocket Software. Our scalable solutions deliver AI-driven insights, seamless integration, and advanced compliance tools to transform your business. Discover how you can simplify data management, boost efficiency, and drive informed decisions.

    Learn more today.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    PowerTech:  FREE Webinar! An Auditor's View: Assess Your IBM i in 15 Minutes. July 28, 10 a.m. CT
    HiT Software:  FREE white paper! Optimizing Data Access to IBM DB2
    COMMON:  Join us at the Fall 2010 Conference & Expo, Oct. 4 - 6, in San Antonio, Texas

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    RentalMan XI Goes GA IBM Allows i and 5250 Licenses to Jump Hardware

    Leave a Reply Cancel reply

Volume 10, Number 23 -- July 28, 2010
THIS ISSUE SPONSORED BY:

WorksRight Software
SEQUEL Software
System i Developer

Table of Contents

  • Using IBM Web Administration for i To Configure WebSphere Portal
  • Every Bucket Deserves a Descriptive Name
  • Allocating Enough System Storage to a Subsystem

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle