Search DataControl is being requested or used in your project and you don't have injected the dependency (library).
Check the deployment profile of your Portal project (that generate .war) that you are including and have checked WebCenter Search Services library in Library dependencies.
WebCenter Search Services and WebCenter Search Services View are added to Library Dependencies in Project Deployment Profile (war).
1 person found this helpful
Could you check which DataControls are registered in DataBindings.cpx of the Portal Project?. It's DataBindings.cpx being copied during .WAR generation?.
Could you paste adfm.xml content?.
In addition, try next:
- Clean and Build you application again.
- Before of deploy it, clear temporal folders/files related to Portal Application in WebLogic.
Eventually I found the problem, it is reported in Oracle Support as Doc ID 1503173.1.
It seems jDeveloper is a bit special when adding Directories to the MAR file. If the whole directory "/oracle" is added, the adf-config.xml introduces the following line:
namespace metadata-store-usage="WebCenterFileMetadataStore" path="/oracle"/
As a result, this diverts all /oracle/... file and class requests to MDS, which causes failures.
So when editing the MAR deployment profile be careful to select the sub-directories under /oracle/webcenter/portalapp/ one by one.
Added to this, I had to perform the cleaning process you suggested to make it work too, otherwise I get a different error...
Final steps are:
1. Undeploy application.
2. Delete MDS partition.
3. Shutdown managed server.
4. Delete /cache and /tmp content for the managed server.
5. Start managed server.
6. Exectute Clean all in jDeveloper.
7. Create a new mar deployment as described in SR 1503173.1.
8. Deploy to EAR file.
9. Deploy new application to managed server using Enterprise Manager.
And it works!
Thanks for your help!