TeamcenterKnowledge

Maintenance utilities > System maintenance

generate_metadata_cache

Generates the metadata shared server cache dataset. The cache is generated only if constant, type, or property metadata is updated since the last update. The -force argument forces regeneration of the cache. If you receive the following message, an administrator must run this utility on the server: Copy The schema file is out of date. Please regenerate. This indicates that when a template containing schema changes was installed to the server, the Generate Server Cache check box was not selected in Teamcenter Environment Manager (TEM) or the Business Modeler IDE. (It is also possible that the error message appears because the server instance the user is attempting to connect to does not have an up-to-date server cache. The user should log off and log on several times to connect to a fresh server instance. If the error message persists, the user should contact the server administrator to regenerate the server cache.) For more information about managing shared server cache, see Teamcenter Administration. Arguments -u Specifies the user ID. Specifies the user ID of the user with administrative privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the user and password arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the user's password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -force Forces creation of the dataset even if a correct version already exists. -delete Deletes the dataset. -log Specifies file path and name of the log file that contains the results of this execution. This argument is optional. -h Displays help for this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None.

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mna1737253705286/xln1737253708250/id1367777.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)