uCosminexus Application Server, Maintenance and Migration Guide
This subsection describes the trace information of the user-extended trace based performance analysis.
The following table describes the trace information of the user-extended trace based performance analysis.
Table 8-191 Trace information of the user-extended trace based performance analysis
No. in the figure#1 | Information that you can acquire | ||||
---|---|---|---|---|---|
Event ID (Event) |
Return code (Rc) | Interface name (INT) | Operation information (OPR) | Additional information#2 (OPT/ASCII#3) |
|
1 | Event ID specified in the configuration file for the user-extended trace based performance analysis. When not specified, 0xae00. |
0 | Identity ID specified by the user in the configuration file for the user-extended trace based performance analysis. | -- | The following information is output:
|
2 | Event ID specified in the configuration file for the user-extended trace based performance analysis + 1. When not specified, 0xae01. |
0 | Identity ID specified by the user in the configuration file for the user-extended trace based performance analysis. | Line number of the text executed last by the method #4. | The following information is output:
|
3 | Event ID specified in the configuration file for the user-extended trace based performance analysis +1. When not specified, 0xae01. |
1 | Identity ID specified by the user in the configuration file for the user-extended trace based performance analysis. | Class name of the exception or error#5. | The following information is output:
|
You specify the trace information output level for the user-extended trace based performance analysis in the jvm.userprf.LogLevel property.
The following table describes the output levels and the trace information that is output.
Table 8-192 Specification of the output levels and the trace information that is output
Specification in the jvm.userprf.LogLevel property | Additional information (OPT/ASCII) | Operation information for abnormal exit of the method (OPR) |
---|---|---|
class | Class name | Class name of the exception or error |
package | Fully qualified class name | Fully qualified class name of the exception or error |
method | Fully qualified class name + method name | |
signature | Fully qualified class name + method name + method argument type |
For details on the jvm.userprf.LogLevel property, see 16.3 Properties used in JavaVM in the manual uCosminexus Application Server Definition Reference Guide.
The following are the examples of output of the user-extended trace based performance analysis.
The following is an example of settings when the output contents of the trace information are not changed:
... <param> <param-name>UserPrfText</param-name> <param-value> <![CDATA[ com.sample.ClassA.method1(int),test00,false ]]> </param-value> </param> <param> <param-name>add.jvm.arg</param-name> <param-value>-Djvm.userprf.Enable=true</param-value> </param> ... |
Event | Rc | INT | OPR | ASCII |
---|---|---|---|---|
0xae00 | 0 | test00 | (Blank) | ClassA |
0xae01 | 0 | test00 | (Blank) | ClassA |
The following is an example of settings when the configuration file for the user-extended trace based performance analysis (/test/setting.txt) is used to output the line number in the operation information:
... <param> <param-name>add.jvm.arg</param-name> <param-value>-Djvm.userprf.Enable=true</param-value> <param-value>-Djvm.userprf.File=/test/setting.txt</param-value> <param-value>-Djvm.userprf.LineNumber=true</param-value> </param> ... |
com.sample.ClassA.method1(java.lang.String),test00,false,0xae77 com.sample.ClassB.method2(boolean),test01.false |
Event | Rc | INT | OPR | ASCII |
---|---|---|---|---|
0xae77 | 0 | test00 | (Blank) | ClassA |
0xae78 | 0 | test00 | 324 | ClassA |
0xae00 | 0 | test01 | (Blank) | ClassB |
0xae01 | 0 | test01 | 15 | ClassB |
The following is an example of settings when the class name of the thrown exception is output in the operation information (OPR area) if the method exits abnormally. Note that this example describes the case in which ClassC exists in the subclass ClassA, and ClassA.method1 is overridden in ClassC.
... <param> <param-name>UserPrfText</param-name> <param-value> <![CDATA[ com.sample.ClassA.method1(),test00,true,0xae0a ]]> </param-value> </param> <param> <param-name>add.jvm.arg</param-name> <param-value>-Djvm.userprf.Enable=true</param-value> <param-value>-Djvm.userprf.LineNumber=true</param-value> <param-value>-Djvm.userprf.ThrowableName=true</param-value> </param> ... |
Event | Rc | INT | OPR | ASCII |
---|---|---|---|---|
0xae0a | 0 | test00 | (Blank) | ClassA |
0xae0b | 0 | test00 | 324 | ClassA |
0xae0a | 0 | test00 | (Blank) | ClassC |
0xae0b | 1 | test00 | IOException | ClassC |
The following is an example of settings when the output method of the exception or error class name is changed.
... <param> <param-name>UserPrfText</param-name> <param-value> <![CDATA[ com.sample.ClassA.method1(),test00,false ]]> </param-value> </param> <param> <param-name>add.jvm.arg</param-name> <param-value>-Djvm.userprf.Enable=true</param-value> <param-value>-Djvm.userprf.ThrowableName=true</param-value> <param-value>-Djvm.userprf.ThrowableNameEditMethod=FRONT_CUT</param-value> <param-value>-Djvm.userprf.LogLevel=method</param-value> </param> ... |
Event | Rc | INT | OPR | ASCII |
---|---|---|---|---|
0xae00 | 0 | test00 | (Blank) | com.sample.ClassA.method1 |
0xae01 | 1 | test00 | *ment.IllegalClassFormatException | com.sample.ClassA.method1 |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.