My Oracle Support Banner

How to Start a OC4J Container Remotely In OAS 10.1.3.x from a J2SE client (Doc ID 734721.1)

Last updated on AUGUST 06, 2018

Applies to:

Oracle Application Server 10g Enterprise Edition - Version: 10.1.3.1.0 to 10.1.3.4.0
Oracle Containers for J2EE - Version: 10.1.3.1.0 to 10.1.3.4.0
Information in this document applies to any platform.

Goal

You can shutdown an OPMN managed OC4J instance remotely using the OAS client side distribution's admin_client.jar utility as follows.

java -jar admin_client.jar
 deployer:oc4j:opmn://xxxxx.au.oracle.com:6003/apple
 oc4jadmin welcome1 -shutdown

However once shutdown there is no way to use the same utility to start the container up without using ASC or opmnctl from the server. This article will show you how to start an OC4J container remotely from a J2SE client without any client side required libraries.

Note: This script is not supported , so if you have issues you cannot rely on this code to work in your environment as it's not supported.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
  Goal
  Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.