weblogic报java.lang.ClassCastException

这篇博客主要记录了解决WebLogic服务器启动时遇到的ClassCastException问题,错误涉及Embedded LDAP Server的数据文件。错误信息显示com.octetstring.vde.backend.BackendRoot无法被转换为com.octetstring.vde.backend.standard.BackendStandard。解决方案是发现数据文件的权限被改为root,通过chown命令恢复了正确用户权限。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

<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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值