Imaginemos un contenedor llamado OC4J_MICONT
 .-Comprobar el estado de la instancia OC4J_MICONT:
 opmnctl status
 .-Levantar la instancia OC4J_MICONT
 dcmctl start -co OC4J_MICONT
 opmnctl startproc process-type=OC4J_MICONT
 opmnctl stopproc process-type=OC4J_MICONT
OJOOOOOOOOO.....ES MEJOR USAR LO SIGUIENTE:
 opmnctl stopproc process-type=OC4J_MICONT
 opmnctl startproc process-type=OC4J_MICONT
 .-Reiniciar la instancia
 dcmctl restart -co OC4J_MICONT
 .-DEPLOY
 dcmctl deployapplication -f nombreEar.ear -a miAplicacion -co OC4J_MICONT
 .-UNDEPLOY
 dcmctl undeployapplication -a miAplicacion -co OC4J_MICONT
 Nota: A veces puede no funcionar bien el undeploy, con lo cual, puede que al listar las aplicaciones no aparezca, pero en realidad, si vamos al directorio del contenedor y vemos dentro del directorio applications o del applications-deployments puede estar; en ese caso, borrar los ears y carpetas relacionados.
 .-LISTA DE APPLICATIONS
 dcmctl listapplications  -co OC4J_MICONT
 
No hay comentarios:
Publicar un comentario