【问题标题】:WebLogic 12cR2 Partition Administrator can't connect to serverWebLogic 12cR2 分区管理员无法连接到服务器
【发布时间】:2016-02-24 01:19:04
【问题描述】:

自 FMW 12.2.1.0.0 起,Weblogic 开始支持分区管理员管理自己在同一域中创建的分区。

我遵循了在线指南: https://blogs.oracle.com/WebLogicServer/entry/create_weblogic_server_domain_with

创建领域、用户/组、虚拟目标、分区和分区 IDD。我正确启动了多个分区。

但是,我遇到了一个非常烦人的问题。 Weblogic 服务器永远不会得到分区管理员的连接。

当我通过 WLST 创建用户时(通过给定的 'userName'、'realmName' 和 'userPassword'):

atn = realm.lookupAuthenticationProvider('ATNPartition')
if atn.userExists(userName):
  print "User already exists."
else:
  atn.createUser(userName, '${userPassword}', realmName + ' Realm User')
  print "Done creating user. ${userPassword}"

保存并激活后,假设Weblogic服务器会将用户密码以加密格式保存在config.sh中。但不幸的是,当我检查域主页中的 config.sh 时。只有node manager的密码被加密为:

<credential-encrypted>{AES}BO8/YDwxxF0YEtwOysWoxIaNk589vHRypbPqtuKfDcTufqi9jne15LfyDfKHwKJuaz0hjkALY1qzInAlhVLmeCZk3pTjV+5+260PhCNKzlE15j2YafCPONhYwtfYryFx</credential-encrypted>
<node-manager-username>weblogic</node-manager-username>
<node-manager-password-encrypted>{AES}ZhuXoR4rh4aIv2zNCyugU0X+9BUb6oBaEYS6qBgQ688=</node-manager-password-encrypted>

我没有看到任何其他分区管理员的密码加密信息。

请任何人告诉我如何启用Weblogic服务器以支持分区管理员连接到Weblogic服务器?

【问题讨论】:

    标签: encryption weblogic administrator partition


    【解决方案1】:

    这是我自己找到答案的自我回复。

    由于 FMW 12.2.1 部署了分区级别,部署上下文为:

    /Partitions/${partition}/ResourceGroups/${resource_group}/AppDeployments>
    

    可以通过以下方式访问应用程序:

    deployedApp = getMBean('/Partitions/'+${partition}+'/ResourceGroups/'+${resource_group}+'/AppDeployments/'+appName>)
    

    这可能对处于相同情况的人有所帮助。

    【讨论】:

      猜你喜欢
      • 2016-08-27
      • 2021-07-02
      • 2018-03-04
      • 2013-08-27
      • 1970-01-01
      • 2016-09-12
      • 1970-01-01
      • 2013-04-27
      • 1970-01-01
      相关资源
      最近更新 更多