# Gateway Start forever waiting for ProjectManager

**URL:** <https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387>\
**Category:** Ignition Early Access\
**Created:** [August 13, 2019, 4:06am UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387 "2019-08-13T04:06:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirsten.chambers](https://avatars.discourse-cdn.com/v4/letter/k/48db29/32.png) [@kirsten.chambers](https://forum.inductiveautomation.com/u/kirsten.chambers)\
**Post date:** [August 13, 2019, 4:06am UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/1 "2019-08-13T04:06:01Z")

</div>

Hi all,

After a gateway restart, I seem to be stuck in an eternal twilight (2+ hours) wherein the gateway starting seems to be blocked by the ProjectManager failing to start. The logs show a huge stream of the message:

`ProjectManager not yet running, rescheduling for +2 seconds`

I’ve delved into the logs but I don’t know enough the diagnose if this is the issue or just a symptom, much less how to potentially fix it. I’ve tried stopping and starting multiple times to no avail.

Since I can’t upload files as a new user, there’s a pastebin of the logs from a fresh re-start here: [https://pastebin.com/cUdqQSce](https://pastebin.com/cUdqQSce)

Any help is appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 13, 2019, 12:14pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/2 "2019-08-13T12:14:31Z")

</div>

Hmm. Might be related to one of these errors:

```auto
INFO | jvm 1 | 2019/08/12 23:03:02 | E [t.e.a.history] [04:03:02]: Error storing tag history data store-forward-name=DB
INFO | jvm 1 | 2019/08/12 23:03:02 | java.lang.IllegalArgumentException: Specified historical sink 'DB' does not exist.
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.history.HistoryManagerImpl.storeHistory(HistoryManagerImpl.java:166)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.gateway.tags.history.actor.HistoryActorFactory$DelayedEvaluationContainer.process(HistoryActorFactory.java:887)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.gateway.tags.history.actor.HistoryActorFactory$DelayedEvaluationContainer.run(HistoryActorFactory.java:848)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.FutureTask.runAndReset(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.lang.Thread.run(Unknown Source)

```

or

```auto
INFO | jvm 1 | 2019/08/12 23:03:02 | E [C.BasicExecutionEngine] [04:03:02]: One-shot task com.inductiveautomation.ignition.gateway.IgnitionGateway$$Lambda$278/0x000000010038f040@50864d7e threw uncaught exception. 
INFO | jvm 1 | 2019/08/12 23:03:02 | java.lang.AbstractMethodError: Receiver class com.mysql.jdbc.Connection does not define or inherit an implementation of the resolved method abstract getSchema()Ljava/lang/String; of interface java.sql.Connection.
INFO | jvm 1 | 2019/08/12 23:03:02 | at org.apache.commons.dbcp2.DelegatingConnection.getSchema(DelegatingConnection.java:941)
INFO | jvm 1 | 2019/08/12 23:03:02 | at org.apache.commons.dbcp2.DelegatingConnection.getSchema(DelegatingConnection.java:941)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.datasource.SRConnectionWrapper.getSchema(SRConnectionWrapper.java:546)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.db.schema.DBTableSchema.refreshTableState(DBTableSchema.java:187)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.db.schema.DBTableSchema.verifyAndUpdate(DBTableSchema.java:87)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.journal.JournalTables$EventTable.verifyTable(JournalTables.java:66)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.journal.AlarmJournal.verifyTables(AlarmJournal.java:161)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.journal.AlarmJournal.tryInit(AlarmJournal.java:141)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.journal.AlarmJournal.startup(AlarmJournal.java:121)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.journal.AlarmJournalManager.createJournal(AlarmJournalManager.java:129)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.journal.AlarmJournalManager.startup(AlarmJournalManager.java:112)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.alarming.AlarmManagerImpl.startup(AlarmManagerImpl.java:132)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:1068)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:273)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:664)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:602)
INFO | jvm 1 | 2019/08/12 23:03:02 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:518)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
INFO | jvm 1 | 2019/08/12 23:03:02 | at java.base/java.lang.Thread.run(Unknown Source)

```

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 13, 2019, 12:17pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/3 "2019-08-13T12:17:00Z")

</div>

I think you might have a version of the MySQL JDBC driver installed that is too old to run on this version of Java.

---

<div class="post-metadata">

**Author:** ![Chris\_Cottrill](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Chris\_Cottrill](https://forum.inductiveautomation.com/u/Chris_Cottrill)\
**Post date:** [February 19, 2022, 5:24pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/4 "2022-02-19T17:24:08Z")

</div>

I know this is very old, but I have the same problem and it is definitely the MSSQL JDBC driver preventing me from starting. How do you go about updating this driver without access to the gateway? Is there a solution for that?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 19, 2022, 5:26pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/5 "2022-02-19T17:26:31Z")

</div>

You need filesystem access to the gateway to delete the bad jar file. There is no way to use Ignition itself to fix it if Ignition won’t start.

---

<div class="post-metadata">

**Author:** ![Chris\_Cottrill](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Chris\_Cottrill](https://forum.inductiveautomation.com/u/Chris_Cottrill)\
**Post date:** [February 19, 2022, 5:28pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/6 "2022-02-19T17:28:04Z")

</div>

Thanks for the quick response. So if I delete the old jar files, replace with the correct one and rename it the same as what was there before, then restart the gateway it could solve the issue?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 19, 2022, 5:29pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/7 "2022-02-19T17:29:20Z")

</div>

I would just delete it. Then use the web interface to “upgrade” that driver.

---

<div class="post-metadata">

**Author:** ![Chris\_Cottrill](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Chris\_Cottrill](https://forum.inductiveautomation.com/u/Chris_Cottrill)\
**Post date:** [February 19, 2022, 5:29pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/8 "2022-02-19T17:29:31Z")

</div>

Ok I will try that then, thank you!

---

<div class="post-metadata">

**Author:** ![Chris\_Cottrill](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Chris\_Cottrill](https://forum.inductiveautomation.com/u/Chris_Cottrill)\
**Post date:** [February 19, 2022, 5:41pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/9 "2022-02-19T17:41:11Z")

</div>

Sorry but that would just be in the user-lib folder correct? I know there are temp files created elsewhere.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 19, 2022, 6:08pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/10 "2022-02-19T18:08:38Z")

</div>

Yes, user-lib/jdbc. Just the one jar.

---

<div class="post-metadata">

**Author:** ![Chris\_Cottrill](https://avatars.discourse-cdn.com/v4/letter/c/e56c9b/32.png) [@Chris\_Cottrill](https://forum.inductiveautomation.com/u/Chris_Cottrill)\
**Post date:** [February 19, 2022, 6:51pm UTC](https://forum.inductiveautomation.com/t/gateway-start-forever-waiting-for-projectmanager/27387/11 "2022-02-19T18:51:24Z")

</div>

Thank you very much, we are back up again. 🙂
