解决WebLogic启动时BEA-171522异常(启动时报classcast exception)
来源:互联网 发布:电脑记事本软件 编辑:程序博客网 时间:2024/05/18 02:13
如下异常:
<Jul 27, 2009 10:47:51 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 /home/***/*_domain/servers/AdminServer/data/ldap/backup.>
<Jul 27, 2009 10:47:51 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
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:273)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
>
在经过多方查证后,发现是由于在项目开发中,曾有项目成员使用root用户启动过WebLogic,造成WebLogic的LDAP文件的权限属性为root:root(前一个为用户,后一个为组),所以在启动的过程中会提示LDAP异常。
知道了原因,再考虑解决方案。既然是权限方面出现了问题,那么就需要将权限修改为正确的属性,使用以下命令:
1
#chown -R weblogic:weblogic <mydomain_dir>
说明:前一个webogic是指用户,后一个weblogic是指用户所属组,而<mydomain_dir>是应用所在domain目录,此外,该命令一定要用root权限执行。
在修改完权限之后,重新启动WebLogic,异常消失,可以正常启动。
/home/weblogic/bea/user_projects/domains/webtrade/servers/AdminServer/data/ldap/ldapfiles
/home/weblogic/bea/user_projects/domains/webtrade/servers/server1/data/ldap/ldapfiles
- 解决WebLogic启动时BEA-171522异常(启动时报classcast exception)
- 解决WebLogic启动时BEA-171522异常(启动时报classcast exception)
- 解决WebLogic启动时BEA-171522异常(启动时报classcast exception)
- 解决WebLogic启动时BEA-171522异常(启动时报classcast exception)
- WebLogic启动时BEA-171522异常
- bea weblogic启动JVM时问题
- Maven项目启动时报IndexOutOfBoundsException异常解决
- TROUBLESHOOTING:在JDevleoper中启动Integrated Weblogic时报内存不足异常
- 解决tomcat启动Exception creating UserDatabase异常。
- BEA-171519 Weblogic 服务启动故障处理
- weblogic启动报错:BEA-149265
- weblogic启动报<BEA-090782>错误
- weblogic启动报错BEA-000386
- weblogic启动报错<BEA-000386> 解决方法
- 解决Eclipse启动时报Initializing Java Tooling异常信息
- 解决windows7服务器上weblogic启动失败异常
- 【转】BEA Weblogic系列—Domain启动的默认行为
- 启动 occas (WEBLOGIC) 失败 报错 <BEA-141281>
- Android EditText的设置
- Android学习小结2
- java动态生成实例笔记<持续更新中>
- USB入门系列之七 —— USB的描述符及各种描述符之间的依赖关系【转】
- CRC(循环冗余校验算法)
- 解决WebLogic启动时BEA-171522异常(启动时报classcast exception)
- MFC的一些豆技巧
- 【BZOJ】【P1096】【ZJOI2007】【仓库建设】【题解】【斜率优化】
- Java实现文件的DES加密与解密算法
- kindeditor4.1.7 高度,宽度配置
- 列车调度(Train)
- Xcode 应用程序构建阶段(Build Phases)分析(2)
- jQuery.handleError is not a function
- JQ当前页面标签 高亮显示