Ignition Gateway service not starting

I have installed ignition, for the first time, and I cannot get the gateway control utility to start the service. I am running XP, ignition 7.5 32-bit and java 6.32. If I start the service manually the wrapper.log file reads:

STATUS | wrapper | 2012/06/27 08:34:58 | --> Wrapper Started as Service
STATUS | wrapper | 2012/06/27 08:34:58 | Java Service Wrapper Standard Edition 32-bit 3.5.14
STATUS | wrapper | 2012/06/27 08:34:58 | Copyright © 1999-2011 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2012/06/27 08:34:58 | wrapper.tanukisoftware.com
STATUS | wrapper | 2012/06/27 08:34:58 | Licensed to Inductive Automation for Ignition Gateway
STATUS | wrapper | 2012/06/27 08:34:58 |
STATUS | wrapper | 2012/06/27 08:34:58 | Launching a JVM…
INFO | jvm 1 | 2012/06/27 08:34:58 | Error occurred during initialization of VM
INFO | jvm 1 | 2012/06/27 08:34:58 | Could not reserve enough space for object heap
INFO | jvm 1 | 2012/06/27 08:34:58 | Could not create the Java virtual machine.
INFO | jvm 1 | 2012/06/27 08:34:58 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
ERROR | wrapper | 2012/06/27 08:34:58 | JVM exited while loading the application.
STATUS | wrapper | 2012/06/27 08:35:03 | Launching a JVM…
INFO | jvm 2 | 2012/06/27 08:35:03 | Error occurred during initialization of VM
INFO | jvm 2 | 2012/06/27 08:35:03 | Could not reserve enough space for object heap
INFO | jvm 2 | 2012/06/27 08:35:03 | Could not create the Java virtual machine.
INFO | jvm 2 | 2012/06/27 08:35:03 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
ERROR | wrapper | 2012/06/27 08:35:03 | JVM exited while loading the application.
STATUS | wrapper | 2012/06/27 08:35:08 | Launching a JVM…
INFO | jvm 3 | 2012/06/27 08:35:08 | Error occurred during initialization of VM
INFO | jvm 3 | 2012/06/27 08:35:08 | Could not reserve enough space for object heap
INFO | jvm 3 | 2012/06/27 08:35:08 | Could not create the Java virtual machine.
INFO | jvm 3 | 2012/06/27 08:35:08 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
ERROR | wrapper | 2012/06/27 08:35:08 | JVM exited while loading the application.
STATUS | wrapper | 2012/06/27 08:35:13 | Launching a JVM…
INFO | jvm 4 | 2012/06/27 08:35:13 | Error occurred during initialization of VM
INFO | jvm 4 | 2012/06/27 08:35:13 | Could not reserve enough space for object heap
INFO | jvm 4 | 2012/06/27 08:35:13 | Could not create the Java virtual machine.
INFO | jvm 4 | 2012/06/27 08:35:13 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
ERROR | wrapper | 2012/06/27 08:35:13 | JVM exited while loading the application.
STATUS | wrapper | 2012/06/27 08:35:18 | Launching a JVM…
INFO | jvm 5 | 2012/06/27 08:35:18 | Error occurred during initialization of VM
INFO | jvm 5 | 2012/06/27 08:35:18 | Could not reserve enough space for object heap
INFO | jvm 5 | 2012/06/27 08:35:18 | Could not create the Java virtual machine.
INFO | jvm 5 | 2012/06/27 08:35:18 | Please use CMSClassUnloadingEnabled in place of CMSPermGenSweepingEnabled in the future
ERROR | wrapper | 2012/06/27 08:35:18 | JVM exited while loading the application.
FATAL | wrapper | 2012/06/27 08:35:18 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2012/06/27 08:35:18 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2012/06/27 08:35:18 | <-- Wrapper Stopped

If you look in the installation directory you should find an ignition.conf file. There are two lines:

Initial Java Heap Size (in MB)

wrapper.java.initmemory=256

Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=1024

Do yours say 256 and 1024? How much RAM does the computer you’re running this on have?

The .conf file reads:

Initial Java Heap Size (in MB)

wrapper.java.initmemory=256

Maximum Java Heap Size (in MB)

wrapper.java.maxmemory=1024

I have 3 GB of RAM.

Of those 3 gigs of ram, how much is your computer using before you try to start Ignition?

Try going to the command prompt and enter
net start ignition

I am using 1.31 GB before I run ignition. When I ran the command prompt the same error shows up in the wrapper.log file, and the service fails to start.

If you change the maxmemory line to 512 will Ignition start?

Changed maxmemory to 512 then ran the gateway control utility, and the service did not start. I then tried the command prompt “net start ignition”, and the service started no problems. After I had the service started I started back up the gateway control utility, and everything looks good.

Thanks

Well… glad it’s working, but not sure why it wouldn’t run with 1GB. This may present problems as you develop your project and it grows in size. There’s something “wrong” with the computer/environment you’re running.

Should be OK for development/exploring, but don’t go deploying to production on this computer.