服务器在复制部署环境之后启动时出错

Draft comment:
This topic only applies to BAW, and is located in the BAW repository. Last updated on 2025-01-20 10:38
如果复制部署环境或创建环境以测试升级过程,那么在服务器首次启动时可能会看到涉及 BPM 文档库 的服务器错误。
该错误类似于以下错误:
[11/3/14 13:14:11:961 CST] 0000008c EmbeddedECMIn E CWTDS1100E: An error occurred while validating or creating the default configuration for the BPM document store.
com.ibm.bpm.embeddedecm.exception.UserMissesWritePermissionException: CWTDS0022E: The configuration was changed in a way that the technical user 'deadmin' of the BPM document store fails to change the object 'Domain'.
Explanation: The technical user defined in the BPM role type 'EmbeddedECMTechnicalUser' is not permitted to perform changes on an object.
Action: Revert the recent configuration changes. Ensure that the user defined by the BPM role type 'EmbeddedECMTechnicalUser' has access to the object. Verify this using the admin task 'getDocumentStoreStatus'.

解决问题

要解决此问题,请检查 dmgr_profile/config/cells/cell_name下的 fileRegistry.xml 文件,并确保 DeAdmin 用户的 externalId 与源环境中的相同。
<wim:entities xsi:type="wim:PersonAccount">
    <wim:identifier  externalId="97d277cb-a47f-44b1-b522-37e01e1cb741" externalName="uid=deadmin,o=defaultWIMFileBasedRealm" uniqueId="97d277cb-a47f-44b1-b522-37e01e1cb741" uniqueName="uid=deadmin,o=defaultWIMFileBasedRealm"/>
     <wim:parent>
 ...
    <wim:uid>deadmin</wim:uid>
      <wim:cn>deadmin</wim:cn>
       <wim:sn>deadmin</wim:sn>
</wim:entities>
要修正该问题,请复制源环境中 fileRegistry.xml 文件中的值。