NonStop Server for Java 6.0 Programmer's Reference
javax.transaction Exceptions................................................................................................74
Examples..........................................................................................................................74
6 Application Profiling.................................................................................76
Monitoring live Java applications..............................................................................................76
Collecting profile data for analysis............................................................................................76
Obtaining Garbage Collection Data for Analysis........................................................................78
Analyzing Garbage Collection Data.........................................................................................79
-Xeprof versus -agentlib:hprof (HPROF).......................................................................................79
7 Migrating Applications..............................................................................80
Installation Changes................................................................................................................81
Public Library Directory............................................................................................................81
Java Based JAR File Locations...................................................................................................81
For Java Based Products......................................................................................................81
User-Provided JAR Files.......................................................................................................81
Dynamic Link Libraries (DLLs)....................................................................................................82
Makefile to Link Native Libraries...............................................................................................82
Compiling C++ Native Code with the -Wversion3 Option............................................................82
Floating-Point Support..............................................................................................................83
Using AWT Classes................................................................................................................83
POSIX Threads.......................................................................................................................84
Directories of Binary Files Moved..............................................................................................84
Character Handling................................................................................................................84
BigDecimalFormat Class..........................................................................................................84
JAAS Enhancement.................................................................................................................85
Miscellaneous Changes for Migration to TNS/E.........................................................................85
JNI_OnLoad and JNI_OnUnLoad Functions...........................................................................85
Debugger.........................................................................................................................85
Default Heap and Stack Sizes..............................................................................................85
dlfcn.h File........................................................................................................................86
A Supported and Unsupported Features of NonStop Server for Java 6.0.............87
Java SE 6.0 Features not Implemented in NonStop Server for Java 6.0..........................................87
B Addendum to HPjmeter 4.2 User's Guide....................................................88
Completing Installation of HPjmeter...........................................................................................88
Agent Requirements...........................................................................................................88
File Locations.....................................................................................................................88
Configuring your Application to Use HPjmeter Command Line Options.....................................89
Preparing to run Java.........................................................................................................89
Attaching to the JVM Agent of a Running Application.............................................................89
Monitoring Applications..........................................................................................................89
Managing Node Agents.....................................................................................................89
Diagnosing Errors when Monitoring Running Applications.......................................................89
Profiling Applications..............................................................................................................89
Collecting Profile Data........................................................................................................90
Troubleshooting......................................................................................................................90
Identifying Version Numbers................................................................................................90
Installation........................................................................................................................90
Node Agent......................................................................................................................90
Quick References....................................................................................................................91
Determining which HPjmeter Features are Available with a Specific JVM Version........................91
Glossary....................................................................................................92
Contents 5










