WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Configuring the server profile

Procedure
  1. In the Rational® Application Developer for WebSphere® Software Project Explorer view, expand IBM > config.
  2. From the menu for the config_premises.bat file, select Open With > Text Editor.
  3. Change the following variable values to the correct value for your workstation.
    • HTTP_INSTALL_DIR = IBM® HTTP Server installation directory (for example, C:\Program Files\IBM\HTTPServer)
    • MQ_INSTALL_DIR = WebSphere MQ installation directory (for example, C:\Program Files\IBM\WebSphere MQ)
    • RAD_INSTALL_DIR = Rational Application Developer for WebSphere Software installation directory (for example, C:\Program Files\IBM\SDP70)
    • RAD_WORKSPACE_DIR = Rational Application Developer for WebSphere Software workspace directory (for example, C:\workspace)
    • WAS_PROFILE_NAME = Rational Application Developer for WebSphere Software WebSphere Application Server profile name (for example, RFIDTOOLKIT)
  4. For DB2®, change these variables:
    • DB_INSTALL_DIR = DB2 for Linux®, UNIX®, and Windows® installation directory (for example, C:\Program Files\IBM\SQLLIB)
    • DB_TYPE = db2
    • DB_HOSTNAME = database server hostname (for example, localhost)
    • DB_PORT_NUMBER = 50000
    • DB_NAME = IBMRFID
    • DB_USERNAME = database user ID
    • DB_PASSWORD = database password
  5. For Oracle, change these variables:
    • DB_INSTALL_DIR = Oracle installation directory (for example, C:\oracle\product\10.2.0\client_1)
    • DB_TYPE = oracle
    • DB_HOSTNAME = database server hostname
    • DB_PORT_NUMBER = 1521
    • DB_NAME = IBMRFID
    • DB_USERNAME = database user ID
    • DB_PASSWORD = database password
  6. If you are using a workstation that is not US English, change the following variable to the appropriate value:
    • DMS_BUNDLE_DIR = IBM HTTP Server document root
  7. Save and close the text editor.
  8. Open a Windows command prompt.
  9. Change directory to the your_workspace\IBM\config path.
  10. Run the config_premises.bat script. Wait for the process to complete. It may take several minutes. Ignore any errors similar to the following:
    Log directory "C:\workspace\IBM\RFID\logs" exist
    The system cannot find the path specified. 

    The log information is available in the your_workspace\IBM\RFID\logs directory.

  11. Refresh the IBM project to see the newly created files.
  12. Start the server.
  13. In the Servers view, from the menu for WebSphere v6.1 Server @ localhost, select Add and remove projects.
  14. Click Add All.
  15. Click Finish and wait for the action to complete.
  16. Restart the server.
What to do next
Test the configuration.

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.