If you have already installed Rational® ClearCase® or Rational ClearQuest® with CM Server (with WebSphere Application Server version 6.1 installed and running CM Server), or if you have also installed WebSphere Application Server and want CM Server to run within a different version of WebSphere Application Server instead of the supplied WebSphere Application Server version 6.1, the following instructions apply.
For information on WebSphere Application Server see http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp
#!/bin/sh WAS_BIN=/opt/IBM/WebSphere/AppServer/bin export WAS_BIN; cd /opt/IBM/RationalSDLC/common/CM/scripts $WAS_BIN/wsadmin.sh -f installAll.jacl -rationalDir /opt/rational $WAS_BIN/stopServer.sh server1 $WAS_BIN/startServer.sh server1
Disabling existing WebSphere Application Server
/opt/IBM/RationalSDLC/common/eWAS/bin/stopServer.sh server1 cmprofile cd /etc find . -name '*ewas*' -print
./init.d/ewas_startup ./init.d/ewas_shutdown ./rc0.d/K30ewas_shutdown ./rc3.d/S99ewas_startupRemove all the startup and shutdown files.
Redirecting IBM HTTP Server to WebSphere Application Server
By default, IBM HTTP Server redirects some URLs to WebSphere Application Server ports. To make IBM HTTP Server redirect to your WebSphere Application Server installation, edit plugin-cfg.xml (/opt/rational/common/eWAS/profiles/plugin-cfg.xml). This file is referenced from /opt/rational/common/IHS/conf/httpd.conf. If you want the plugin file to be elsewhere, you can move it and then update httpd.conf.
/opt/IBM/RationalSDLC/common/IHS/bin/ihs_restartYou can verify the updates with this URL: http://localhost/TeamWeb/services/Team
set WAS_BIN=C:\Progra~1\IBM\WebSphere\AppServer\bin c: cd "Program Files\IBM\RationalSDLC\common\CM\scripts" call %WAS_BIN%/wsadmin.bat -f installAll.jacl -rationalDir "C:/Program Files/IBM/RationalSDLC" call %WAS_BIN%/stopServer.bat server1 call %WAS_BIN%/startServer.bat server1
Optionally, server1 can be restarted from Windows® Services Control Panel.
Disabling existing WebSphere Application Server
To disable WebSphere Application Server , use the Windows Services Control Panel to stop and disable the WebSphere Application Server profile (named cmserver). You can stop and disable the service or delete it.
Redirecting IBM HTTP Server to WebSphere Application Server
By default, IBM HTTP Server redirects some URLs to WebSphere Application Server ports. To make IBM HTTP Server redirect to your WebSphere Application Server installation, edit plugin-cfg.xml (C:\Program Files\IBM\RationalSDLC\ common\eWAS\profiles\plugin-cfg.xml). This file is referenced from httpd.conf (for example, C:\Program Files\IBM\RationalSDLC\ common\IHS\conf\httpd.conf). If you want the plugin file to be elsewhere, you can move it and then update httpd.conf.
C:\Program Files\IBM\RationalSDLC\common\IHS\bin\ihs_restartYou can verify the updates with this URL: http://localhost/TeamWeb/services/Team