How to use admin_client.jar

Last modified by superadmin on 2018-01-12 20:27

How to use admin_client.jar

OC4J 11 does not have management console. It is advised to manage applications via admin_client.jar. We assume that OC4J is installed in c:/tools/oc4j11/j2ee/home/admin_client.jar. We provide several command-line commands to manipulate Web applications on OC4J:

  1. Deploy a Web application webapp1.war to a virtual directory "webapp1": 
java -jar  c:/tools/oc4j11/j2ee/home/admin_client.jar
  deployer:oc4j:localhost:23791 oc4jadmin welcome1 -deploy -file webapp1.war
  -deploymentName webapp1 -contextRoot webapp1 -bindAllWebApps -parent default
  1. Undeploy "webapp1": 
java -jar  c:/tools/oc4j11/j2ee/home/admin_client.jar
  deployer:oc4j:localhost:23791 oc4jadmin welcome1 -undeploy webapp1
Tags:
Created by Kalvis Apsītis on 2008-04-24 17:42
    
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 6.4 - Documentation