Products | Versions |
---|---|
TIBCO Administrator | - |
Not Applicable | - |
The AIX Stack Execution is disabled. The Java JIT compiler is encountering /causing problems with the normal execution of the Java code to try to enhance optimization.
=====================================
Java Launcher is a wrapper (c++ app) which launches the bwengine (JVM) and hawkagent (JVM). The AIX Java Launcher Stack/heap Execution Disable (SED) is disabled by default. Any buffer overflow from Administrator or BWEngine or Hawkagent will result in the Java Launcher stopping or sometimes OOM(OutOfMemory). To check if SED is disabled for TIBCO binaries, run the following command. You should see Flags=( EXEC DYNLOAD DEP_SYSTEM ).
===============================
# dump -X64 -ov /var/tibco/administrator/domain/<DomainName>/bin/tibcoadmin_<DomainName>
===============================
Solution
Disable the JIT compiling feature for Java. There are several ways to disable the JIT for AIX Java.
1). Set the following environment variable:
JAVA_COMPILER=NONE.
2). To exempt the executable from SED, you should issue the following command.
> sedmgr -c exempt ./<TIBCO binaries>
FOR Administrator:
>sedmgr -c exempt ./tibcoadmin_<DomainName>
To confirm, run the following command. You should see Flags=( EXEC DYNLOAD DEP_EXEMPT )
===============================
# dump -X64 -ov /var/tibco/administrator/domain/<DomainName>/bin/tibcoadmin_<DomainName>
/var/tibco/administrator/domain/<DomainName>/bin/tibcoadmin_<DomainName>:
***Object Module Header***
# Sections Symbol Ptr # Symbols Opt Hdr Len Flags 5 0x000318be 2006 120 0x1002
Flags=( EXEC DYNLOAD DEP_EXEMPT )
Timestamp = "Nov 6 00:45:13 2012"
Magic = 0x1f7 (64-bit XCOFF)
===============================
3). This following is optional.
Add the option to the jvmargs for Java.
jvmargs=-Xint <this is in addition to any other jvmargs that already exist>