- Ante.lv
- Introduction to Oracle FM
- How to use admin_client.jar
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:
- 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
deployer:oc4j:localhost:23791 oc4jadmin welcome1 -deploy -file webapp1.war
-deploymentName webapp1 -contextRoot webapp1 -bindAllWebApps -parent default
- Undeploy "webapp1":
java -jar c:/tools/oc4j11/j2ee/home/admin_client.jar
deployer:oc4j:localhost:23791 oc4jadmin welcome1 -undeploy webapp1
deployer:oc4j:localhost:23791 oc4jadmin welcome1 -undeploy webapp1