# Webserver Started. Gateway continuously loading

**URL:** <https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [February 9, 2022, 8:35pm UTC](https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948 "2022-02-09T20:35:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcolson1590](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mcolson1590](https://forum.inductiveautomation.com/u/mcolson1590)\
**Post date:** [February 9, 2022, 8:35pm UTC](https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948/1 "2022-02-09T20:35:09Z")

</div>

I have Ignition 7.9.16 running on Windows 10 IOT. One of my instances which was working now won’t load. The Webserver shows as started but the Gateway is continuously loading. I have many “Uncaught exception during getContectState()”. Has anyone seen an issue like this before or have any suggestions? Any help would be appreciated.

[wrapper.log](https://forum.inductiveautomation.com/uploads/short-url/nLqAMC0pzcIvQu07qiLN2mICOHw.log) (81.3 KB)

STATUS | wrapper | 2022/02/09 15:25:56 | → Wrapper Started as Service  
STATUS | wrapper | 2022/02/09 15:25:57 | Java Service Wrapper Standard Edition 64-bit 3.5.35  
STATUS | wrapper | 2022/02/09 15:25:57 | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved.  
STATUS | wrapper | 2022/02/09 15:25:57 | [http://wrapper.tanukisoftware.com](http://wrapper.tanukisoftware.com)  
STATUS | wrapper | 2022/02/09 15:25:57 | Licensed to Inductive Automation for Inductive Automation  
STATUS | wrapper | 2022/02/09 15:25:57 |  
STATUS | wrapper | 2022/02/09 15:25:58 | Launching a JVM…  
INFO | jvm 1 | 2022/02/09 15:25:59 | WrapperManager: Initializing…  
INFO | jvm 1 | 2022/02/09 15:26:01 | 15:26:01,354 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [data\logback.xml] at [file:/C:/Program%20Files/Inductive%20Automation/Ignition/data/logback.xml]  
INFO | jvm 1 | 2022/02/09 15:26:01 | 15:26:01,668 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]  
INFO | jvm 1 | 2022/02/09 15:26:01 | 15:26:01,690 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [SysoutAppender]  
INFO | jvm 1 | 2022/02/09 15:26:01 | 15:26:01,723 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property  
INFO | jvm 1 | 2022/02/09 15:26:02 | 15:26:01,908 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [com.inductiveautomation.logging.SQLiteAppender]  
INFO | jvm 1 | 2022/02/09 15:26:02 | 15:26:01,939 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DB]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,328 |-INFO in ch.qos.logback.core.db.DataSourceConnectionSource@24eab104 - Driver name=SQLite JDBC  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,330 |-INFO in ch.qos.logback.core.db.DataSourceConnectionSource@24eab104 - Driver version=3.23.1  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,330 |-INFO in ch.qos.logback.core.db.DataSourceConnectionSource@24eab104 - supportsGetGeneratedKeys=true  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,392 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,405 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [SysoutAsync]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,406 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SysoutAppender] to ch.qos.logback.classic.AsyncAppender[SysoutAsync]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,406 |-INFO in ch.qos.logback.classic.AsyncAppender[SysoutAsync] - Attaching appender named [SysoutAppender] to AsyncAppender.  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,409 |-INFO in ch.qos.logback.classic.AsyncAppender[SysoutAsync] - Setting discardingThreshold to 51  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,412 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.classic.AsyncAppender]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,413 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [DBAsync]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,414 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DB] to ch.qos.logback.classic.AsyncAppender[DBAsync]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,414 |-INFO in ch.qos.logback.classic.AsyncAppender[DBAsync] - Attaching appender named [DB] to AsyncAppender.  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,414 |-INFO in ch.qos.logback.classic.AsyncAppender[DBAsync] - Setting discardingThreshold to 51  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,425 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,426 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [SysoutAsync] to Logger[ROOT]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,429 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [DBAsync] to Logger[ROOT]  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,430 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.  
INFO | jvm 1 | 2022/02/09 15:26:04 | 15:26:04,437 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@56d3f206 - Registering current configuration as safe fallback point  
INFO | jvm 1 | 2022/02/09 15:26:04 | I [o.e.j.u.log] [21:26:04]: Logging initialized @5653ms to org.eclipse.jetty.util.log.Slf4jLog  
INFO | jvm 1 | 2022/02/09 15:26:05 | [Catapult] [1644441965130]: Uncaught exception during getContextState():  
INFO | jvm 1 | 2022/02/09 15:26:05 | java.lang.NullPointerException  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.Catapult.getSRContext(Catapult.java:208)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.Catapult.access$800(Catapult.java:56)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.Catapult$CatapultRequestReceiverImpl.getContextState(Catapult.java:294)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.Catapult$CatapultRequestReceiverImpl.requestReceieved(Catapult.java:731)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.CatapultRequestServer.handleRequest(CatapultRequestServer.java:60)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.CatapultRequestServer.access$100(CatapultRequestServer.java:27)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at com.inductiveautomation.catapult.CatapultRequestServer$RequestFileMonitor$2.run(CatapultRequestServer.java:118)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:05 | at java.lang.Thread.run(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:05 | I [Jetpad] [21:26:05]: Existing keystore found at C:\Program Files\Inductive Automation\Ignition\webserver\ssl.key  
INFO | jvm 1 | 2022/02/09 15:26:06 | I [o.e.j.s.Server] [21:26:06]: jetty-9.4.24.v20191120; built: 2019-11-20T21:37:49.771Z; git: 363d5f2df3a8a28de40604320230664b9c793c16; jvm 1.8.0\_241-b07  
INFO | jvm 1 | 2022/02/09 15:26:08 | I [o.e.j.w.StandardDescriptorProcessor] [21:26:08]: NO JSP Support for /main, did not find org.apache.jasper.servlet.JspServlet  
INFO | jvm 1 | 2022/02/09 15:26:08 | I [o.e.j.s.session] [21:26:08]: DefaultSessionIdManager workerName=node0  
INFO | jvm 1 | 2022/02/09 15:26:08 | I [o.e.j.s.session] [21:26:08]: No SessionScavenger set, using defaults  
INFO | jvm 1 | 2022/02/09 15:26:09 | I [o.e.j.s.session] [21:26:08]: node0 Scavenging every 600000ms  
INFO | jvm 1 | 2022/02/09 15:26:09 | I [o.e.j.u.TypeUtil] [21:26:09]: JVM Runtime does not support Modules  
INFO | jvm 1 | 2022/02/09 15:26:09 | W [o.e.j.w.WebAppContext] [21:26:09]: Failed startup of context o.e.j.w.WebAppContext@6ce0ce08{Ignition,/main,file:///C:/Program%20Files/Inductive%20Automation/Ignition/webserver/webapps/main/,UNAVAILABLE}  
INFO | jvm 1 | 2022/02/09 15:26:09 | javax.servlet.ServletException: Unable to start up context. Context temp folder “temp” does not exist.  
INFO | jvm 1 | 2022/02/09 15:26:09 | at com.inductiveautomation.ignition.gateway.bootstrap.SRFilter.init(SRFilter.java:50)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:314)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:134)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:751)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:360)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1445)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1409)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:822)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:275)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:100)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.server.Server.start(Server.java:407)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:110)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:100)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.server.Server.doStart(Server.java:371)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at com.inductiveautomation.catapult.Jetpad.start(Jetpad.java:414)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at com.inductiveautomation.catapult.Catapult.start(Catapult.java:138)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at com.inductiveautomation.catapult.Catapult.main(Catapult.java:63)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at java.lang.reflect.Method.invoke(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:349)  
INFO | jvm 1 | 2022/02/09 15:26:09 | at java.lang.Thread.run(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:09 | I [o.e.j.s.AbstractConnector] [21:26:09]: Started ServerConnector@4ed91a61{HTTP/1.1,[http/1.1]}{0.0.0.0:8088}  
INFO | jvm 1 | 2022/02/09 15:26:10 | [Catapult] [1644441970845]: Uncaught exception during getContextState():  
INFO | jvm 1 | 2022/02/09 15:26:10 | java.lang.NullPointerException  
INFO | jvm 1 | 2022/02/09 15:26:10 | at com.inductiveautomation.catapult.Catapult$CatapultRequestReceiverImpl.getContextState(Catapult.java:296)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at com.inductiveautomation.catapult.Catapult$CatapultRequestReceiverImpl.requestReceieved(Catapult.java:731)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at com.inductiveautomation.catapult.CatapultRequestServer.handleRequest(CatapultRequestServer.java:60)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at com.inductiveautomation.catapult.CatapultRequestServer.access$100(CatapultRequestServer.java:27)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at com.inductiveautomation.catapult.CatapultRequestServer$RequestFileMonitor$2.run(CatapultRequestServer.java:118)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:10 | at java.lang.Thread.run(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:11 | I [o.e.j.s.AbstractConnector] [21:26:11]: Started ServerConnector@416d300e{SSL,[ssl, http/1.1]}{0.0.0.0:8043}  
INFO | jvm 1 | 2022/02/09 15:26:11 | I [o.e.j.s.AbstractConnector] [21:26:11]: Started ServerConnector@40e01a93{SSL,[ssl, http/1.1]}{0.0.0.0:8060}  
INFO | jvm 1 | 2022/02/09 15:26:11 | I [o.e.j.s.Server] [21:26:11]: Started @12789ms  
INFO | jvm 1 | 2022/02/09 15:26:11 | [Catapult] [1644441971841]: Uncaught exception during getContextState():  
INFO | jvm 1 | 2022/02/09 15:26:11 | java.lang.NullPointerException  
INFO | jvm 1 | 2022/02/09 15:26:11 | at com.inductiveautomation.catapult.Catapult$CatapultRequestReceiverImpl.getContextState(Catapult.java:296)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at com.inductiveautomation.catapult.Catapult$CatapultRequestReceiverImpl.requestReceieved(Catapult.java:731)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at com.inductiveautomation.catapult.CatapultRequestServer.handleRequest(CatapultRequestServer.java:60)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at com.inductiveautomation.catapult.CatapultRequestServer.access$100(CatapultRequestServer.java:27)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at com.inductiveautomation.catapult.CatapultRequestServer$RequestFileMonitor$2.run(CatapultRequestServer.java:118)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
INFO | jvm 1 | 2022/02/09 15:26:11 | at java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [February 9, 2022, 9:03pm UTC](https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948/2 "2022-02-09T21:03:13Z")

</div>

If you are unable to start your Gateway you may want to get into contact with Inductive Automation [Support](https://inductiveautomation.com/support/home/).

Check your Ignition install directory. On a standard Windows install that would be located in C:/Program Files/Inductive Automation/Ignition. Within that Ignition directory you should check to see if the “temp” folder can be read/opened.

For example this is what my temp folder looks like:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/484c9d4363397039e62715626d5f20d496b342bf.png)

---

<div class="post-metadata">

**Author:** ![mcolson1590](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mcolson1590](https://forum.inductiveautomation.com/u/mcolson1590)\
**Post date:** [February 9, 2022, 9:23pm UTC](https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948/3 "2022-02-09T21:23:26Z")

</div>

well, that folder appears to be missing? I may be needing to reinstall

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [February 9, 2022, 11:20pm UTC](https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948/4 "2022-02-09T23:20:58Z")

</div>

Thanks for confirming. I assumed it was missing given the error in the stack trace. Would you mind sending a screenshot of all of the files in your Ignition directory?

If you have Gateway backups then you could consider reinstalling.

Did any major stoppages occur on the Server that hosts the Ignition Gateway? For example, a power outage.

Potentially, installing Ignition on a fresh server and copying a fresh “temp” folder into this directory could help. I would recommend getting in contact with our Support Department for an issue like this as we likely need to gather more information.

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [February 9, 2022, 11:44pm UTC](https://forum.inductiveautomation.com/t/webserver-started-gateway-continuously-loading/55948/5 "2022-02-09T23:44:05Z")

</div>

Better yet:

You can download the ZIP Installer for 7.9.16 on our website here: [Archived Ignition Releases | Inductive Automation](https://inductiveautomation.com/downloads/archive/7.9.16)

Within the ZIP Installer is a clean “temp” folder. You could try copying that into your broken Ignition Directory.
