ADG_REDIRECT_DML in Oracle Active Data Guard 19c

Installing Oracle Enterprise Manager 10g Grid Control: DCM Client Session has been invalidated

Calling updateConfig to notify DCM of new deployments...
done.
Adding OC4J mount points for application 'IsWebCacheWorking'...done.
Calling SMI to save changes.
ERROR: Caught exception in SMISession.saveChanges: oracle.ias.sysmgmt.exception.InvalidSMISessionException: Base Exception:
This DCM Client Session has been invalidated due to changes made to config files by some other session. All unsaved changes will be lost.

Resolution:
Please close this DCM Client session, start another one and redo the changes made.

ERROR! DEPLOY TOOL CANNOT CONTINUE DEPLOYMENTS: SMI changes for deployed apps could not be saved - ALL APPLICATIONS WILL BE UNDEPLOYED.

Undeploying application 'IsWebCacheWorking' from OC4J instance 'home'.

Application 'IsWebCacheWorking' successfully undeployed. Calling updateConfig to notify DCM of undeployments...
done.
Stopping OC4J instance 'home'...
done.
Terminating DCM...
done.
Copying /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini to /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini.1342465183033.bak.
Writing any undeployed entries back to /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini.

Oc4jDeploy tool completed, but with errors.
Solution:
Run as oracle:(all in one command)
/u01/app/oracle/OracleHomes/oms10g/jdk/bin/java -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/tmp -mx512M -classpath
/u01/app/oracle/OracleHomes/oms10g/dcm/lib/dcm.jar:
/u01/app/oracle/OracleHomes/oms10g/dcm/lib/oc4j_deploy_tools.jar:/u01/app/oracle/OracleHomes/oms10g/opmn/lib/opmnplugin.jar
-Doracle.ias.sysmgmt.logging.logdir=/u01/app/oracle/OracleHomes/oms10g/j2ee/home/log oracle.j2ee.tools.deploy.Oc4jDeploy
-oraclehome /u01/app/oracle/OracleHomes/oms10g -verbose -inifile /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini

Reading ini file - '/u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini'
Adding web-app 'IsWebCacheWorkingWeb.war' for app 'IsWebCacheWorking'.
Initializing DCM...done.
OC4J instance 'home' already exists.
Starting OC4J instance 'home'...done.
Deploying application 'IsWebCacheWorking' to OC4J instance 'home'.
Notification ==> Application Deployer for IsWebCacheWorking STARTS [ 2012-07-16T21:03:21.870CEST ]
Notification ==> Undeploy previous deployment
Notification ==> Removing files for app file:/u01/app/oracle/OracleHomes/oms10g/j2ee/home/applications/IsWebCacheWorking.ear
Notification ==> Copy the archive to /u01/app/oracle/OracleHomes/oms10g/j2ee/home/applications/IsWebCacheWorking.ear
Notification ==> Unpack IsWebCacheWorking.ear begins...
Notification ==> Unpack IsWebCacheWorking.ear ends...
Notification ==> Initialize IsWebCacheWorking.ear begins...
Notification ==> Initialize IsWebCacheWorking.ear ends...
Notification ==> Initialize IsWebCacheWorkingWeb begins...
Notification ==> Initialize IsWebCacheWorkingWeb ends...
Notification ==> deleting: /u01/app/oracle/OracleHomes/oms10g/j2ee/home/applications/IsWebCacheWorking.ear
Notification ==> deleting: /u01/app/oracle/OracleHomes/oms10g/j2ee/home/applications/IsWebCacheWorking/IsWebCacheWorkingWeb.war
Notification ==> Application Deployer for IsWebCacheWorking COMPLETES [ 2012-07-16T21:03:21.917CEST ]

Calling updateConfig to notify DCM of new deployments...done.
Adding OC4J mount points for application 'IsWebCacheWorking'...done.
Calling SMI to save changes.
SMISession.saveChanges succeeded.
Binding web app 'IsWebCacheWorkingWeb' to default-web-site for application 'IsWebCacheWorking' in OC4J instance 'home'
Web app 'IsWebCacheWorkingWeb' bound successfully.
Calling updateConfig to notify DCM of new web-bindings...done.
Adding application 'IsWebCacheWorking' to the DCM repository...done.
Application 'IsWebCacheWorking' deployed successfully.
Stopping OC4J instance 'home'...done.
Calling SMI to retry init of failed plugins...done.
Terminating DCM...done.
Copying /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini to /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini.1342465416030.bak.
Writing any undeployed entries back to /u01/app/oracle/OracleHomes/oms10g/j2ee/deploy.ini.

Oc4jDeploy tool completed successfully!

Comments