Deploy war file:
$ORACLE_HOME/dcm/bin/dcmctl deployApplication -f filename.war -a "application name" -co oc4j_container -rc /contextroot
Deploy ear file:
$ORACLE_HOME/dcm/bin/dcmctl deployApplication -f filename.ear -a "application name" -co oc4j_container
The application will not be visible in the em console. An restart of the em console solves the problem.
emctl stop iasconsole
emctl start iasconsole
Thanks for the post. this helped me script my deployments.
ReplyDelete