概述
报错信息:
/u01/app/oracle/product/epm/jrockit_160_20/bin/java -jrockit -Xms256m -Xmx512m -Dweblogic.Name=AdminServer -Djava.security.policy=/u01/app/oracle/product/epm/EPMSystem11R1/../wlserver_10.3/server/lib/weblogic.policy -Dweblogic.ProductionModeEnabled=true -XX:-FlightRecorder -da -Dplatform.home=/u01/app/oracle/product/epm/EPMSystem11R1/../wlserver_10.3 -Dwls.home=/u01/app/oracle/product/epm/EPMSystem11R1/../wlserver_10.3/server -Dweblogic.home=/u01/app/oracle/product/epm/EPMSystem11R1/../wlserver_10.3/server -DEPM_ORACLE_HOME=/u01/app/oracle/product/epm/EPMSystem11R1 -DEPM_ORACLE_INSTANCE=/u01/app/oracle/product/epm/user_projects/epmsystem1 -Dcommon.components.home=/u01/app/oracle/product/epm/oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem -Djrockit.optfile=/u01/app/oracle/product/epm/oracle_common/modules/oracle.jrf_11.1.1/jrocket_optfile.txt -Doracle.server.config.dir=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/config/fmwconfig/servers/AdminServer -Doracle.domain.config.dir=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/config/fmwconfig -Digf.arisidbeans.carmlloc=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/config/fmwconfig/carml -Digf.arisidstack.home=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/config/fmwconfig/arisidprovider -Doracle.security.jps.config=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/config/fmwconfig/jps-config.xml -Doracle.deployed.app.dir=/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/servers/AdminServer/tmp/_WL_user -Doracle.deployed.app.ext=/- -Dweblogic.alternateTypesDirectory=/u01/app/oracle/product/epm/oracle_common/modules/oracle.ossoiap_11.1.1,/u01/app/oracle/product/epm/oracle_common/modules/oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdbc.remoteEnabled=false -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u01/app/oracle/product/epm/EPMSystem11R1/../patch_wls1034/profiles/default/sysext_manifest_classpath weblogic.Server
[WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
<Feb 19, 2016 9:50:48 AM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Feb 19, 2016 9:50:48 AM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Feb 19, 2016 9:50:49 AM CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.0.2-11-135406-1.6.0_20-20100624-2119-linux-x86_64 from Oracle Corporation>
<Feb 19, 2016 9:50:49 AM CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 >
<Feb 19, 2016 9:50:51 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Feb 19, 2016 9:50:51 AM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Feb 19, 2016 9:50:51 AM CST> <Notice> <Log Management> <BEA-170019> <The server log file /u01/app/oracle/product/epm/user_projects/domains/EPMSystem/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<Feb 19, 2016 9:50:52 AM CST> <Error> <EmbeddedLDAP> <BEA-000000> <Error Instantiating 'dc=EPMSystem': null>
<Feb 19, 2016 9:50:52 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. 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 /u01/app/oracle/product/epm/user_projects/domains/EPMSystem/servers/AdminServer/data/ldap/backup.>
<Feb 19, 2016 9:50:52 AM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
There are 1 nested errors:
java.lang.ClassCastException: com.octetstring.vde.backend.BackendRoot
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:303)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>
<Feb 19, 2016 9:50:53 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
<Feb 19, 2016 9:50:53 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
<Feb 19, 2016 9:50:53 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
第一次报错还有一个提示是:对EmbeddedLDAP.tran文件没有权限;
查找原因并解决:
首先对EmbeddedLDAP.tran文件没有权限,说明很有可能之前是用root用户启动过weblogic,导致权限更改;
方法来自此处:
解决:修改权限:
[root@cifi-BI ~]# cd /u01/app/oracle/product/epm/user_projects/domains/EPMSystem/servers/AdminServer/data/ldap/ldapfiles/
[root@cifi-BI ldapfiles]# chown -R oracle:oinstall EmbeddedLDAP.tran
重启测试:
[root@cifi-BI ldapfiles]# su oracle
[oracle@cifi-BI ldapfiles]$ cd /u01/app/oracle/product/epm/user_projects/domains/EPMSystem/bin/
[oracle@cifi-BI bin]$ ./startWebLogic.sh
依然报错;
根据网上的办法:
备份并删除
/u01/app/oracle/product/epm/user_projects/domains/EPMSystem/servers/AdminServer/data下的ladp
然后重启:
[root@cifi-BI ldapfiles]# su oracle
[oracle@cifi-BI ldapfiles]$ cd /u01/app/oracle/product/epm/user_projects/domains/EPMSystem/bin/
[oracle@cifi-BI bin]$ ./startWebLogic.sh
可正常启动。
最后
以上就是聪明奇异果为你收集整理的weblogic启动异常-root用户启动weblogic导致的全部内容,希望文章能够帮你解决weblogic启动异常-root用户启动weblogic导致所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复