Tuesday, 1 November 2016

How to stop/start Weblogic component


Step 1: Check the status of Weblogic component using following command

[oracle@said bin]$ cd /u01/oracle/middleware/asinst_1/bin
[oracle@said bin]$ ./opmnctl status all

Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
emagent_asinst_1                 | EMAGENT            |    2223 | Alive
RptSvr_said_asinst_1       | ReportsServerComp~ |    2758 | Alive
forms                            | FormsRuntime       |   22446 | Alive

Step 2: Stop  Weblogic component using following command


[oracle@said bin]$ ./opmnctl stopproc ias-component=RptSvr_said_asinst_1
opmnctl stopproc: stopping opmn managed processes...
[oracle@said bin]$ ./opmnctl status all

Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
emagent_asinst_1                 | EMAGENT            |    2223 | Alive
RptSvr_said_asinst_1       | ReportsServerComp~ |     N/A | Down
forms                            | FormsRuntime       |   22578 | Alive



Step 3: Start  Weblogic component using following command

[oracle@said bin]$ ./opmnctl startproc ias-component=RptSvr_said_asinst_1
opmnctl startproc: starting opmn managed processes...
[oracle@said bin]$ ./opmnctl status all

Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
emagent_asinst_1                 | EMAGENT            |    2223 | Alive
RptSvr_said_asinst_1       | ReportsServerComp~ |   22669 | Alive
forms                            | FormsRuntime       |   22662 | Alive
forms                            | FormsRuntime       |   22657 | Alive
forms                            | FormsRuntime       |   22578 | Alive
forms                            | FormsRuntime       |   22570 | Alive

No comments:

Post a Comment