今天将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/ 问题解决
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/ 问题解决