JPS-02592: Failed to push ldap config data to libOvd for service instance "idstore.ldap"

Problem:

Our weblogic server would not start because of the following error:

 PM oracle.security.jps.internal.igf.ovd.OvdIGFServiceProvider pushLdapNamesTolibOvd

SEVERE: JPS-02592

<May 23, 2016 2:36:03 PM BST> <Error> <Security> <BEA-090892> <The loading of OPSS java security policy provider failed due to exception, see the exception stack trace or the server log file for root cause. If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get more information. Error message: JPS-02592: Failed to push ldap config data to libOvd for service instance "idstore.ldap" in JPS context "default", cause: org.xml.sax.SAXException: Error Parsing at line #1: 1.



org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected.>

Solution:

Weblogic server was unresponsive initialy because the server ran out of disk space. When we added more disk space to the server, the error occurred.   

When I took a look at the  file "adapters.os_xml" at  $DOMAIN_HOME/config/fmwconfig/ovd/default, I saw that it was empty.  Not sure why, I could only guess that the file got corrupted  when the server ran out of space.

My solution was to copy the original template from    $MW_HOME/oracle_common/modules/oracle.ovd_11.1.1/templates to $DOMAIN_HOME/config/fmwconfig/ovd/default. 

 

Fix:

  1. Take a backup of $DOMAIN_HOME/config/fmwconfig/ovd/default/adapters.os_xml
  2. Delete $DOMAIN_HOME/config/fmwconfig/ovd/default/adapters.os_xml
  3. Copy adapters.os_xml from $MW_HOME/oracle_common/modules/oracle.ovd_11.1.1/templates/ to $DOMAIN_HOME/config/fmwconfig/ovd/default/
  4. Restart the server.