Monday 23 November 2015

How to create or delete component in Weblogic

----Delete component from opmn in Web logic------

[oracle@iStelar bin]$ ./opmnctl deletecomponent -componentName  RptSvr_iStelar_asinst_1

Command requires login to weblogic admin server (iStelar.localdomain):
  Username: weblogic
  Password:

Command failed: Unable to connect to admin server. Verify that login username and password are correct.

opmnctl deletecomponent: failed.
[oracle@iStelar bin]$ ./opmnctl deletecomponent -componentName  RptSvr_iStelar_asinst_1

Command requires login to weblogic admin server (iStelar.localdomain):
  Username: weblogic
  Password:

Unregistering RptSvr_iStelar_asinst_1 component
Deleting RptSvr_iStelar_asinst_1 directories
Invoking opmn reload...Done
Command succeeded.
[oracle@iStelar bin]$ ./opmnctl status

Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
emagent_asinst_1                 | EMAGENT            |     N/A | Down
forms                            | FormsRuntime       |   16571 | Alive
forms                            | FormsRuntime       |   15046 | Alive
forms                            | FormsRuntime       |   19242 | Alive
forms                            | FormsRuntime       |    9205 | Alive
ohs1                             | OHS                |     N/A | Down

[oracle@iStelar bin]$

----Create component in opmn in Web logic------


[oracle@iStelar bin]$ ./opmnctl createcomponent -componentName  test_istelar_report_server
Command failed: Command requires argument: -componentType

opmnctl createcomponent: failed.
[oracle@iStelar bin]$ ./opmnctl createcomponent -componentName  test_istelar_report_server -componentType  ReportsServerComponent

Command requires login to weblogic admin server (iStelar.localdomain):
  Username: weblogic
  Password:

Creating empty component directories...Done
Provisioning ReportsServerComponent files for test_istelar_report_server
Registering test_istelar_report_server component
Invoking opmn reload...Done
Command succeeded.
[oracle@iStelar bin]$

[oracle@iStelar bin]$ ./opmnctl status

Processes in Instance: asinst_1
---------------------------------+--------------------+---------+---------
ias-component                    | process-type       |     pid | status
---------------------------------+--------------------+---------+---------
test_istelar_report_server       | ReportsServerComp~ |   23018 | Alive
emagent_asinst_1                 | EMAGENT            |     N/A | Down
forms                            | FormsRuntime       |   16571 | Alive
forms                            | FormsRuntime       |   15046 | Alive
forms                            | FormsRuntime       |   19242 | Alive
forms                            | FormsRuntime       |    9205 | Alive
ohs1                             | OHS                |     N/A | Down

[oracle@iStelar bin]$

2 comments:

  1. Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle Fusion Procurement. Actually, I was looking for the same information on internet for Oracle Fusion HCM and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject.

    ReplyDelete
  2. Simply wish to say your article is as astonishing. The clarity in your post is simply great, and I could assume you are an expert on this subject. Same as your blog i found another one Oracle Fusion Procurement .Actually I was looking for the same information on internet for Oracle Fusion Procurement and came across your blog. I am impressed by the information that you have on this blog. Thanks a million and please keep up the gratifying work.

    ReplyDelete