Kbase P5164: How to disable the Java JIT compiler used by Progress
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  6/6/2005 |
|
Status: Verified
GOAL:
How to disable the Java JIT compiler used by Progress
FACT(s) (Environment):
Progress 9.1x
FIX:
Windows:
The JIT compiler can be disabled by changing the Registry entries:
HKEY_LOCAL_MACHINE\SOFTWARE\PSC\PROGRESS\<version>\JAVA
and
HKEY_CURRENT_USER\Software\PSC\PROGRESS\<version>\JAVA:
1) Modify the JVMARGS key by adding the following to the END of the existing string:
(pre-JDK 1.2, Progress 9.1B or earlier) -nojit
(post-JDK 1.2, Progress 9.1C or later) -Djava.Compiler=NONE
2) Edit the %DLC%\bin\ubutil.bat, %DLC%\bin\ubconfig.bat, %DLC%\bin\dbman.bat, %DLC%\bin\dbconfig.bat by adding the following in the last line after the "%JVM%" entry:
(pre-JDK 1.2, Progress 9.1B or earlier) -nojit
(post-JDK 1.2, Progress 9.1C or later) -Djava.Compiler=NONE
Example:
"%JVMSTRT%" -o stderr -s -m silent "%JVM%" -Djava.Compiler=NONE -classpath "%JCP%" %JARGS% -DInstall.Dir="%DLC%" -DWork.Dir="%WRK%" -Djava.security.policy="%JPOLICY%" %UBUTILPKG%.%UBUTILCLASS% %PARMS%
UNIX:
Disable the JIT compiler by setting the environment variable JAVA_COMPILER to an empty value, insert:
JAVA_COMPILER= ;export JAVA_COMPILER
into $DLC/bin/java_env script under the header for the related platform. The $DLC/bin/java_env is called from proadsv, asbman, wtbman, nsman ..... all Progress scripts that use Java.