If you have ear or war, you can deploy application by CMI by below command.
/oracle/product/10.1.3.1/OracleAS/jdk/bin/java -jar ../admin_client.jar deployer:oc4j:opmn://xxxx:6004/home oc4jadmin yyyyy -deploy -file ZZZ.ear -deploymentName ZZZ -bindAllWebApps
/oracle/product/10.1.3.1/OracleAS/opmn/bin/opmnctl status -l -app
Applications in Instance: xxxx
application type: OC4J
------+-----------+---------+---------+----------------+----------+------------------------------+--------
pid | name | state | rtid | classification | routable | appctx | parent
------+-----------+---------+---------+----------------+----------+------------------------------+--------
15234 | system | started | g_rt_id | external | true | /dmsoc4j,/JMXSoapAdapter |
15234 | WSIL-App | started | g_rt_id | internal | true | /inspection.wsil | default
15234 | default | started | g_rt_id | external | true | /jmsrouter,/j2ee,/.rmiTunnel | system
15234 | ascontrol | started | g_rt_id | external | true | /em | system
15234 | datatags | started | g_rt_id | internal | true | /webapp | default
15234 | TMWIFI | started | g_rt_id | | true | | default
15234 | javasso | stopped | g_rt_id | internal | true | /jsso |
I found, there is null on appctx, when I stop & start again If appeared /TMWIFI.
/oracle/product/10.1.3.1/OracleAS/opmn/bin/opmnctl stopall
/oracle/product/10.1.3.1/OracleAS/opmn/bin/opmnctl startall
/oracle/product/10.1.3.1/OracleAS/opmn/bin/opmnctl status -l -app
Applications in Instance: home_admin.uat01
application type: OC4J
------+-----------+---------+---------+----------------+----------+------------------------------+--------
pid | name | state | rtid | classification | routable | appctx | parent
------+-----------+---------+---------+----------------+----------+------------------------------+--------
15483 | system | started | g_rt_id | external | true | /dmsoc4j,/JMXSoapAdapter |
15483 | WSIL-App | started | g_rt_id | internal | true | /inspection.wsil | default
15483 | default | started | g_rt_id | external | true | /jmsrouter,/j2ee,/.rmiTunnel | system
15483 | ascontrol | started | g_rt_id | external | true | /em | system
15483 | datatags | started | g_rt_id | internal | true | /webapp | default
15483 | TMWIFI | started | g_rt_id | external | true | /TMWIFI | default
15483 | javasso | stopped | g_rt_id | internal | true | /jsso |
== TaTsHuYa ==
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment