Remote PID and process name for FB 2.1 monitoring tables [JDBC118] #158
Submitted by: Thomas Steinmaurer (tsteinmaurer)
Assigned to: Roman Rokytskyy (rrokytskyy)
Discussed with Roman in Firebird-java. Thread "Process name in monitoring tables with Jaybird?" from July 15th, 2008.
Jaybird should set the proper DPB so that the remote process ID and the remote process name is shown for Jaybird applications in FB 2.1 monitoring tables (MON$ATTACHMENTS). Regarding the remote process name, we came to the following solution:
* If a particular -D parameter is present, use this one
* If this particular -D parameter is NOT present:
- Use the classname with the entire package information, if it fits into DPB / VARCHAR(253).
The text was updated successfully, but these errors were encountered:
Commented by: Roman Rokytskyy (rrokytskyy)
The only platform independent solution turns out to be via the -D property, therefore two new properties: org.firebirdsql.jdbc.pid and org.firebirdsql.jdbc.processName. If they are specified, values are passed to Firebird 2.1. Also the behavior with previous versions of FB is undefined, so use them with care.