Wednesday, June 3, 2015

Unable To Start Admin Server due to java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard

Unable To Start Admin Server due to java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard (Doc ID 1525307.1)



https://support.oracle.com/epmos/adf/images/t.gif
In this Document




APPLIES TO:
Oracle WebLogic Server - Version 10.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 18-May-2015***
SYMPTOMS
When attempting to start the server the following error occurs:
java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cas t to com.octetstring.vde.backend.standard.BackendStandard. This may indicate a p roblem with the data files for the Embedded LDAP Server. If the problem is with the data files and it can not be corrected, backups of previous versions of the data files exist in /myDomain/servers/AdminServer/data/ldap/backup.>

There are 1 nested errors:

java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard
  at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:303)
  at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
CAUSE
The error indicates that there is a corrupted embedded ldap data file in the system.
SOLUTION
To implement the solution, follow the instructions as below:
  1. Make sure have read/write/create permissions on the folder: DOMAIN_HOME/servers/AdminServer/data/ldap/ldapfiles/EmbeddedLDAP.tran
  2. Clean up the /cache and /tmp folders, e.g. DOMAIN_HOME/servers/AdminServer/tmp and DOMAIN_HOME/servers/AdminServer/cache.
  3. Back up old DOMAIN_HOME/servers/server_name/data/ldap folder, then delete the it e.g. "yourdomain/servers/AdminServer/data/ldap"
  4. Restart the serve


4 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete