weblogic修改控制台密码,admin server 能正常启动,被管server启动权限认证报错的问题---解决

针对修改控制台密码,admin server 能正常启动,被管server不能启动权限认证失败的问题,管理服务和被管服务之间的安全数据不一致的问题。更简单的解决方法如下:

因为默认情况下,安全数据(例如密码)存储在嵌入的LDAP中,并且从管理服务器复制到托管服务器。如果管理服务器和托管服务器之间的安全数据不一致,则会发生错误

临时解决方案:

将 AdminServer/data/ldap    文件夹替换到被管server 的ldap文件夹。

参考官方说明:https://community.oracle.com/message/13685706

终极解决方案:

Console-域---》Security---》Embedded LDAP---》 Refresh Replica At Startup                                                     

          勾选中刷新副本的LADP配置。

  • · Enable the “Refresh Replica At StartUp” from weblogic admin console. Below is the path of the “Refresh Replica At StartUp”    Navigate to weblogic admin console ->Domain->Security->Embedded LDAP->Refresh Replica At StartUp

Since Security data (e.g., password) is stored in the Embedded LDAP by default and it is replicated from the admin server to the managed servers. If there is an inconsistency of the security data between the admin and managed servers, the error will occur.Hence you have to refresh all replicated data at boot time, in order to do this you need to set ‘Refresh Replica At Startup’ from the Admin Console. This option specifies whether a Managed Server should refresh all replicated data at boot time.

What "Refresh Replica At StartUp" Does?

        >> It specifies whether a Managed Server should refresh all replicated data at boot time. (This is useful if you have made a large amount of changes when the Managed Server was not active, and you want to download the entire replica instead of having the Administration Server push each change to the Managed Server.)"  。

原文地址:https://www.cnblogs.com/vzhangxk/p/11217402.html