Teamcenter Management Console reporting ERROR 500 when trying to connect to Server Manager

2022-08-08T12:25:24Z
Core Functions

Summary


Details

Installed Teamcenter Server Manager and Teamcenter Management Console component from Deployment Center 4.2.0.2 install script.

Trying to connect to the Server manager within the Management Console results in connection error:

500 Server Error The call failed on the server; see server log for details

Installing Teamcenter Server Manager component from Deployment Center 4.2.0.2 install script results in an invalid %TC_ROOT%\pool_manager\confs\\ldap.config file.

That file content was as follows which shows 'fnd0' variable names which should be populated with environment valid values:

MgmtLdapConfig {

com.sun.security.auth.module.LdapLoginModule REQUIRED

userProvider="${fnd0_ldapProtocol}://${fnd0_ldapHost}:${fnd0_ldapProt}/${fnd0_ldapPartition}"

authIdentity="${fnd0_ldapUserAttribute}={USERNAME},${fnd0_ldapUsers},${fnd0_ldapPartition},ou=JETI,dc=Teamcenter,dc=PLM,o=Siemens"

userFilter="(&(${fnd0_ldapUserAttribute}={USERNAME})(objectClass=${fnd0_ldapUserObjectClass})${fnd0_ldapUserFilter})"

authzIdentity=controlRole

useSSL=false

debug=false;

};

Solution

- Back up the existing %TC_ROOT%\pool_manager\confs\\ldap.config file

- Copy %TC_ROOT%\pool_manager\conf.template\ldap.config.template file to %TC_ROOT%\pool_manager\confs\ folder.

- Renamed the %TC_ROOT%\pool_manager\confs\\ldap.config.template file to 'ldap.config'.

Review the content of the ldap.config file. Should look like this:

MgmtLdapConfig {

com.sun.security.auth.module.LdapLoginModule REQUIRED

userProvider="ldap://localhost:15389/ou=Users,ou=Management,ou=JETI,dc=Teamcenter,dc=PLM,o=Siemens"

authIdentity="uid={USERNAME},ou=Users,ou=Management,ou=JETI,dc=Teamcenter,dc=PLM,o=Siemens"

authzIdentity=controlRole

useSSL=false

debug=false;

};

If Teamcenter Management Console is installed on the same host as the Teamcenter Server Manager then the 'localhost' entry in the 'userProvider' line of that file can remain unchanged.

If Teamcenter Management Console is installed on a separate host than the Teamcenter Server Manager then update 'localhost' to reflect the hostname of the Management Console host.

- Restarted the Server Manager.

- Log off the Management Console and log back in.

- Test Server Manager connection.

NOTE: This issue was reported in PR 10302560 and is fixed in the combination of Teamcenter 14.1 and Deployment Center 14.1

Notes

KB Article ID# PL8662905

Contents

SummaryDetails

Associated Components

Core Functions - Client