分享

weblogic,BEA

 posondlq 2012-05-08

weblogic,BEA-000362,java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot cannot be cast to com.octetstring.vde.backend.standard.BackendStandard

今天将weblogic停止再启动的时候报错

starting weblogic with Java version:
Starting WLS with line:
/opt/jdk1.6.0_17/bin/java -client   -Xms512m -Xmx1024m -XX:CompileThreshold=8000 -XX:PermSize=512m  -XX:MaxPermSize=1024m  -Xverify:none  -da -Dplatform.home=/weblgc10/bea/wlserver_10.3 -Dwls.home=/weblgc10/bea/wlserver_10.3/server -Dweblogic.home=/weblgc10/bea/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/weblgc10/bea/patch_wls1030/profiles/default/sysext_manifest_classpath:/weblgc10/bea/patch_cie660/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/weblgc10/bea/wlserver_10.3/server/lib/weblogic.policy   -Xms512m -Xmx1024m -Dfile.encoding=GBK weblogic.Server
<Jun 17, 2011 12:03:44 AM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 19.0-b09 from Sun Microsystems Inc.>
<Jun 17, 2011 12:03:45 AM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3  Fri Jul 25 16:30:05 EDT 2008 1137967 >
<Jun 17, 2011 12:04:55 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jun 17, 2011 12:04:55 AM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jun 17, 2011 12:04:55 AM CST> <Notice> <Log Management> <BEA-170019> <The server log file /vsopweb/vsopdomain/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Jun 17, 2011 12:05:00 AM CST> <Error> <EmbeddedLDAP> <BEA-000000> <Error opening the Transaction Log: /vsopweb/vsopdomain/base_domain/servers/AdminServer/data/ldap/ldapfiles/EmbeddedLDAP.tran (Permission denied)>
<Jun 17, 2011 12:05:00 AM CST> <Error> <EmbeddedLDAP> <BEA-000000> <Error Instantiating ‘dc=base_domain’: null>
<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 /vsopweb/vsopdomain/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
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)

>
<Jun 17, 2011 12:05:00 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Jun 17, 2011 12:05:00 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Jun 17, 2011 12:05:00 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>

经查找,此文件的权限变成了root,原来是开始测试启动脚本的时候用root去启动了,忘记用普通用户去启动了,所以,chown vsopweb.vsopweb -R /vsopweb/vsopdomain/base_domain/servers/AdminServer/data/ldap/ 问题解决

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多