NonStop Server for Java 6.0 Programmer's Reference
automatically. To enable parsing into BigDecimal, you need to use the setParseBigDecimal
method.
JAAS Enhancement
In NonStop Server for Java 3.x and earlier versions, the Java Authentication and Authorization
Service (JAAS) was an optional package (extension). JAAS is integrated into the NonStop Server
for Java 6.0. JAAS augments the core Java 2 platform with APIs that allow authenticating users
and enforcing access controls upon users. Traditionally, Java 2 provided code-source-based access
controls (access controls based on where the code originated and who signed the code). However,
Java 2 lacked the ability to additionally enforce access controls based on who runs the code. In
NonStop Server for Java 6.0, JAAS provides a framework that augments the Java 2 security
architecture with this additional capability.
For more information on JAAS, see “Java Authentication and Authorization Service (JAAS)”
(page 53).
Miscellaneous Changes for Migration to TNS/E
• “JNI_OnLoad and JNI_OnUnLoad Functions” (page 85)
• “Debugger” (page 85)
• “Default Heap and Stack Sizes” (page 85)
• “dlfcn.h File” (page 86)
JNI_OnLoad and JNI_OnUnLoad Functions
All applications migrating from TNS/R systems must change the JNI_OnLoad function. The
format you use depends on the system type:
• On TNS/R systems, you use the following name:
JNI_OnLoad_libname
where libname is the name of the library that your program passed to the
System.loadLibrary function.
• On TNS/E systems, use:
JNI_OnLoad
On TNS/R systems, the JNI_OnUnload function is not supported by NonStop
Server for Java 6.0. On TNS/E systems, the JNI_OnUnload function is supported.
Debugger
Visual Inspect is the preferred debugger for applications on TNS/E. For debugging native code,
you can also use Native Inspect ($System.SYSnnn.EINSPECT command).
Default Heap and Stack Sizes
The default heap and stack sizes have changed for TNS/E hosted applications.
• On TNS/E systems, the default stack size is 512 KB; the minimum stack size is 64 KB.
• On TNS/E systems, the initial heap size is 18.25 MB; the default maximum heap size is 64
MB.
JAAS Enhancement 85










