Tcunified Troubleshooting
Tcunified Troubleshooting
NOTE: An excellent source for troubleshooting Teamcenter issues is the Teamcenter Online
Documentation detailing how to enable and capture log files and how to set debug options for different
processes. Diagnostic utilities are also available and described below.
Prerequisites
Usually this information is already available in the installation documentation at your site.
Starting an analysis
Incident Types
A user interface issue can be related to the user interface, a communication problem with the web
application server or the tcserver process and the FMS system.
If an error message is shown, it will be the starting point for the analysis. All messages are listed in the
Rich Application Client log file. ($HOME/Teamcenter/RAC/$Number/Username_TcRAC_Number.log)
Example:
at com.teamcenter.rac.kernel.TCSession.handleException(Unknown
Source)
.....
If no message is displayed, it can be a missing or not working functionality or the user interface does
not respond to user actions.
If a functionality is missing, consult the Teamcenter Online Documentation. If it is still documented but
not displayed, it can be related to a configuration issue.
If the RAC freezes, check the communication between the user interface and the web application
server or tcserver process.
log4j.rootLogger=DEBUG, TcLoggerConsoleAppender,
TcLoggerFileAppender, TcLogContext
A more detailed description can be found in the Teamcenter Online Documentation / Rich Client
Customization Programmers Guide / Troubleshooting rich client customization / Enabling client-side
logging / Changing the logging level and location.
There are two tools to monitor the client communication: communication indicator and the
Communications Monitor
This tool has other uses as well, such as seeing which server requests produce a heavy work load or
lead to a errors.
The starting point is the tcserver process. The tcserver process produces 3 log files:
- The tcservernumber.syslog
- The tcservernumber.jnl
- The tcservernumber.log
To get a consistent collection of files, make sure the number is the same.
In a 2 Tier installation the tcserver process communicates directly with the Rich Application Client. In a
4 Tier environment it communicates with the Web Application server.
For more information about the tcserver log please refer to the Teamcenter Online Documentation /
System Administration Guide / Logging / Logging for Teamcenter tiers / Enterprise tier logging.
The syslog file should be reviewed first to understand the tcserver process because there are status
messages, warnings and error messages in this file.
There is no general recommendation. The next step is to analyze the jnl file.
Performance Issues
Before an analysis can begin, decide whether it is a performance issue related to the FMS system or
if it is related to the communication with the web application server, tcserver process and database.
If it takes a long time to retrieve file based data like NX parts, it is usually related to the FMS system.
In this case check the infrastructure and the FMS configuration.
If it takes a long time to get data from the database, e.g. expanding a BVR in the PSE, it is related to
the communication performance, database performance or processing power of the hardware.
A good starting point is the comlog and the tcserver process. To enable the comlog set
TC_COMMUNICATION_LOGGING = ON.
There are several FMS related log files. Please refer to the Teamcenter Online Documentation /
System Administration Guide / Logging / Logging for Teamcenter tiers / Resource tier logging
There are some environment settings for the performance analysis in the tcserver process. E.g.
TC_SQL_DEBUG and TC_SLOW_SQL. The debug settings are described in the Teamcenter Online
Documentation / Preferences Environment Variables Reference / Introduction to environment
variables / Setting environment variables.
Which diagnostic utility helps in getting a better understanding of the problem?
In addition, there is a performance monitor available. It can be turned on with the environment setting
TC_PERFORMANCE_MONITOR=0. The SQL performance statistic is written to the
tcservernumber.syslog and can be investigated using spreadsheet applications. For more information
about this powerful tool see Teamcenter Online Documentation / Rich Client Customization
Programmers Guide / Troubleshooting rich client customization / Rich Client debugging tools / Debug
using Performance Monitor tool.
As already described above, there is a Communication Monitor in the Rich Client. If the Show Timing
option is enabled, the processing time for a request is listed and can be used for the analysis.
Data inconsistencies are discovered by the application which tries to use the data. The starting point
is the application log file.
There is a Print Object application in the Rich Client application. It shows the attributes in the
database for a given object. The reference attributes are links to the object. The Print Object can be
used to analyze the data structure and find any inconsistencies. The tool is described in the Online
Documentation. Teamcenter Online Documentation / Rich Client Customization Programmers Guide /
Troubleshooting rich client customization / Rich Client debugging tools / Debug using the Print Object
tool.