Can't start gateway

I’m having a problem right now that I can’t seem to work out of. I am getting the following error dialogs when starting Ignition:

Context Home: C:\PROGRA~1\INDUCT~1\Ignition\contexts\main
Webapp Home: C:\PROGRA~1\INDUCT~1\Ignition\tomcat\webapps\ctx0

The only thing I did this morning was restore the database from another machine. Since this was the first thing I did, I don’t know if Ignition was working before that point, and probably has nothing to do with it, but thought I should mention it anyway,

I’ve done the obvious: Restarted the services, restarted the PC, and then upgraded to the lastest release since I was planning on doing that anyway.

If someone might have a clue of what to try next, I’d appreciate it. Right now I’m down.

edit: Forgot to mention that I also cleared the Java cache and that the actual fault is “Context is faulted”.

I’m not quite sure I understand where you are seeing this dialog. Are you trying to start Ignition from the Gateway Control Utility and it is popping up? Are you seeing that text on a text area on the GCU? Is that just popping up when you start the service via windows?

Could you send your wrapper.log file(s) to support@inductiveautomation please? They’re in the installation directory, likely “C:\Program Files\Inductive Automation\Ignition” or similar.

I’m seeing it on the Gateway Control Utility page under gateway “main”. If I just click on the Ignition link (“http://localhost:8088/main/web”), all I get is a white screen with a scrolling progress bar with the text “Gateway Status: FAULTED”.

I’ll send the file right away. Thanks.

Could you try deleting the “cluster.xml” file? Leave “cluster.xml_clean” alone.

It’s likely in “C:\Program Files\Inductive Automation\Ignition\contexts\main”. I have a feeling that will you get back up and running. If it does fix it we’ll have to figure out how the cluster.xml file got messed up in the first place.

Nope, same thing. I rebooted the pc and restarted the service.

Sorry but can you send me the wrapper.log again? I have a feeling it’s got different information for me in it now.

FYI a more convenient way to send us log files is in the cards…

Thanks Kevin. I’ve sent the new log file. I’m sorry it took a while, but I had to get to the customer site and work directly on the production server since there were things I have to get done before Monday. If we can resolve this on Sunday, that would be great, but if that isn’t possible I can always go back into the plant instead.

Just want to post the resolution to this problem here so if anybody else has the same problem they can see.

The answer was deleting both the cluster.xml and .cluster.xml.bak files.

[quote]Just want to post the resolution to this problem here so if anybody else has the same problem they can see.

The answer was deleting both the cluster.xml and .cluster.xml.bak files.[/quote]
I had these same symptoms immediately after upgrading to 7.06. This was a test machine, so I’m not sure something wasn’t wrong before the upgrade. However, I believe all was well.

Deleting the above files didn’t work - the behavior was the same when trying to start Ignition. Following the same train of though I tried deleting gateway.xml and .gateway.xml.bak in the same directory and the gateway started.

Are there error messages in your wrapper.log file from before you removed the gateway.xml files complaining about being able to read those files?

There is an error that seems to be complaining about the file format. Some of what seems pertinent is below. Let me know if something further would help.

[quote]INFO | jvm 1 | 2010/03/31 17:35:45 | INFO [SRClassLoader ] [17:35:45,286]: SRClassLoader init
INFO | jvm 1 | 2010/03/31 17:35:47 | INFO [SRContext ] [17:35:47,719]: Ignition["/main", state=STOPPED] ContextState = STARTING
INFO | jvm 1 | 2010/03/31 17:35:47 | INFO [SRContext ] [17:35:47,739]: Starting Ignition 7.0.6 (b4769)
INFO | jvm 1 | 2010/03/31 17:35:47 | INFO [SRContext ] [17:35:47,739]: Reloading JDBC classloader.
INFO | jvm 1 | 2010/03/31 17:35:48 | INFO [SecureRandomProvider ] [17:35:47,979]: Creating SecureRandom object…
INFO | jvm 1 | 2010/03/31 17:35:48 | INFO [SecureRandomProvider ] [17:35:47,979]: Generating seed…
INFO | jvm 1 | 2010/03/31 17:35:53 | INFO [SecureRandomProvider ] [17:35:52,997]: … Seed Created.
INFO | jvm 1 | 2010/03/31 17:35:53 | INFO [SecureRandomProvider ] [17:35:52,997]: … SecureRandom Created.
INFO | jvm 1 | 2010/03/31 17:35:53 | ERROR [SRContext ] [17:35:53,077]: Error during context startup while initializing context properties.
INFO | jvm 1 | 2010/03/31 17:35:53 | java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException: Content is not allowed in prolog.
INFO | jvm 1 | 2010/03/31 17:35:53 | at java.util.XMLUtils.load(Unknown Source)
INFO | jvm 1 | 2010/03/31 17:35:53 | at java.util.Properties.loadFromXML(Unknown Source)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.ignition.common.PersistentProperties.tryLoad(PersistentProperties.java:99)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.ignition.common.PersistentProperties.(PersistentProperties.java:72)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.ignition.common.PersistentProperties.(PersistentProperties.java:53)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.ignition.gateway.SRContext.initContextProperties(SRContext.java:913)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.ignition.gateway.SRContext.init(SRContext.java:322)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:719)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.ignition.gateway.bootstrap.SRFilter.init(SRFilter.java:72)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.catapult.CatapultBase.startTomcat(CatapultBase.java:203)
INFO | jvm 1 | 2010/03/31 17:35:53 | at com.inductiveautomation.catapult.Catapult.main(Catapult.java:82)
INFO | jvm 1 | 2010/03/31 17:35:53 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 1 | 2010/03/31 17:35:53 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2010/03/31 17:35:53 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 1 | 2010/03/31 17:35:53 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 1 | 2010/03/31 17:35:53 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:244)
INFO | jvm 1 | 2010/03/31 17:35:53 | at java.lang.Thread.run(Unknown Source)[/quote]

Yep - you were right, the gateway.xml file was corrupted. It appears that something we’re doing is sometimes corrupting those files on unexpected or forced shutdown. I’ve added a ticket to get this fixed.

I actually quarantined the files. If seeing them would help, let me know.

Yes it might - feel free to email them to support@inductiveautomation.com attn: carl

Ok Guys… I hate to bother you on this one… because I may have caused it… but I wanted to check before I uninstalled and restarted.

I am getting the same Can’t Start Gateway problems. I have followed this thread … deleted the files and still have the problem.

It all started right after I downloaded the Modbus Module and tried to install. I got a error Message on that install. Something about connection could not be found at 127.0.0.1.1000… so I tried to install the module again… with the same error. Once I refreshed the Module page… It showd Modbus Status as NEW … all the other Modules were at a Status of Running. So… I thougt maybe I needed to restart the gateway… so once I did that… thats when it all went south. I am almost sure that the Modbus thing is really unrelated… but just wanted to tell you what I was up too during that time.
So after many attemps… I thought… maybe it just be best if I upgraded to the latest version. Well… that didnt help either… so now I am back… asking for help from the masters. Carl, Colby or any others got any ideas?
Attached is my lattest error log. It appears the problem is with the internal database… missing a file or something…

Thanks
Tyler

Log session start time Mon Apr 05 13:14:47 EDT 2010

Time Level Message Category Thread
Apr 5, 2010 01:14:47 PM WARN Unable to clean temp dir: java.io.IOException: Unable to delete file: C:\WINDOWS\TEMP\ignition_main_tmp\xopc2193846989659594941.jar com.inductiveautomation.ignition.gateway.bootstrap.SRFilter Thread-10
Apr 5, 2010 01:14:47 PM INFO SRClassLoader init com.inductiveautomation.ignition.gateway.bootstrap.SRClassLoader Thread-10
Apr 5, 2010 01:14:52 PM INFO Ignition["/main", state=STOPPED] ContextState = STARTING com.inductiveautomation.ignition.gateway.SRContext Thread-10
Apr 5, 2010 01:14:52 PM INFO Starting Ignition 7.0.7 (b4829) com.inductiveautomation.ignition.gateway.SRContext Thread-10
Apr 5, 2010 01:14:52 PM INFO Reloading JDBC classloader. com.inductiveautomation.ignition.gateway.SRContext Thread-10
Apr 5, 2010 01:14:52 PM INFO Creating SecureRandom object… com.inductiveautomation.ignition.common.util.SecureRandomProvider Thread-10
Apr 5, 2010 01:14:52 PM INFO Generating seed… com.inductiveautomation.ignition.common.util.SecureRandomProvider Thread-10
Apr 5, 2010 01:14:52 PM INFO … Seed Created. com.inductiveautomation.ignition.common.util.SecureRandomProvider Thread-10
Apr 5, 2010 01:14:52 PM INFO … SecureRandom Created. com.inductiveautomation.ignition.common.util.SecureRandomProvider Thread-10
Apr 5, 2010 01:14:52 PM INFO [SRContext] init: Wicket core library initializer org.apache.wicket.Application Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IActivePageBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO registered listener interface [RequestListenerInterface name=IActivePageBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface Thread-10
Apr 5, 2010 01:14:52 PM INFO [SRContext] init: Wicket extensions initializer org.apache.wicket.Application Thread-10
Apr 5, 2010 01:14:52 PM INFO ClusterState = CONNECTING com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:14:52 PM INFO [SRContext] Started Wicket version 1.4.5 in deployment mode org.apache.wicket.protocol.http.WebApplication Thread-10
Apr 5, 2010 01:14:52 PM INFO JGroups version: 2.6.3.GA org.jgroups.JChannel ExecEngine-thread-1
Apr 5, 2010 01:14:53 PM INFO ClusterState = JOINING com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:14:53 PM WARN Could not read license from HASP key. com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:14:56 PM INFO Starting up… com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:14:56 PM INFO Looking for existing internal database “settings”… com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:07 PM WARN … internal database “settings” corrupted, will re-create. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
java.sql.SQLException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@e236cb2c[file =C:\Program Files\Inductive Automation\Ignition\contexts\main\db\settings.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-04-05 17:15:06 heartbeat - read: -5266 ms.
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.dbExists(HSQLDBManager.java:308)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startupInternal(HSQLDBManager.java:220)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:136)
at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:122)
at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:583)
at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311)
at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497)
at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168)
at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.hsqldb.HsqlException: Database lock acquisition failure: lockFile: org.hsqldb.persist.LockFile@e236cb2c[file =C:\Program Files\Inductive Automation\Ignition\contexts\main\db\settings.lck, exists=true, locked=false, valid=false, ] method: checkHeartbeat read: 2010-04-05 17:15:06 heartbeat - read: -5266 ms.
at org.hsqldb.error.Error.error(Unknown Source)
at org.hsqldb.persist.LockFile.newLockFileLock(Unknown Source)
at org.hsqldb.persist.Logger.acquireLock(Unknown Source)
at org.hsqldb.persist.Logger.openPersistence(Unknown Source)
at org.hsqldb.Database.reopen(Unknown Source)
at org.hsqldb.Database.open(Unknown Source)
at org.hsqldb.DatabaseManager.getDatabase(Unknown Source)
at org.hsqldb.DatabaseManager.newSession(Unknown Source)
… 22 more
Apr 5, 2010 01:15:14 PM WARN Unable to clear faulted database. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
java.io.IOException: Unable to delete file: C:\PROGRA~1\INDUCT~1\Ignition\contexts\main\db\settings.app.log
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.forceClearDirectory(HSQLDBManager.java:429)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.backupFaultedAndClear(HSQLDBManager.java:205)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startupInternal(HSQLDBManager.java:230)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:136)
at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:122)
at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:583)
at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311)
at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497)
at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168)
at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Apr 5, 2010 01:15:18 PM WARN Unable to clear faulty database “internal database “settings””, disabling autobackups. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
java.io.IOException: Unable to delete file: C:\PROGRA~1\INDUCT~1\Ignition\contexts\main\db\settings.app.log
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.forceClearDirectory(HSQLDBManager.java:429)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.backupFaultedAndClear(HSQLDBManager.java:205)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:143)
at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:122)
at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:583)
at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311)
at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497)
at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168)
at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Apr 5, 2010 01:15:18 PM WARN Unable to restore from autobackups because none were found. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM ERROR Startup of internal database “settings” failed, autobackups disabled. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
java.io.IOException: Unable to delete file: C:\PROGRA~1\INDUCT~1\Ignition\contexts\main\db\settings.app.log
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.forceClearDirectory(HSQLDBManager.java:429)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.backupFaultedAndClear(HSQLDBManager.java:205)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startupInternal(HSQLDBManager.java:230)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:136)
at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:122)
at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:583)
at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311)
at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497)
at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168)
at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Apr 5, 2010 01:15:18 PM INFO DBManager shutting down… com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Deregistering JDBC driver: class org.hsqldb.jdbc.JDBCDriver com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO DBManager shut down in 0ms com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM WARN Shutting down cluster due to exception during startup. com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1
com.inductiveautomation.ignition.gateway.localdb.hsql.DBStartupException: Error loading internal database “settings”
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:188)
at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:122)
at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:583)
at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311)
at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497)
at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168)
at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Unable to delete file: C:\PROGRA~1\INDUCT~1\Ignition\contexts\main\db\settings.app.log
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.forceClearDirectory(HSQLDBManager.java:429)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.backupFaultedAndClear(HSQLDBManager.java:205)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startupInternal(HSQLDBManager.java:230)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:136)
… 14 more
Apr 5, 2010 01:15:18 PM INFO ClusterState = LEAVING com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Ignition["/main", state=STARTING] ContextState = STOPPING com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Ignition Gateway shutting down… com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO ModuleManager shutting down… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module fpmi… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module fpmi completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module help… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module help completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module fsql… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module fsql completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module opccom… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module opccom completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module xopc-drivers… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module xopc-drivers completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module modbus-driver… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module modbus-driver completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutting down module xopc… com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Shutdown of module xopc completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO ModuleManager shut down in 0ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO DBManager shutting down… com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO DBManager shut down in 0ms com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Ignition Gateway shut down in 0ms com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO ClusterState = DISCONNECTED com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM INFO Ignition["/main", state=STOPPING] ContextState = STOPPED com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1
Apr 5, 2010 01:15:18 PM ERROR Error during context startup. com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1
com.inductiveautomation.ignition.gateway.localdb.hsql.DBStartupException: Error loading internal database “settings”
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:188)
at com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl.setup(LocalDBManagerImpl.java:122)
at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:583)
at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311)
at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497)
at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168)
at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Unable to delete file: C:\PROGRA~1\INDUCT~1\Ignition\contexts\main\db\settings.app.log
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1390)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.forceClearDirectory(HSQLDBManager.java:429)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.backupFaultedAndClear(HSQLDBManager.java:205)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startupInternal(HSQLDBManager.java:230)
at com.inductiveautomation.ignition.gateway.localdb.hsql.HSQLDBManager.startup(HSQLDBManager.java:136)
… 14 more
Apr 5, 2010 01:15:18 PM INFO Ignition["/main", state=STOPPED] ContextState = FAULTED com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1

I’m not sure why your modbus module wasn’t installing, but it appears your internal settings database is stuck in a locked state, which is preventing the automatic restore-from-autobackup system from working.

What you can do is remove the internal database files anything at /contexts/main/db/settings*

and find the most recent auto-backup file in /contexts/main/db/autobackups

and extract that file into the db/ folder. If this seems complex to you, feel free to call in and we can walk you through it.

Sorry for the hassle.

Thanks Carl,

No… thats not too complex… I deleted those files (Had to stop the service first) then exported a backup copy of the database. Still will not start… but now there is a new error message.

Don’t worry about the hassel… I find this type of troublesooting helps me LEARN what to do or not to do in the future.

Apr 5, 2010 03:10:56 PM INFO SRClassLoader init com.inductiveautomation.ignition.gateway.bootstrap.SRClassLoader WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO Ignition["/main", state=STOPPED] ContextState = STARTING com.inductiveautomation.ignition.gateway.SRContext WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO Starting Ignition 7.0.7 (b4829) com.inductiveautomation.ignition.gateway.SRContext WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO Reloading JDBC classloader. com.inductiveautomation.ignition.gateway.SRContext WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO Creating SecureRandom object... com.inductiveautomation.ignition.common.util.SecureRandomProvider WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO Generating seed... com.inductiveautomation.ignition.common.util.SecureRandomProvider WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO ... Seed Created. com.inductiveautomation.ignition.common.util.SecureRandomProvider WrapperSimpleAppMain Apr 5, 2010 03:11:03 PM INFO ... SecureRandom Created. com.inductiveautomation.ignition.common.util.SecureRandomProvider WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO [SRContext] init: Wicket core library initializer org.apache.wicket.Application WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IFormSubmitListener, method=public abstract void org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=ILinkListener, method=public abstract void org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IOnChangeListener, method=public abstract void org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IRedirectListener, method=public abstract void org.apache.wicket.IRedirectListener.onRedirect()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IResourceListener, method=public abstract void org.apache.wicket.IResourceListener.onResourceRequested()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IActivePageBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO registered listener interface [RequestListenerInterface name=IActivePageBehaviorListener, method=public abstract void org.apache.wicket.behavior.IBehaviorListener.onRequest()] org.apache.wicket.RequestListenerInterface WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO [SRContext] init: Wicket extensions initializer org.apache.wicket.Application WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO [SRContext] Started Wicket version 1.4.5 in deployment mode org.apache.wicket.protocol.http.WebApplication WrapperSimpleAppMain Apr 5, 2010 03:11:04 PM INFO ClusterState = CONNECTING com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:04 PM INFO JGroups version: 2.6.3.GA org.jgroups.JChannel ExecEngine-thread-1 Apr 5, 2010 03:11:05 PM INFO ClusterState = JOINING com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:09 PM WARN Could not read license from HASP key. com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:14 PM INFO Starting up... com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:14 PM INFO Looking for existing internal database "settings"... com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:15 PM INFO open start HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:15 PM INFO open end HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:16 PM INFO ... found existing. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:16 PM INFO Checkpoint start HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:16 PM INFO DataFileCache.close(true) : start HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:16 PM INFO DataFileCache.close() : save data HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:16 PM INFO DataFileCache.close() : close HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:17 PM INFO open start HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:17 PM INFO open end HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:17 PM INFO Checkpoint end HSQLDB27730D6E28.org.hsqldb.persist.Logger ExecEngine-thread-1 Apr 5, 2010 03:11:17 PM INFO internal database "settings" started up successfully. com.inductiveautomation.ignition.gateway.localdb.LocalDBManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM WARN Shutting down cluster due to uncaught exception during startup. com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO ClusterState = LEAVING com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Ignition["/main", state=STARTING] ContextState = STOPPING com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Ignition Gateway shutting down... com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO ModuleManager shutting down... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module fpmi... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module fpmi completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module help... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module help completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module fsql... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module fsql completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module opccom... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module opccom completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module xopc-drivers... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module xopc-drivers completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module modbus-driver... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module modbus-driver completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down module xopc... com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutdown of module xopc completed in 0 ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO ModuleManager shut down in 0ms com.inductiveautomation.ignition.gateway.modules.ModuleManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down... com.inductiveautomation.ignition.gateway.sqltags.SQLTagsManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO OPCManager is shutting down... com.inductiveautomation.ignition.gateway.opc.OPCManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO OPCManager shut down in 0ms com.inductiveautomation.ignition.gateway.opc.OPCManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down... com.inductiveautomation.ignition.gateway.servlets.GatewaySessionManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO ProjectManager shutting down... com.inductiveautomation.ignition.gateway.project.ProjectManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down... com.inductiveautomation.ignition.gateway.alert.notification.AlertNotificationManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM INFO Shutting down... com.inductiveautomation.ignition.gateway.alert.storage.AlertStorageManagerImpl ExecEngine-thread-1 Apr 5, 2010 03:11:18 PM WARN Fault-shutdown threw additional uncaught exception. com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl ExecEngine-thread-1 java.lang.NullPointerException at com.inductiveautomation.ignition.gateway.alert.AlertStatusManagerImpl.shutdown(AlertStatusManagerImpl.java:72) at com.inductiveautomation.ignition.gateway.alert.AlertBusImpl.shutdown(AlertBusImpl.java:51) at com.inductiveautomation.ignition.gateway.SRContext.shutdownInternal(SRContext.java:789) at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.shutdown(ClusterManagerImpl.java:450) at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:355) at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497) at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168) at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Apr 5, 2010 03:11:18 PM ERROR Error during context startup. com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1 java.lang.NoClassDefFoundError: javax/mail/Authenticator at com.inductiveautomation.ignition.gateway.SRContext.startupInternal(SRContext.java:604) at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.startup(ClusterManagerImpl.java:311) at com.inductiveautomation.ignition.gateway.SRContext.asyncInit(SRContext.java:497) at com.inductiveautomation.ignition.gateway.SRContext.access$200(SRContext.java:168) at com.inductiveautomation.ignition.gateway.SRContext$2.run(SRContext.java:372) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: javax.mail.Authenticator at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more Apr 5, 2010 03:11:18 PM INFO Ignition["/main", state=STOPPING] ContextState = FAULTED com.inductiveautomation.ignition.gateway.SRContext ExecEngine-thread-1 Apr 5, 2010 03:13:22 PM INFO Ignition["/main", state=FAULTED] ContextState = STOPPING com.inductiveautomation.ignition.gateway.SRContext Thread-4 Apr 5, 2010 03:13:22 PM INFO Ignition Gateway shutting down... com.inductiveautomation.ignition.gateway.SRContext Thread-4 Apr 5, 2010 03:13:22 PM ERROR Error shutting down. com.inductiveautomation.ignition.gateway.SRContext Thread-4 java.lang.NullPointerException at com.inductiveautomation.ignition.gateway.alert.AlertStatusManagerImpl.shutdown(AlertStatusManagerImpl.java:72) at com.inductiveautomation.ignition.gateway.alert.AlertBusImpl.shutdown(AlertBusImpl.java:51) at com.inductiveautomation.ignition.gateway.SRContext.shutdownInternal(SRContext.java:789) at com.inductiveautomation.ignition.gateway.cluster.ClusterManagerImpl.shutdown(ClusterManagerImpl.java:450) at com.inductiveautomation.ignition.gateway.SRContext.shutdown(SRContext.java:1092) at com.inductiveautomation.ignition.gateway.SRContext.onDestroy(SRContext.java:1083) at org.apache.wicket.Application.internalDestroy(Application.java:956) at org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:529) at org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:179) at com.inductiveautomation.ignition.gateway.bootstrap.SRFilter.destroy(SRFilter.java:107) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.startup.Embedded.stop(Embedded.java:867) at com.inductiveautomation.catapult.CatapultBase.stopTomcat(CatapultBase.java:202) at com.inductiveautomation.catapult.Catapult.stopService(Catapult.java:100) at com.inductiveautomation.catapult.Catapult$1.run(Catapult.java:84) at java.lang.Thread.run(Unknown Source) Apr 5, 2010 03:13:22 PM INFO Ignition["/main", state=STOPPING] ContextState = STOPPED com.inductiveautomation.ignition.gateway.SRContext Thread-4 Apr 5, 2010 03:13:22 PM INFO Execution engine shutting down... com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine Thread-4 Apr 5, 2010 03:13:22 PM INFO Execution engine shut down in 0ms com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine Thread-4 Apr 5, 2010 03:13:22 PM INFO Stopped MySQL statement cancellation timer. com.inductiveautomation.ignition.gateway.SRContext Thread-4 Apr 5, 2010 03:13:22 PM WARN Unable to unregister JDBC drivers. com.inductiveautomation.ignition.gateway.SRContext Thread-4 java.lang.ClassNotFoundException: com.inductiveautomation.ignition.jdbchelper.JDBCHelper at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.inductiveautomation.ignition.gateway.SRContext.deregisterJDBCDrivers(SRContext.java:405) at com.inductiveautomation.ignition.gateway.SRContext.clearReferences(SRContext.java:889) at com.inductiveautomation.ignition.gateway.SRContext.shutdown(SRContext.java:1107) at com.inductiveautomation.ignition.gateway.SRContext.onDestroy(SRContext.java:1083) at org.apache.wicket.Application.internalDestroy(Application.java:956) at org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:529) at org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:179) at com.inductiveautomation.ignition.gateway.bootstrap.SRFilter.destroy(SRFilter.java:107) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.startup.Embedded.stop(Embedded.java:867) at com.inductiveautomation.catapult.CatapultBase.stopTomcat(CatapultBase.java:202) at com.inductiveautomation.catapult.Catapult.stopService(Catapult.java:100) at com.inductiveautomation.catapult.Catapult$1.run(Catapult.java:84) at java.lang.Thread.run(Unknown Source) Apr 5, 2010 03:13:22 PM ERROR Error destroying jgroups global thread group. com.inductiveautomation.ignition.gateway.SRContext Thread-4 java.lang.IllegalThreadStateException at java.lang.ThreadGroup.destroy(Unknown Source) at com.inductiveautomation.ignition.gateway.SRContext.clearReferences(SRContext.java:897) at com.inductiveautomation.ignition.gateway.SRContext.shutdown(SRContext.java:1107) at com.inductiveautomation.ignition.gateway.SRContext.onDestroy(SRContext.java:1083) at org.apache.wicket.Application.internalDestroy(Application.java:956) at org.apache.wicket.protocol.http.WebApplication.internalDestroy(WebApplication.java:529) at org.apache.wicket.protocol.http.WicketFilter.destroy(WicketFilter.java:179) at com.inductiveautomation.ignition.gateway.bootstrap.SRFilter.destroy(SRFilter.java:107) at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:332) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:3744) at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4513) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1098) at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:448) at org.apache.catalina.startup.Embedded.stop(Embedded.java:867) at com.inductiveautomation.catapult.CatapultBase.stopTomcat(CatapultBase.java:202) at com.inductiveautomation.catapult.Catapult.stopService(Catapult.java:100) at com.inductiveautomation.catapult.Catapult$1.run(Catapult.java:84) at java.lang.Thread.run(Unknown Source)


Are you running on Linux or Windows?

I am running Windows XP Pro Sevice Pk 3

Did you run the installer to upgrade or use some other method? Can you report what the top of your “ignition.conf” file says?