weblogic报java.lang.ClassCastException之解决

大多数情况下,我们会对weblogic的domain新建立一个用户,从而用该用户来管理domain,避免多个domain之间出现加载jvm,加载jar包,加载war,加载so文件等死锁或者重复加载异常。

我们现在weblogic922上就建立了两个domain,用weblogic922_1,weblogic922_2去管理,并将
/usr/local/bea2/user_projects/domains/base_domain1
/usr/local/bea2/user_projects/domains/base_domain2

的权限分别设置为weblogic922_1与weblogic922_2所属,该命令如下:

chown -R weblogic922_1:root ./base_domain1
chown -R weblogic922_2:root ./base_domain2

如果在启动weblogic的时候忘记切换用户用root启动一次后,再次用weblogic922_x启动,就会出现如下错误:

<Aug 7, 2008 3:19:24 PM CST> <An error occurred while initializing the Embedded LDAP Server. The exception thown is java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot. 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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值