首页 > 代码库 > linux下weblogic11g成功安装后,启动报错Getting boot identity from user

linux下weblogic11g成功安装后,启动报错Getting boot identity from user

<2015-7-1 下午05时46分33秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 > 
<2015-7-1 下午05时46分39秒 CST> <Info> <Security> <BEA-090065> <Getting boot identity from user.> 
Enter username to boot WebLogic server:Error: Failed to get value from Standard Input
Enter password to boot WebLogic server:

<2015-7-1 下午05时46分39秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING> 
<2015-7-1 下午05时46分39秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> 
<2015-7-1 下午05时46分40秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.> 
<2015-7-1 下午05时46分50秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> 
<2015-7-1 下午05时46分50秒 CST> <Critical> <Security> <BEA-090403> <Authentication for user  denied> 
<2015-7-1 下午05时46分50秒 CST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication for user  denied
weblogic.security.SecurityInitializationException: Authentication for user  denied
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:966)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1054)
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User  javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied
        at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:261)
        at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.bea.common.security.internal.service.LoginModuleWrapper.login(LoginModuleWrapper.java:106)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        Truncated. see log file for complete stacktrace

<2015-7-1 下午05时46分50秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED> 
<2015-7-1 下午05时46分50秒 CST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down> 
<2015-7-1 下午05时46分50秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN> 


======================================================================================================================

解决的方法:

在/home/weblogic/Oracle/Middleware/user_projects/domains/base_domain/servers/AdminServer/下创建security文件夹,然后vi boot.properties,增加
username=xxxx

password=xxxx

然后启动weblogic就正常了。

linux下weblogic11g成功安装后,启动报错Getting boot identity from user