WebCenter Content (UCM) Extend Error
By John Graves on Aug 07, 2012
While trying to extend a domain to include WCC, I noticed it tries to modify the em.ear file to include WCC items in the EM farm. The problem was, it kept looking for the em.ear file in the wrong place. I've done complete domain and environment searches and I can't seem to figure out where it's getting the APP HOME from. Anyway, here is the error received from the configuration wizard and a work-around.
Preparing... Extracting Domain Extension Contents... Saving the Domain Information... Domain Extension Application Failed! Domain Location: /home/oracle/user_projects/domains/domain Reason: null Exception: Traceback (innermost last): File "<iostream>", line 80, in ? at oracle.sysman.omsca.plugin.PluginDeployer.doPreRequisiteChecks(PluginDeployer.java:571) at oracle.sysman.omsca.plugin.PluginDeployer.doPreDeployConfig(PluginDeployer.java:195) at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.preDeploy(OMSConfigAssistantDriver.java:311) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) java.lang.Exception: java.lang.Exception: EM ear file is not present at location /oracle/user_projects/applications/domain/em.ear
The directory should be using /home/oracle/user_projects, not /oracle/user_projects.
So, I copied the em.ear file into the directory it was looking and noticed it was slightly modified:
Original em.ear size: 103722
New em.ear size: 103733
I didn't bother figuring out what changed. I copied the new em.ear file back to its right location and all was well.