In addition to deploying J2EE applications to a standalone OC4J instance or
Oracle Application Server via local DCM, JDeveloper lets you create a connection to deploy
directly to an Oracle Application Server target server via remote Oracle Application Server
Distributed Configuration Management (DCM). This means the DCM utility, dcmctl,
need not be installed on the same physical machine as Oracle Application Server or
JDeveloper.
The process for creating a connection to remote DCM involves these steps:
To create a connection to an Oracle Application Server instance via remote DCM:
admin
user. (This section is applicable only if you are using Oracle9iAS Release 9.0.2.)
To manually edit the orion-web.xml and em-app.xml
files:
${ORACLE_HOME}/sysman/j2ee/application-deployments/em/emd/orion-web.xml,
comment out the following lines:
<!--
<classpath path="/<ORACLE_HOME>/dcm/lib/dcm.jar" />
-->
<!--
<classpath path="/<ORACLE_HOME>/j2ee/home/jaznplugin.jar" />
-->
${ORACLE_HOME}/sysman/j2ee/config/em-app.xml, add the
following lines:
<!-- Added dcm.jar and jaznplugin.jar in order to let -->
<!-- EM share the same DCM stack with the DCM servlet API -->
<library path="/<ORACLE_HOME>/j2ee/home/jaznplugin.jar" />
<library path="/<ORACLE_HOME>/dcm/lib/dcm.jar" />
where ${ORACLE_HOME} is the location
of the Oracle9iAS ORACLE_HOME.
After deploying oc4j-dcm-servlet.ear to a running Enterprise Manager
OC4J instance and editing the orion-web.xml and em-app.xml
files (required for Oracle 9.0.2 only), you must restart Enterprise
Manager by issuing these commands from ${ORACLE_HOME}/bin/:
emctl stop
emctl start
Note: You will be prompted for the Enterprise Manager password.