IBM WebSphere Studio Application Developer Integration Edition 5.0.1 Run-time Updates

Installation Instructions


WebSphere Studio Application Developer Integration Edition consists of a set of tools to build applications running on an application server. To test those applications, it includes a run-time test environment that simulates an application server within the product. At the beginning of this cumulative fix, some prerequisites were made to modify the run-time test environment. They were necessary for the fixes designed for the tools to be effective.

In addition, you can also optionally update the run-time environment to match the current level of your standalone WebSphere application server. Although it is not necessary or recommended to update the run-time test environment just to match the application server level, some users may choose to match the application server level they deploy their applications to.


Updating the Enterprise server run-time test environment to 5.0.2
 

You begin your update by unzipping and installing the WebSphere Application Server (WSAS) Enterprise 5.0.2 run-time fix pack, which is a prerequisite. Then you install some fixes and make modifications so that your old configurations will work in the new Enterprise server 5.0.2 run time.

Prerequisites

 

  1. Get the WSAS Enterprise 5.0.2 run-time fix pack from the WSAS Enterprise Support site. Launch your browser to the WSAS Enterprise Support site. Beneath Download, click Version 5.0 Fix Pack 2 (5.0.2). Follow the instructions to download the fix pack.

  2. Get the WSAS base 5.0.2 run-time fix pack from WSAS Support site. Launch your browser to the WSAS Support site. Beneath Download, click Version 5.0 Fix Pack 2 (5.0.2). Follow the instructions to download the fix pack.

  3. Get the JVM hangs during profiling interim fix from WSAS Support site. Launch your browser to the WSAS Support site. Click All Updates. Click PQ80207; 5.0.2: PQ79105 is incorrectly packaged. Download either PQ80207_linux_i386 for Linux or PQ80207_win for Windows. 

 

Set up the WSAS Enterprise ASV 5.0.2 and PME 5.0.2 PTFs
 

  1. Close WebSphere Studio if open.
     
  2. Using a file manager, open the following folder:
    WSinstalldir\Runtime Updates
     
  3. Create two folders in Runtime Updates: ASV PTF2 and PME PTF2.
     
  4. Unzip was50_fp2_win.zip to the ASV PTF2 folder. These files will update the base WSAS run-time environment.
     
  5. Unzip was50_pme_fp2_win.zip to the PME PTF2 folder. These files will update the WSAS Enterprise run-time environment.
     
  6. Using a file manager, create the following folder:
    WSinstalldir\Runtime Updates\PQ80207
     
  7. Place the downloaded JVM hangs during profiling interim fix there; that is place the PQ80207...jar file there. Do not unzip.

Installing the PTF to the base WSAS Enterprise run-time environment
 

Note: If you plan to install embedded messaging with WebSphere Studio and have not yet installed it, do so before continuing. Otherwise, if you install embedded messaging with WebSphere Studio after updating to 5.0.2, then you will need to repeat the following steps again to complete the installation.
 

  1. Open a command window.
    On Windows, change the path to:
    WSinstalldir\runtimes\ee_v5\bin
    Run setupCmdLine.bat.
    On Linux, execute this command:
    export JAVA_HOME=/opt/IBM/WebSphereStudio/runtimes/ee_v5/java
     
  2. In the same command window, change the path to:
    WSinstalldir\Runtime Updates\ASV PTF2
    Run updateWizard.bat (or updateWizard.sh on Linux).
    The Update Installation wizard opens. Select a language such as English and click Next.
     
  3. On the following page, select Specify product information. Click Browse beside the Installation directory field. A folder dialog opens. Navigate to:
    WSinstalldir\runtimes
    Select ee_v5 from the folders listed. Click Open (or OK on Linux).  The path is entered in the Installation directory field. It should be:
    WSinstalldir\runtimes\ee_v5
    Click Next.
     
  4. The following page lists what can be installed. Select Install fix packs. Click Next.
     
  5. The following page requests where the fix packs are located. Check that the Fix pack directory field is:
    WSinstalldir\Runtime Updates\ASV PTF2\fixpacks
    Click Next
     
  6. On the following page, the fix pack available for installation is listed. Click Next.
     
  7. The external components linked to the update are listed. You should keep the IBM HTTP Server update selection disabled. If you installed embedded messaging in WebSphere Studio Application Developer Integration Edition 5.0 then you should select Embedded Messaging and specify the correct install path. If you did not install embedded messaging then you should clear the Embedded Messaging check box. Click Next.
     
  8. The following page summarizes the installation, listing the fix pack, the product, and the directory to be updated. Click Next.
    Note: Expect an installation time of fifteen minutes or longer.
     
  9. A final page confirms a successful installation. Click Finish. Close the command window. 

Installing the PTF unique to the WSAS Enterprise run-time environment
 

  1. Open a command window.
    On Windows, change the path to:
    WSinstalldir\runtimes\ee_v5\bin
    Run setupCmdLine.bat.
    On Linux, execute this command:
    export JAVA_HOME=/opt/IBM/WebSphereStudio/runtimes/ee_v5/java  
     
  2. In the same command window, change the path to:
    WSinstalldir\Runtime Updates\PME PTF2
    Run updateWizard.bat (or updateWizard.sh on Linux).
    The Update Installation wizard opens. Click Next
     
  3. On the following page, select Specify product information. Click Browse beside the Installation directory field. A folder dialog opens. Navigate to:
    WSinstalldir\runtimes
    Select ee_v5 from the folders listed. Click Open (or OK on Linux). The path is entered in the Installation directory field. It should be:
    WSinstalldir\runtimes\ee_v5
    Click Next.
     
  4. The following page lists what can be installed. Select Install fix packs. Click Next.
     
  5. The following page requests where the fix packs are located. Check that the Fix pack directory field is:
    WSinstalldir\Runtime Updates\PME PTF2\fixpacks
    Click Next.
     
  6. The fix pack available for installation is listed. Click Next.
     
  7. The following page summarizes the installation, listing the fix pack, the product, and the directory to be updated. Click Next.
     
  8. A final page confirms a successful installation. Click Finish. Close the command window.   

Install fixes to add Staff support  and prevent the JVM from hanging during profiling to the WSASE 5.0.2 run-time environment
 

Note: If you previously installed PQ79105 in Interim Fix 006, uninstall it before proceeding.  

  1. Open a command window.
    On Windows, change the path to:
    WSinstalldir\runtimes\ee_v5\bin
    Run setupCmdLine.bat.
    On Linux, execute this command:
    export JAVA_HOME=/opt/IBM/WebSphereStudio/runtimes/ee_v5/java  
     
  2. In the same command window, change the path to:
    WSinstalldir\Runtime Updates\PME PTF2
    Run updateWizard.bat (or updateWizard.sh on Linux).
    The Update Installation wizard opens. Click Next
     
  3. On the following page, select Specify product information. Initially, a product not found message will occur because the installer is assuming this is a standalone server. It is not an error. Click Browse beside the Installation directory field. A folder dialog opens. Navigate to:
    WSinstalldir\runtimes
    Select ee_v5 from the folders listed. Click Open (or OK on Linux). The path is entered in the Installation directory field. It should be:
    WSinstalldir\runtimes\ee_v5
    Click Next.
     
  4. The following page lists what can be installed. Select Install fixes. (Note: install fixes not install fix packs.) Click Next.
     
  5. The following page requests where the fix packs are located. Check that the Fix pack directory field is:
    WSinstalldir\Runtime Updates\PQ76593
    Click Next.
     
  6. The fixes available for installation are listed. Check PQ76593 and click Next.
     
  7. The following page summarizes the installation, listing the fix pack, the product, and the directory to be updated. Click Next.
     
  8. A final page confirms a successful installation. Select the run again button.
     
  9. Run the wizard again for the interim fix to prevent the JVM from hanging during profiling. The path to the interim fix WSinstalldir\Runtime Updates\PQ80207, where you placed the downloaded JAR file earlier. The fix number is PQ80207.  

 


User Instructions
 

This update lets you test applications on the WSAS Enterprise 5.0.2 run time. You can take advantage of the fixes added to the 5.0.2 run time. New enhancements for the WSAS Enterprise 5.0.2 run time, such as JMS over SOAP, however, cannot be exploited.

The WSAS Enterprise 5.0.2 run time addressed some security issues from the previous version. These changes mean you must make a minor change to your existing Enterprise server configurations by completing the following steps:

  1. Launch WebSphere Studio.
     
  2. In your workspace locate your Enterprise server configuration, it is a folder with a wsc file extension. For example, in the structure below, it is EETestServer.wsc. Navigate to the following path:
    /cells/localhost/nodes/localhost/servers/server1
     
  3. Edit the resources.xml file and delete the following name/value pair: authDataAlias="BPEAuthDataAliasCloudscape"

    Server configuration file path

 

Verification

In this section, you will verify that the update for the run-time environment was installed.

  1. Create and launch a new enterprise server instance. For example, create an enterprise server instance called EETestServer. Next, select the Servers tab in the Servers view of the Business Integration perspective. Right-click EETestServer. From the pop-up menu, select Start. The Console view opens as the server starts.
     
  2. In the first line of the console output, you should see the following text to indicate the update to 5.0.2:
    WebSphere Platform 5.0 [BASE 5.0.2 ptf ... ] [PME 5.0.2 ptf...]  
     
  3. You can alternately use the administrative console for verification. To enable it, follow these steps:
     
    1. In the Servers view, select the Server Configuration tab. Right-click your new server instance and from the pop-up menu, select Open. Click the Configuration tab. Select Enable administration console and save and close your server configuration.
       
    2. Select the Servers tab and right-click your server. From the pop-up menu, select Start. Once started, select the server again and from the pop-up menu, select Run Administrative console. The console will launch in the internal browser of the workbench. You will be asked for a login userid. If you have never created one, enter a new one, such as IBM, and click OK. In the About your WebSphere Application Server section of the console, a 5.0.2 indicates a successful installation.

      Administrative console verification for 5.0.2

Instance list in new Web client

After applying this update, you will notice that the default instance list in the Web client is empty. It is empty because a more precise query in the updated client checks for authentication of a userID. If security is not enabled for the test environment's application server instance, the query returns an empty result set and so the instance list is empty.

If you want to see the instance list, enable security on the test environment server. Another way to see the instance list is to create a customizable list. With a customizable list, you can create a query that will explicitly use UNAUTHENTICATED as userID for starting the process. A user defined list, however, can not be saved because an unauthenticated user does not have the authority required by the WebSphere Process Choreographer to save lists.

If your processes use compensation

If your processes use compensation, then perform these additional steps:

  1. In the Business Integration perspective, select the J2EE Hierarchy view. Remove the BPEContainer, bpecontainer_ejb, compensate_ejb, and bpewebclient folders (shown in the following figure) from your workspace, as well as any references to them.
    Folders to be removed if using compensation
  2. Create a new Enterprise server configuration. Creating the configuration will import a new set of these projects. Afterwards, delete the new configuration as it was only created temporarily to import the projects. Add the BPEContainer application to the Enterprise server configuration you want to run, if it has not been added already.

Upgrading to the new process Web client

The WSAS Enterprise 5.0.2 run-time fix pack introduces a new version of the process Web client. The user interface of the new process Web client differs from the old version, but it is functionally similar. To avoid potential problems, you must upgrade to the new version of the process Web client by completing the following steps:

  1. Open the Import wizard and navigate to the following directory:
    ee_v5\installableApps
  2. Import the processportal.ear file. Your EAR file name and the portal name must be different.
  3. Add the processportal.ear file to your Enterprise server configuration. You will see some errors, which you can ignore. At build time, your processes will work as normal.

If you turn on security

If you choose to turn on security, you may encounter authorization problems when invoking the process Web client or when working with workflows.

If you encounter authorization problems when invoking the process Web client, check the settings for the WebClientUser role by completing the following steps:

  1. In the Workbench, open the Server perspective.
  2. In the Navigator view, expand the processportal application project and the META-INF folder.
  3. Double-click the application.xml file to open it in the Deployment Descriptor Editor.
  4. Click the Security tab.
  5. Ensure that WebClientUser is selected.
  6. Ensure that the All authenticated users checkbox is selected.
  7. Save the changes and close the application.xml file.
  8. Start the UTE server.
  9. Launch the process Web client and specify a valid user ID and password when prompted.

If you encounter authorization problems when working with workflows, complete the following steps:

  1. Edit the following file:
    Installdir\workspace\BPEContainer\META-INF\ibm-application-bnd.xmi
  2. Add a Group as the Process Administrators by adding the line shown in bold text below:

    <?xml version="1.0" encoding="UTF-8"?>
    <com.ibm.ejs.models.base.bindings.applicationbnd:ApplicationBinding xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:com.ibm.ejs.models.base.bindings.applicationbnd="applicationbnd.xmi" xmlns:com.ibm.ejs.models.base.bindings.commonbnd="commonbnd.xmi" xmi:id="ApplicationBinding_1058277522344">
    <authorizationTable xmi:id="AuthorizationTable_1058277522344">
    <authorizations xmi:id="RoleAssignment_1058277522344">
    <role href="META-INF/application.xml#SecurityRole_1058277522344"/>
    <groups xmi:id="Group_1058277522344" name="Administrators"/>
    </authorizations>
    <authorizations xmi:id="RoleAssignment_1058277522345">
    <specialSubjects xmi:type="com.ibm.ejs.models.base.bindings.applicationbnd:AllAuthenticatedUsers" xmi:id="AllAuthenticatedUsers_1058277522344" name="AllAuthenticatedUsers"/>
    <role href="META-INF/application.xml#SecurityRole_1058277522345"/>
    </authorizations>
    <authorizations xmi:id="RoleAssignment_1058277522346">
    <specialSubjects xmi:type="com.ibm.ejs.models.base.bindings.applicationbnd:AllAuthenticatedUsers" xmi:id="AllAuthenticatedUsers_1058277522344" name="AllAuthenticatedUsers"/>
    <role href="META-INF/application.xml#SecurityRole_1058277522346"/>
    </authorizations>
    </authorizationTable>
    <application href="META-INF/application.xml#Application_ID"/>
    <runAsMap xmi:id="RunAsMap_1058277522344">
    <runAsBindings xmi:id="RunAsBinding_1058277522344">
    <authData xmi:type="com.ibm.ejs.models.base.bindings.commonbnd:BasicAuthData" xmi:id="BasicAuthData_1058277522344" userId="admin" password="{xor}PjsyNjE="/>
    <securityRole href="META-INF/application.xml#SecurityRole_1058277522346"/>
    </runAsBindings>
    </runAsMap>
    </com.ibm.ejs.models.base.bindings.applicationbnd:ApplicationBinding>
     
  3. In the line that you added, modify the number following Group_. The number must match the number that follows SecurityRole_ in the previous line.
  4. In the line that you added, modify the name Administrators to reflect a group that is defined on your PC.

Updating the WSAS run-time test environment to 5.0.2

Previously, you updated the WSAS Enterprise run-time to 5.0.2. The WSAS Enterprise run time is used when you create a server instance with a server type called EE Test Environment. However, some users also will need to update the WSAS run-time environment to 5.0.2. The WSAS run time is used when you create a server instance with a server type called Test Environment. If you have created and use server instances with a Test Environment server type, then follow these instructions to update that run time to 5.0.2 too. 

To update the WSAS run-time environment to 5.0.2, follow these update instructions.

In addition, add the the fix to prevent the JVM from hanging during profiling, as shown earlier in the final step of Install fixes to add Staff support and prevent the JVM from hanging during profiling to the WSASE 5.0.2 run-time environment. Since you are applying to the WSAS run-time environment, not the WSAS Enterprise environment run-time, replace ee_v5 with base_v5 when applying the fix.


© Copyright International Business Machines Corporation, 2000, 2004.
All rights reserved.