还请注意,管理员用户名在 Deploy_RCQR_eWAS.py 中存在三处,且值必须一致。以下示例显示了该文件的缺省值。 三次出现的管理员用户名都以粗体字型显示。
# 设置定制安全的基本属性 attrs = '[[useRegistryServerId false][primaryAdminId %s][customRegistryClassName %s]]' % ('admin', 'com.ibm.rational.cq.was.userregistry.CQUserRegistry') AdminConfig.modify(customUserRegistry, attrs)# 设置定制属性 customProps = { 'autoCreateJazzGroups':'true', 'jazzAdmins':'admin', 'jazzProjectLeads':'lead', 'cqDbSetName':'7.0.0', 'cqUserDbName':'SAMPL', 'cqConnectionURL':'http://localhost:12080/TeamWeb/services/Team', 'cqConnectionUsername':'admin', 'cqConnectionPassword':'admin', 'cqConnectionPasswordEncrypted':'false', }
%RATIONAL_COMMON%/CM/profiles/reportalprofile/bin/startServer server1 -profileName reportalprofile
wsadmin.bat -lang jython -f ..\..\..\Scripts\Deploy_RCQR_eWAS.py
%RATIONAL_COMMON%/eWAS/bin/wasservice -add reportalprofile -serverName server1 -profilePath "%RATIONAL_COMMON%/CM/profiles/reportalprofile" -stopArgs "-username <user> -password <password>"
%RATIONAL_COMMON%CM/profiles/reportalprofile/startServer server1
https://machinename.domain:portnumber/jazz/reportal/projects/Vega