IBM HPDMG0759W error when creating the AMJRTE properties file - United States TAM; run-svrssl-config; svrssl; HPDMG0759W; AMJRTE TECHNOTE (TROUBLESHOOTING)

PROBLEM
When executing the "run-svrssl-config" task via the ConfigEngine to create the AMJRTE properties file, you receive the following error:

Command to run is: java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ****** -appsvr_id myserverid -port 7223 -mode remote -policysvr <hostname>:7135:1 -authzsvr <hostname>:7136:1 -cfg_file C:\IBM\WebSphere\AppServer\java\jre/PdPerm.properties -key_file C:\IBM\WebSphere\AppServer\java\jre/lib/security/pdperm.ks
[java] Exception in thread "main" 
[java] [
[java] HPDMG0759W The user name already exists in the registry.
[java] ]
[java] at com.tivoli.pd.jutil.bo.a(bo.java:98)


ENVIRONMENT
Configuring WebSphere® Portal 6.1 with Tivoli® Access Manager 6.0

DIAGNOSING THE PROBLEM
 

The user name referenced in the error message refers to the appsvr id used in the SvrSslCfg command. The value for this user name is set via the following parameter in wkplc_comp.properties:

wp.ac.impl.PDServerName


RESOLVING THE PROBLEM
 

To avoid the error, do one of the following steps before executing the run-svrssl-config task:

a) Use a unique value for wp.ac.impl.PDServerName

or

b) Run the following command manually from a command prompt on the portal server to remove the appsvr_id value from Tivoli Access Manager's repository: 

java com.tivoli.pd.jcfg.SvrSslCfg -action unconfig-admin_id sec_master -admin_pwd ****** -appsvr_id myserverid -port 7223 -mode remote -policysvr <hostname>:7135:1 -authzsvr <hostname>:7136:1 -cfg_file C:\IBM\WebSphere\AppServer\java\jre/PdPerm.properties -key_file


RELATED INFORMATION
#Creating the AMJRTE properties file [http://publib.boulder.ibm.com/infocenter/wpdoc/v6r1m0/index.jsp?topic=/com.ibm.wp.ent.doc/security/cfg_tam_auth.html]




 * 
 *

Question: Why is an error seen while running run-svrssl-config? 

Following error is seen while running run-svrssl-config ConfigEngine task:

     action-run-pdjrte-config-zos-wp.ac.impl: 
     [validateHost] Validating hostname(s) in the following argument: tam001:7136:1,tam002:7136:2
          [echo] Command to run is: java com.tivoli.pd.jcfg.SvrSslCfg -action config -admin_id sec_master -admin_pwd ****** -appsvr_id myAppSvr -port 7223 -mode remote -policysvr
     tam001:7135:1,tam002:7135:2 -authzsvr tam001:7136:1,tam002:7136:2 -cfg_file /opt/WebSphere/AppServer/tivoli/tam/PdPerm.properties -key_file /opt/WebSphere/AppServer/tivoli/tam/pdperm.ks
          [java] Executing java with empty input string
          [java] Exception in thread "main"
          [java] [
          [java] HPDMG0759W The user name already exists in the registry.
          [java] ]
          [java] at com.tivoli.pd.jutil.ob.a(ob.java:40)
          [java] at com.tivoli.pd.jutil.ob.a(ob.java:66)


Answer: To avoid the error, do one of the following steps before executing the run-svrssl-config task:

a) Use a unique value for wp.ac.impl.PDServerName

or

b) Run the following command manually from a command prompt on the portal server to remove the appsvr_id value from Tivoli Access Manager's repository: 

java com.tivoli.pd.jcfg.SvrSslCfg -action unconfig-admin_id sec_master -admin_pwd ****** -appsvr_id myserverid -port 7223 -mode remote -policysvr <hostname>:7135:1 -authzsvr <hostname>:7136:1 -cfg_file C:\IBM\WebSphere\AppServer\java\jre/PdPerm.properties -key_file