Erinevus lehekülje "IAS'i käivitamine ja seiskamine" redaktsioonide vahel
Allikas: Kuutõrvaja
(→OHS serveri seadistuste muutmine) |
(→OHS serveri seadistuste muutmine) |
||
23. rida: | 23. rida: | ||
New port values been saved to the configuration file(s). | New port values been saved to the configuration file(s). | ||
Updating targets.xml with new port value ... | Updating targets.xml with new port value ... | ||
− | oracle_ias target StatusURL property was changed from "http://ias.loomaaed.tartu.ee: | + | oracle_ias target StatusURL property was changed from "http://ias.loomaaed.tartu.ee:7777" to "http://ias.loomaaed.tartu.ee:8081". |
− | oracle_bc4j target port property was changed to | + | oracle_bc4j target port property was changed to 8081. |
Update of targets.xml is complete. | Update of targets.xml is complete. | ||
Restarting the Application Server instance ... | Restarting the Application Server instance ... | ||
The Application Server instance has been restarted. | The Application Server instance has been restarted. | ||
− | The HTTP Server Listen port for Oracle Home "/opt/app/oracle_ias/product/10.1.2/ias" was changed from | + | The HTTP Server Listen port for Oracle Home "/opt/app/oracle_ias/product/10.1.2/ias" was changed from 7777 to 8081 |
Redaktsioon: 5. oktoober 2008, kell 18:32
Keskkonnamuutujate ettevalmistamine
Peale tarkvara paigaldamist on iAS komponendid reeglina töötavas olekus, aga millalgi tuleb nad tõenäoliselt seisata ning seejärel on vajadus nad uuesti käivitada. Oluline on seejuures, et oleksid seadistatud sobivad keskkonnamuutujad.
Näiteks selline shell skript seadistab sobivad väärtused middle tier iAS'ile
$ cat system/env-ias.sh export ORACLE_HOME=/u01/app/oracle/product/10.1.2/ias export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dcm/bin:$ORACLE_HOME/opmn/bin:$PATH export LD_LIBRARY_PATH=$ORACLE_HOME/lib
(vt. Oracle Application Server Administrator's Guide)
OHS serveri seadistuste muutmine
Pordi muutmiseks tuleb öelda näiteks
$ /opt/app/oracle_ias/product/10.1.2/ias/jdk/bin/java \ -cp $ORACLE_HOME/sysman/webapps/emd/WEB-INF/lib/emd.jar:$ORACLE_HOME/dcm/lib/dcm.jar:$ORACLE_HOME/sso/lib/ossoreg.jar \ oracle.sysman.ias.sta.tools.PortConfigCmdLine -oracleHome $ORACLE_HOME -oldPort 7777 -newPort 8081 Initializing DCM ... Updating HTTP Server configuration file(s) with new port value ... New port values been saved to the configuration file(s). Updating targets.xml with new port value ... oracle_ias target StatusURL property was changed from "http://ias.loomaaed.tartu.ee:7777" to "http://ias.loomaaed.tartu.ee:8081". oracle_bc4j target port property was changed to 8081. Update of targets.xml is complete. Restarting the Application Server instance ... The Application Server instance has been restarted. The HTTP Server Listen port for Oracle Home "/opt/app/oracle_ias/product/10.1.2/ias" was changed from 7777 to 8081