Deploying Rational Focal Point on WebSphere Application Server

Product documentation


Abstract

Many of the Rational Focal Point users are not very familiar with the IBM WebSphere Application Server and find the procedure to deploy Rational Focal Point war files on WebSphere Application Server as lengthy, time consuming, and error prone.

Content

Overview:

The python scripts described in this document were developed to address the demand to automate the deployment process. The scripts reduce human intervention, possibility of errors, and the time taken to deploy the Rational Focal Point war files on WebSphere Application Server.


Prerequisite:
Ensure that Rational Focal Point is installed on the system where the WebSphere Application Server is installed. For information on installing Rational Focal Point, see the Installation guide.


Steps to deploy Rational Focal Point files on WebSphere Application Server using the python scripts:

  1. Extract the scripts
    Note: This step is not applicable if you are using Rational Focal Point version 6.6.1 and later versions. In Rational Focal Point 6.6.1 and later versions, the deployment scripts can be found in the <fpinstalldirectory>\server\was\fp directory.

  2. Modify soap.client.props file

  3. Execute fp_was_config.py

  4. Execute fp_undeploy.py
    Note: This step is applicable only if you have already deployed any of the Rational Focal Point war files

  5. Execute fp_deploy.py

  6. Reset the value of com.ibm.SOAP.requestTimeout


Notes:
  • While executing the script, if the input parameter is a directory name with space, replace the directory name with its short name. Directory name with spaces is supported only for Windows Operating System.

    For example, the short name of the "Program Files" directory could be Progra~1. To find the short name of a directory, use the dir/x command. Thus, if the "Program Files" is a directory that is present in the C:\ drive, to find its short name, you need to open the command prompt, traverse to C:\ directory, and enter the command as dir/x.

  • Use forward slash as the file separator for input parameters, while executing the script.



Detailed Steps:

I. Extract the scripts

  1. Download the attached fpjythonscripts.zip to the system where the WebSphere Application Server is installed.

  2. Extract the following python scripts:
    • fp_was_config.py script to configure the JVM parameter.
    • fp_undeploy.py script to uninstall any previously installed Rational Focal Point war files.
    • fp_deploy.py script to install the Rational Focal Point war files.



II. Modify soap.client.props file

  1. Stop the WebSphere Application Server

  2. Go to <WASinstalldirectory>/profiles/<Server>/properties folder

  3. Open soap.client.props file

  4. Note the original value of com.ibm.SOAP.requestTimeout, and change the value to 0

  5. Save the soap.client.props file

  6. Restart the WebSphere Application Server



III. Execute fp_was_config.py

  1. Open the command prompt or terminal, and go to the folder <WASinstalldirectory>/profiles/<server>/bin

  2. Execute the following command:
    wsadmin -language jython -user username -password password -f path to fp_was_config.py path to conf directory

    Examples
    • Windows:
      wsadmin -language jython -user admin -password focalpoint -f  C:/fpjythonscripts/fp_was_config.py  C:/JazzTeamServer/server/conf

    • Linux:
      ./wsadmin.sh -language jython -user admin -password focalpoint -f  /opt/fpjythonscripts/fp_was_config.py  /opt/JazzTeamServer/server/conf



IV. Execute fp_undeploy.py

Note: This step is applicable only if you have already installed any of the Rational Focal Point war files.
  1. Open the command prompt or terminal, and go to the folder <WASinstalldirectory>/profiles/<server>/bin

  2. Execute the following command:
    wsadmin -language jython -user username -password  password -f path to fp_undeploy.py

    Examples:
    • Windows:
      wsadmin -language jython -user admin -password focalpoint -f C:/fpjythonscripts/fp_undeploy.py

    • Linux:
      ./wsadmin.sh -language jython -user admin -password focalpoint -f /opt/fpjythonscripts/fp_undeploy.py



V. Execute fp_deploy.py

  1. Open the command prompt or terminal, and go to the folder <WASinstalldirectory>/profiles/<server>/bin

  2. Execute the following command:
    wsadmin -language jython -user username -password password -f path to fp_deploy.py nodename servername path to the war files

    Examples:
    • Windows:
      wsadmin -language jython -user admin -password focalpoint -f C:/fpjythonscripts/fp_deploy.py IBM-H2C794T5595Node01  server1 C:/JazzTeamServer/server/webapps/

    • Linux:
      ./wsadmin.sh -language jython -user admin -password focalpoint -f   /opt/fpjythonscripts/fp_deploy.py IBM-H2C794T5595Node01 server1  /opt/JazzTeamServer/server/webapps/



VI. Reset the value of com.ibm.SOAP.requestTimeout

  1. Stop the WebSphere Application Server

  2. Go to <WASinstalldirectory>/profiles/<Server>/properties folder

  3. Open soap.client.props file

  4. Change the value of com.ibm.SOAP.requestTimeout to the original value

  5. Save the soap.client.props file

  6. Start the WebSphere Application Server

Result: If you open the WebSphere Application Server Administrator console, you can find that the Rational Focal Point war files are deployed.


Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

fpjythonscripts.zipfpjythonscripts.zip

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Focal Point
Installation

Software version:

6.6, 6.6.0.1, 6.6.1

Operating system(s):

Linux, Solaris, Windows

Reference #:

7038659

Modified date:

2014-07-09

Translate my page

Machine Translation

Content navigation