weblogic报java.lang.ClassCastException

<Jun 17, 2011 12:05:00 AM CST> <Critical> <EmbeddedLDAP> <BEA-171522> <An error occurred while initializing the Embedded LDAP Server. The exception thrown is java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard. This may indicate a problem 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 /app/oracle/base_domain/servers/AdminServer/data/ldap/backup.> 
<Jun 17, 2011 12:05:00 AM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:

There are 1 nested errors:

java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard

 

解决方法:

经查找,此文件的权限变成了root,原来是开始测试启动脚本的时候用root去启动了,忘记用普通用户去启动了

chown -R dmadmin:root /app/oracle/base_domain

你可能感兴趣的:(weblogic报java.lang.ClassCastException)