Errors Launching the VM
These types of errors are reported by the Service Wrapper into the wrapper.log files. When reading the files, you will see something like:
STATUS | wrapper | 2014/07/17 10:47:16 | Launching a JVM...
INFO | jvm 5 | 2014/07/17 10:47:16 | Error occurred during initialization of VM
followed by additional messages. The messages that follow can provide a cruicial clue as to what is going wrong. The following are some messages that may occur. Some situations may result in multiple of the following messages.
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
It is possible to set an Environment Variable in Windows, called "_JAVA_OPTIONS", that will be applied to each Java application that is launched. This can have a significant effect on Ignition, as it will override the values configured in Ignition.conf.
If this option is present, it should be removed, and any applications that use it should be modified to use other mechanisms, such as passing the desired parameters through the command line.
To check for this option or remove it, locate Windows Environment Variables by doing the following (Windows Xp-7):
- Click on Start, right click "(My) Computer", select Properties.
- Select "Advanced system settings"
- Select "Environment Variables..."
- Look for the entry under "System Variables"