hel*_*one 4 weblogic weblogic12c
当我尝试从本地计算机启动weblogic服务器(在另一台服务器上运行)时,出现以下错误。我可以毫无问题地停止此weblogic服务器,但无法启动。boot.properties文件中有用户名和密码字段,但我不知道它们是什么。有什么主意吗
<Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed.
Reason: weblogic.security.SecurityInitializationException:
Authentication denied: Boot identity not valid;
The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:960)
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:148)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
Truncated. see log file for complete stacktrace
Run Code Online (Sandbox Code Playgroud)
您可以将用户名和密码保存在 boot.properties 文件中。
\n\n在生产模式下,boot.properties 文件不存在\xe2\x80\x99。需要在中创建这个文件
\n\n$DOMAIN_HOME/servers/AdminServer/security\nRun Code Online (Sandbox Code Playgroud)\n\n我认为你需要检查这个路径和这个属性。可能是密码或用户名不正确。
\n\n这是显示如何创建和查找此属性的链接。
\n\n如果找不到或无法重写它,您可以在没有 boot.properties 文件的情况下启动服务器:
\n\njava -Dweblogic.management.username=username-Dweblogic.management.password=password -Dweblogic.system.StoreBootIdentity=true -Dweblogic.Name=myAdminServer weblogic.Server\nRun Code Online (Sandbox Code Playgroud)\n\n我在这个页面找到了这个脚本。
\n\n编辑:
\n\n现在我在另一个 论坛找到了一些有用的提示中找到了一些有用的提示。
\n\n\n用户名: weblogic \n密码: Weblogic1\n\n从命令行启动服务器后,它将再次自动加密。
并从同一论坛的 weblogictips 用户那里找到了这个提示:
\n\n我认为在尝试这些提示之前,您应该检查域的身份验证提供商。如果是外部的,那么您可能需要从外部 ldap 重置密码。
\n\n\n\n\n如果本地存在,还要移动 ldap dir 和 boot.properties 文件。
\n\n通过管理\n控制台/WLST启动服务器的唯一区别是您还必须移动nodemanager目录\n存在的是doamin_home/servers/ms1/data/nodemanager
\n
我希望这些提示对您有所帮助。如果没有,请尝试删除所有 boot.properties 文件中的用户名和密码(不需要username=在文件中删除)并从头开始...
| 归档时间: |
|
| 查看次数: |
21107 次 |
| 最近记录: |