Issue Details (XML | Word | Printable)

Key: JDBC-225
Type: Improvement Improvement
Status: Open Open
Priority: Trivial Trivial
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JDBC Driver

Attempt to retrieve actual processId

Created: 05/Jan/12 07:55 AM   Updated: 22/Jul/18 10:54 AM
Component/s: Wire protocol
Affects Version/s: None
Fix Version/s: Jaybird 5

Issue Links:
Duplicate
 
Relate
 


 Description  « Hide
Currently Jaybird uses a System property set by the user to determine the processid to send to the server. Extend that to use the following mechanisms (in order):
1) sun.java.launcher.pid, (only Available on Oracle/Sun Java)
2) ManagementFactory.getRuntimeMXBean().getName() (should provide the PID on most or all platforms)
3) If all else fails: fall back to the property

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.