Posted by
ErmanArslansOracleBlog on
May 30, 2016; 7:47pm
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/R12-2-4-adcfgclone-on-taret-unable-to-delete-managed-servers-OHS-Config-errors-tp1031p1034.html
Please write the following to your SR. It will increase the SR's speed.
Also please read the following and try to get why WLST is failing;
The main class that triggers the sub class in your case is; Binary file apps/ad/clone/ApplywlsTechStack.class
if (!FSCloneApplyAppsTier.isFSClone() && this.srcSecondaryNodeManagedSrvrs != null && this.srcSecondaryNodeManagedSrvrs.size() > 0) {
if (!WLSDomainCleanupUtil.deleteManagedServers(this.srcSecondaryNodeManagedSrvrs, (String)this.m_sContext, (String)ApplywlsTechStack.getWlsAdminPasswd())) {
LogFile.getLogFile().severe("Unable to delete some of the managed servers. Please delete them manually");
} else if (!WLSDomainCleanupUtil.deleteSecondaryMachines((String)this.m_sContext, (String)ApplywlsTechStack.getWlsAdminPasswd())) {
LogFile.getLogFile().severe("Unable to delete some of the secondary machines. Please delete them manually");
}
}
this.updateCloneTaskXML("APPLY-WLSCONFIG-DONE");
}
This class execute the class named "oracle.apps.ad.clone.util.WLSDomainCleanupUtil" and "WLSDomainCleanupUtil" class encounter erros while running the WLST commands.
So in the lower level, it is WLST that causes this error.
What this java does is to delete the managed server using WLST.
A command like this one;
stringBuffer.append("edit()\nstartEdit()\ncd('/Servers/" + string8 + "')\n" + "set('Cluster','standalone')\n" + "save()\n" + "cd('/Servers')\n" + "delete('" + string8 + "','Server')\n" + "activate()\n" + "cancelEdit('y')\n");
So you should check the admin password is valid.
The server is there in the path (use WLST to check it manually" (execute the WLST commands written above and see if there is abnormal situation.)
See the error that WLST is giving..
For using WLST please check my document:
http://ermanarslan.blogspot.com.tr/2015/02/weblogic-wlst-general-information-and.html