The trace command displays and sets tracing options for all servers in a farm or specified servers. You can trace various server activity, such as remote procedure calls or log manager processes. You can route this trace information to a trace file.
The TraceOptions.sample file can be found in ..\tools\PE\samples relative to the Content Platform Engine installation directory.
C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\traceOptions
The TraceOptions file is accessed when the server is restarted or reloaded through vwtool trace.
When the trace command is run on a single server, the current trace settings are listed and the trace options that were selected for the server are marked with a double asterisk (**).
http://server:port/FileNet/Engine
Where:
server is the host name of the server where Content Platform Engine is deployed. In a load-balanced environment, server is the name of one of the servers in the farm, not the virtual address of a load balancer.
port is the HTTP port that is used by the application server where Content Platform Engine is deployed.
The following table lists examples of addresses with default port numbers for supported application servers:
Application server type | Web page address |
---|---|
IBM® WebSphere® Application Server | http://myserver:9080/FileNet/Engine |
Oracle WebLogic Server | http://myserver:7001/FileNet/Engine |
JBoss Application Server | http://myserver:8080/FileNet/Engine |
c:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\FileNet\server1\pesvr_trace.log
In interactive mode, you are required to set all of the trace options.
trace [server] [change_tracing_options] [from_traceOptions_file] [trace_destination] [trace_options]Parameter | Description |
---|---|
server | Enter s for the trace
to be performed on a single server. You are prompted for the name
of the server. Enter a for the trace to be performed on all of the servers. |
change_tracing_options | Enter yes to change any of the displayed settings, or no to leave them as they are currently set. |
from_traceOptions_file | Enter yes if you want the selected trace options from the traceOptions file. Enter no to leave them as they are currently set. |
trace_destination | Defines the file and location where you want the trace information
to be stored. Enter yes or no for the trace destination. To turn tracing off, enter the trace command with no parameters, and enter no at the trace_destination prompts. Remember: Disabling the trace destination effectively turns
off tracing. However, there is some performance cost from leaving trace options
enabled.
|
trace_options | The trace activity that you can enable or disable. Enter yes or no for each trace option parameter. The options appear in the order indicated in the trace options parameters table. |
Vwtool parameter | traceOptions file flag | Description |
---|---|---|
Application space | TRACE_APP_SPACE | Trace application space changes such as configuration changes or API calls from client applications. |
Archiver | TRACE_ARCHIVER | Trace archiving. |
Asynchronous RPC | TRACE_ASYNC_RPC | Trace asynchronous RPCs. Used for long-running RPCs, such as configuration transfer, peverify, and pelog. |
Asynchronous tools | TRACE_ASYNC_TOOLS | Trace the tools that use asynchronous communication to the workflow system such as pelog. |
Case Synchronization | TRACE_CASE_SYNC | Trace synchronization of case data. Used with IBM Case Manager. |
Case Analyzer publishing | TRACE_CA_PUBLISHING | Trace the Case Analyzer event publishing process. |
Case Analyzer collection | TRACE_CA_COLLECTION | Trace the event collection process that queries the event logs. |
Case Analyzer database | TRACE_CA_DATABASE | Trace the database query statements that are run by Case Analyzer. |
Case Analyzer RPC | TRACE_CA_RPC | Trace the remote procedure calls from the Administration Console for Content Platform Engine. |
Case Analyzer upgrade | TRACE_CA_UPGRADE | Trace the Case Analyzer upgrade operation. |
Case Analyzer OLAP | TRACE_CA_OLAP | Trace the interaction with the OLAP database that is conducted through the OLAP connector. |
Case History Publishing | TRACE_CH_PUBLISHING | Trace the Case History event publishing process. |
Case History Collect | TRACE_CH_COLLECTION | Trace the event collection process that queries the event logs for Case History. |
Case History Database | TRACE_CH_DATABASE | Trace the database query statements that are run by Case History. |
Case History RPC | TRACE_CH_RPC | Trace the remote procedure calls from the Case History client. |
Case History Performance | TRACE_CH_PERFORMANCE | Trace the Case History event processing performance. |
Case History Upgrade | TRACE_CH_UPGRADE | Trace the Case History upgrade. |
Component Manager | TRACE_CM | Trace Component Manager. Returns detailed logging information about Component Manager. |
RDB Objects | TRACE_RDB | Trace RDB database access, which is related to isolated region tablespaces. |
Database access | TRACE_DBI_MSGS | Trace database access. This option outputs the SQL statements that are used by workflow system, along with the values of the substitution variables. Setting this option automatically sets the database time option. |
Database outputs | TRACE_DBI_OUT | Trace the field values and outputs of database statements, such as SELECT, UPDATE, and so on. |
Database time | TRACE_RDB_TIME | Trace database timings. This prompt appears only if you answer no to the database access prompt. |
Database transaction | TRACE_DBI_TRAN | Trace an entire database transaction from beginning to end. |
Environment cache | TRACE_ENV | Trace workflow system interactions with its environment record cache where it keeps track of workflow system user and group membership information. |
Event exporter | TRACE_EVENT_EXPORTER | Trace the core framework for Case Analyzer and Case History, which drives the publishing and collection processes. |
Exceptions | TRACE_EXCEPTION | Trace exceptions occurring within the server. |
Expression Parsing | TRACE_EXPR | Trace expression parsing. |
External RPCs | TRACE_EXTERNAL | Trace external remote procedure calls (RPCs). Traces calls within the Content Platform Engine server. |
Farming | TRACE_FARMING | Trace activities that are related to a farmed system. |
Heartbeat | TRACE_VWSVRTIME | Trace the heartbeat task activities. |
Instruction Sheet Interpreter | TRACE_ISI | Trace Instruction Sheet Interpreter (ISI) process. |
J2EE | TRACE_J2EE | Trace calls that are related to Java Platform, Enterprise Edition. |
Log Manager | TRACE_LOG | Trace log manager process. |
Email Notification | TRACE_NOTIFY | Trace email notifications. |
Object Service RPCs | TRACE_OBJSVC | Trace Object Service usage. |
API RPC | TRACE_RPC | Trace communication RPCs between the API client and workflow server. |
API RPC input | TRACE_RPC_IN_PARAMS | Trace API input parameters to workflow system RPCs. |
API RPC output | TRACE_RPC_OUT_PARAMS | Trace API output parameters to workflow system RPCs. |
Rules | TRACE_RULES | Trace workflow system interactions with the Rules Engine and rules processing. |
Security calls | TRACE_SEC | Trace security calls. |
Stored Procedure Calls | TRACE_STORED_PROC | Trace the execution of database instruction stored procedure calls. |
Workflow Termination | TRACE_WFTERM | Trace calls made to the workflow termination process (vwdone). |
Transfer | TRACE_TRANSFER | Trace transfer processes. |
Vwtime | TRACE_VWTIME | Trace the processing of the timer task. |
Web Services | TRACE_WEBSERVICES | Trace workflow system interactions with applications that use the Web Services protocol. |
XML Parser | TRACE_XMLPARSER | Trace parsing of XML. |
Dynamic Task | TRACE_DYN_TASK | Trace dynamic tasks. (Dynamic tasks are synonymous with IBM Case Manager ad hoc tasks.) |