Executing the Scripts

You can configure WebSphere automatically by executing two scripts.


Before you begin: You must have administrator privileges to execute the scripts. In addition, if you are executing the scripts on a Linux operating system, you will enter wsadmin.sh instead of wsadmin.bat. The rest of the command segments for both Windows and Linux are switches, and forward slashes are required.
  1. From a command prompt, update and run the following to execute the WebSphereScript.py script:

    <WebSphere installation>\AppServer\bin>wsadmin.bat -lang jython -profileName <profile_name> -conntype SOAP -user <user name> -password <password> -profile
    
    "<SEE_install_directory>/<operating_system>/reffiles/SMAFIPserver/websphere/deploy/WebSphereConfigProcs.py" 
    
    -f "<SEE_install_directory>/<operating_system>/reffiles/SMAFIPserver/websphere/deploy/WebSphereScript.py" 
    
    "<SEE_install_directory>/<operating_system>/reffiles/SMAFIPserver/websphere/deploy/params.txt"

    The above single command configures your WebSphere profile as required by the SIMULIA Execution Engine.

  2. From a command prompt, update and run the following to execute the WebSphereDeploy.py script:

    <WebSphere installation>\AppServer\bin>wsadmin.bat -lang jython -profileName <profile_name> -conntype SOAP -user <user name> -password <password> -profile
    
    "<SEE_install_directory>/<operating_system>/reffiles/SMAFIPserver/websphere/deploy/WebSphereConfigProcs.py" 
    
    -f "<SEE_install_directory>/<operating_system>/reffiles/SMAFIPserver/websphere/deploy/WebSphereDeploy.py" 
    
    "<SEE_install_directory>/<operating_system>/reffiles/SMAFIPserver/websphere/deploy/params.txt"

    The above command deploys the SIMULIA Execution Engine war/ear files to your WebSphere profile.

  3. Continue with the remaining topics in Configuring WebSphere.