To create a connection to an Oracle9i Application Server instance:
<jdev_install>/dcm/lib/Oc4jDcmServlet.ear
.
${xxx}
parameters with the actual values for your configuration. For example,
substitute ${ORACLE_HOME}
with the Oracle Home directory
for your Oracle Application Server configuration.
java -jar ${ORACLE_HOME}/j2ee/home/admin.jar
ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER}
${IAS_ADMIN_PASS} -deploy -file Oc4jDcmServlet.ear -deploymentName
Oc4jDcmServlet
Example:
java -jar ${ORACLE_HOME}/j2ee/home/admin.jar
ormi://localhost:1811 ias_admin manager -deploy -file
Oc4jDcmServlet.ear -deploymentName Oc4jDcmServlet
java -jar ${ORACLE_HOME}/j2ee/home/admin.jar
ormi://${EM_OC4J_HOST}:${EM_OC4J_PORT} ${IAS_ADMIN_USER}
${IAS_ADMIN_PASS} -bindWebApp Oc4jDcmServlet oc4j-dcm-servlet
emd-web-site /Oc4jDcmServletAPI
Example:
java -jar ${ORACLE_HOME}/j2ee/home/admin.jar
ormi://localhost:1811 ias_admin manager -bindWebApp
Oc4jDcmServlet oc4j-dcm-servlet emd-web-site /Oc4jDcmServletAPI
where the username and password for Enterprise Manager is
ias_admin/manager
.
${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 Oracle9
iAS ORACLE_HOME
.
oc4j-dcm-servlet.ear
to a running Enterprise Manager OC4J
instance and editing the orion-web.xml
and
em-app.xml
files (required for Oracle9iAS 9.0.2 only),
you must restart Enterprise Manager by issuing these commands from
${ORACLE_HOME}/bin/
:
emctl stop
emctl start
You will be prompted for the Enterprise Manager password.
Connecting to an Application Server
Working with the OC4J Application Servers
Creating a Connection to Oracle Application Server
Copyright © 1997, 2004, Oracle. All rights reserved.