Knowledge Base
The Inductive Automation Knowledge Base provides support solutions, error messages, bugs and troubleshooting guides. To begin either search for a keyword or enter in an article id. To view all articles click on the View All link to the left.
Restoring a Gateway backup between Linux and Windows (pre-7.3.2)
Problem
A Gateway Backup cannot be restored directly between Linux and Windows on versions older than 7.3.2.
If you try to restore from one of the older versions, the restore will work but when you try to start the service you will see the following error:
If you try to restore from one of the older versions, the restore will work but when you try to start the service you will see the following error:
WrapperSimpleApp Error: Encountered an error running main:
INFO | jvm 1 | 2011/12/15 20:10:48 | WrapperSimpleApp Error: java.lang.IllegalStateException: Could not find C:\Program Files\Inductive Automation\Ignition/data/gateway.xml or C:\Program Files\Inductive Automation\Ignition/data/gateway.xml_clean.
Resolution
Modify the Ignition Configuration File
To fix it you need to modify the ignition.conf file found in the install directory. Found in
C:\Program Files\Inductive
Automation\Ignition\data\ignition.conf on Windows and/var/lib/ignition/data/ignition.conf
on Linux.To start, while the Ignition service is stopped, open the ignition.conf file with a text editor. Then you need to change the following lines of text:
(Linux)
wrapper.java.classpath.1=/usr/local/bin/ignition/lib/wrapper.jar
wrapper.java.classpath.2=/usr/local/bin/ignition/lib/annotations-api.jar
wrapper.java.classpath.3=/usr/local/bin/ignition/lib/catalina.jar
wrapper.java.classpath.4=/usr/local/bin/ignition/lib/catapult.jar
wrapper.java.classpath.5=/usr/local/bin/ignition/lib/el-api.jar
wrapper.java.classpath.6=/usr/local/bin/ignition/lib/log4j-1.2.15-min.jar
wrapper.java.classpath.7=/usr/local/bin/ignition/lib/servlet-api.jar
wrapper.java.classpath.8=/usr/local/bin/ignition/lib/slf4j-api-1.5.3.jar
wrapper.java.classpath.9=/usr/local/bin/ignition/lib/slf4j-log4j12-1.5.3.jar
wrapper.java.classpath.10=/usr/local/bin/ignition/lib/tomcat-coyote.jar
wrapper.java.classpath.11=/usr/local/bin/ignition/lib/tomcat-juli.jar
wrapper.java.classpath.12=/usr/local/bin/ignition/lib/mail.jar
wrapper.java.library.path.1=/usr/local/bin/ignition/lib
wrapper.java.additional.6=-Ddata.dir=/var/lib/ignition/data
wrapper.logfile=/var/log/ignition/wrapper.log
to their equivalents and then save the file.
(Windows)
wrapper.java.classpath.1=lib/wrapper.jar
wrapper.java.classpath.2=lib/annotations-api.jar
wrapper.java.classpath.3=lib/catalina.jar
wrapper.java.classpath.4=lib/catapult.jar
wrapper.java.classpath.5=lib/el-api.jar
wrapper.java.classpath.6=lib/log4j-1.2.15-min.jar
wrapper.java.classpath.7=lib/servlet-api.jar
wrapper.java.classpath.8=lib/slf4j-api-1.5.3.jar
wrapper.java.classpath.9=lib/slf4j-log4j12-1.5.3.jar
wrapper.java.classpath.10=lib/tomcat-coyote.jar
wrapper.java.classpath.11=lib/tomcat-juli.jar
wrapper.java.classpath.12=lib/mail.jar
wrapper.java.library.path.1=lib
wrapper.java.additional.6=-Ddata.dir=data
wrapper.logfile=logs/wrapper.log
To go from Windows to Linux, replace the same lines with the other entries.
Article ID: 136
Type of Document: KB Article
Created: Jan 11, 2012
Last Modified: Jan 11, 2012
Type of Document: KB Article
Created: Jan 11, 2012
Last Modified: Jan 11, 2012