# \[BUG-11343\] Gateway Restore... also

**URL:** <https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577>\
**Category:** Ignition Early Access\
**Created:** [November 6, 2018, 6:54pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577 "2018-11-06T18:54:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 6:54pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/1 "2018-11-06T18:54:11Z")

</div>

Having similar issues after attempting to restore from a 7.9.9 version to bring my projects in…

Install didn’t like the upgrade, but clean install seemed to work better. Are we just being impatient on the upgrade? How long should it take to go from 7.9.9 to 8.0.0?

Also as seen in previous posts, on the host machine it doesn’t get past the “starting” screen when I just leave that window up.

Also at upgrade, with a remote connection, I get the “gateway shutting down” and then the “gateway status unknown”, this window also never transitions. On either the host machine or remotely, if I try to connect with another tab, I get the “can’t reach this page” message…

I pulled logs from after the successful install of 8.0.0, including a license activation, and after the attempted gateway restoration…[wrapper.log](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/7f3493cedb815115f09eb073220f449d71bc6e2d.log) (54.0 KB)

Win10,  
Using Microsoft Edge for the browser  
Microsoft Edge 42.17134.1.0  
Microsoft EdgeHTML 17.17134

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 6:54pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/2 "2018-11-06T18:54:37Z")

</div>

Thread was closed while I was attempting to reply…

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 6, 2018, 6:55pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/3 "2018-11-06T18:55:55Z")

</div>

```auto
STATUS | wrapper | 2018/11/06 11:20:09 | Launching a JVM...
INFO | jvm 2 | 2018/11/06 11:20:09 | OpenJDK 64-Bit Server VM warning: Ignoring option PermSize; support was removed in 8.0
INFO | jvm 2 | 2018/11/06 11:20:09 | OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0
INFO | jvm 2 | 2018/11/06 11:20:09 | Unrecognized VM option 'CMSPermGenSweepingEnabled'
INFO | jvm 2 | 2018/11/06 11:20:09 | Error: Could not create the Java Virtual Machine.
INFO | jvm 2 | 2018/11/06 11:20:09 | Error: A fatal exception has occurred. Program will exit.
ERROR | wrapper | 2018/11/06 11:20:09 | JVM exited while loading the application

```

Go into the `ignition.conf` file in the `data/` directory and remove any `wrapper.java.additional.<>` parameters (particularly, something like `wrapper.java.additional.5=-XXCMSPermGenSweepingEnabled=true`)

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 7:01pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/4 "2018-11-06T19:01:36Z")

</div>

All wrapper.java.additional.# parameters or just that specific one?

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 7:06pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/5 "2018-11-06T19:06:47Z")

</div>

Sorry, I just saw your comment about “any”… guessing I should restart the gateway after the change?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 6, 2018, 7:07pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/6 "2018-11-06T19:07:59Z")

</div>

Go ahead and post what your parameters are - at least one is probably necessary, but any garbage collection related ones can be removed with embedded Java 11. And yes, after modifying the .conf file you’ll need to restart the service.

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 7:10pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/7 "2018-11-06T19:10:44Z")

</div>

### Java Additional Parameters

```auto
#wrapper.java.additional.1=-XX:PermSize=64m
#wrapper.java.additional.2=-XX:MaxPermSize=128m
#wrapper.java.additional.3=-XX:+UseConcMarkSweepGC
#wrapper.java.additional.4=-XX:+CMSClassUnloadingEnabled
#wrapper.java.additional.5=-XX:+CMSPermGenSweepingEnabled
#wrapper.java.additional.6=-Ddata.dir=data
#wrapper.java.additional.7=-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
#wrapper.java.additional.8=-Xdebug
#wrapper.java.additional.9=-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000

```

---

<div class="post-metadata">

**Author:** ![brian.mills](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian.mills/32/6348_2.png) [@brian.mills](https://forum.inductiveautomation.com/u/brian.mills)\
**Post date:** [November 6, 2018, 7:11pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/8 "2018-11-06T19:11:18Z")

</div>

… wow, guess it didn’t like my copy/paste

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 6, 2018, 7:13pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/9 "2018-11-06T19:13:40Z")

</div>

> [@brian.mills](#):
>
> ```auto
> wrapper.java.additional.6=-Ddata.dir=data
> wrapper.java.additional.7=-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
> 
> ```

Those are the only ones you need out of that list - the rest are either deprecated garbage collection flags, or only needed for remote debugging (which you wouldn't need to worry about).

---

<div class="post-metadata">

**Author:** ![jcoffman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jcoffman/32/6429_2.png) [@jcoffman](https://forum.inductiveautomation.com/u/jcoffman)\
**Post date:** [November 7, 2018, 5:10pm UTC](https://forum.inductiveautomation.com/t/bug-11343-gateway-restore-also/20577/10 "2018-11-07T17:10:53Z")

</div>

4 posts were split to a new topic: [[BUG-11569] Upgrades via Installer create rogue “Program” file](https://forum.inductiveautomation.com/t/bug-11569-upgrades-via-installer-create-rogue-program-file/20627)
