Setting Values for the Java Virtual Machine
To set values for the Java Virtual Machine (JWM) within DB-Gate, select 2 JVM Settings from the DB Directory Entry System Configuration Menu (STRDB > 81). The JVM Settings screen appears:
JVM Settings 18/02/21 14:57:42 Type options, press Enter. Auto set CLASSPATH . . . Y Y=Yes, N=No The actual CLASSPATH is stored in /iSecurity/DB-Gate/sp.properties For Run mode 2=Internal server: JVM Path . . . . . . . . /QOpenSys/QIBM/ProdData/JavaVM/jdk60/64bit JVM Properties . . . . . -Xmx1024m;-Djava.version=1.7; Number of JVMs . . . . . 1 IBM Java VM (J9) must be used for these parameters. This is standard since 7.1 User profile SECURITYBP must be enabled and have a password F3=Exit F12=Cancel |
To automatically set the CLASSPATH value to that stored in /iSecurity/DB-Gate/sp.properties, set the Auto set CLASSPATH field to Y.
If DB-Gate is running in mode 2, with an internal server (as shown in Mode 2 - Internal Server), set the JVM Path and JVM Properties fields to appropriate values for your system. The screen image shows example values. They can often be left blank.
You may run multiple Java Virtual Machines, as set in the Number of JVMs field. By default, DB-Gate only uses one.
NOTE: You must use IBM Java VM (J9), which has been the default since OS/400 7.1, for these parameters.
The user profile SECURITYBP must be enabled and have a password.