码迷,mamicode.com
首页 > Web开发 > 详细

weblogic启动报错之未修改hosts产生错误

时间:2015-07-15 12:33:39      阅读:1498      评论:0      收藏:0      [点我收藏+]

标签:

报错如下:

Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Jul 1, 2015 9:41:36 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<Jul 1, 2015 9:41:36 AM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<Jul 1, 2015 9:41:36 AM CST> <Notice> <Log Management> <BEA-170019> <The server log file /app/sinova/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> 
<Jul 1, 2015 9:41:37 AM CST> <Error> <Security> <BEA-090870> <The realm "myrealm" failed to be loaded: weblogic.security.service.SecurityServiceException: java.lang.ExceptionInInitializerError.
weblogic.security.service.SecurityServiceException: java.lang.ExceptionInInitializerError
    at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:342)
    at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:221)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1783)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    Truncated. see log file for complete stacktrace

Caused By: java.lang.ExceptionInInitializerError
    at com.octetstring.vde.util.guid.GuidGenerator.nextGuidInBytes(GuidGenerator.java:125)
    at com.octetstring.vde.util.guid.Guid.<init>(Guid.java:84)
    at com.octetstring.vde.backend.standard.BackendStandard.add(BackendStandard.java:379)
    at com.octetstring.vde.backend.BackendHandler.add(BackendHandler.java:460)
    at com.octetstring.vde.util.LDIF.importLDIF(LDIF.java:279)
    Truncated. see log file for complete stacktrace

Caused By: java.lang.NullPointerException
    at java.lang.System.arraycopy(Native Method)
    at com.octetstring.vde.util.guid.GuidParamGenerator.generateNodeID(GuidParamGenerator.java:47)
    at com.octetstring.vde.util.guid.GuidStateManager.initializeGUIDParameters(GuidStateManager.java:59)
    at com.octetstring.vde.util.guid.GuidStateManager.<init>(GuidStateManager.java:30)
    at com.octetstring.vde.util.guid.GuidStateManager.<clinit>(GuidStateManager.java:23)
    Truncated. see log file for complete stacktrace
> 
<Jul 1, 2015 9:41:37 AM CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<Jul 1, 2015 9:41:37 AM CST> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason: 

There are 1 nested errors:

weblogic.security.service.SecurityServiceRuntimeException: [Security:090399]Security Services Unavailable
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:916)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:875)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    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)

> 
<Jul 1, 2015 9:41:37 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
<Jul 1, 2015 9:41:37 AM CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
<Jul 1, 2015 9:41:37 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 

解决办法:修改/etc/hosts配置,添加主机IP及对应主机名,然后重新启动。

weblogic启动报错之未修改hosts产生错误

标签:

原文地址:http://www.cnblogs.com/Eivll0m/p/4647652.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!