Installation over linux

Hello!

Trying to install Ignition 7.3.4 over Scientific Linux and I got this:

[code]WARN | wrapper | 2012/02/20 17:11:09 | An encoding declaration is
missing from the top of configuration file:
WARN | wrapper | 2012/02/20 17:11:09 |
/usr/local/bin/ignition/wrapper-license.conf
WARN | wrapper | 2012/02/20 17:11:09 | trying the system encoding.
WARN | wrapper | 2012/02/20 17:25:40 | An encoding declaration is
missing from the top of configuration file:
WARN | wrapper | 2012/02/20 17:25:40 |
/usr/local/bin/ignition/wrapper-license.conf
WARN | wrapper | 2012/02/20 17:25:40 | trying the system encoding.
WARN | wrapper | 2012/02/20 17:26:42 | An encoding declaration is
missing from the top of configuration file:
WARN | wrapper | 2012/02/20 17:26:42 |
/usr/local/bin/ignition/wrapper-license.conf
WARN | wrapper | 2012/02/20 17:26:42 | trying the system encoding.
WARN | wrapper | 2012/02/21 08:15:29 | An encoding declaration is
missing from the top of configuration file:
WARN | wrapper | 2012/02/21 08:15:29 |
/usr/local/bin/ignition/wrapper-license.conf
WARN | wrapper | 2012/02/21 08:15:29 | trying the system encoding.
WARN | wrapper | 2012/02/21 08:16:03 | An encoding declaration is
missing from the top of configuration file:
WARN | wrapper | 2012/02/21 08:16:03 |
/usr/local/bin/ignition/wrapper-license.conf
WARN | wrapper | 2012/02/21 08:16:03 | trying the system encoding.

[/code]

How can I fix this problem?

I think the last time this problem came up (see: viewtopic.php?f=72&t=7046) the answer was to just ignore the warning messages.

Sadly that's still the state of things. I haven't looked into it further, but the encoding is certainly not missing from the top of the config file and everything still works despite that warning.

Does the gateway start? If not, then /var/log/ignition/wrapper.log is the place to check out.

Hello,

The service doesn’t start. The answer trying to start the service is:

te67# ./ignition start Starting Ignition Gateway... Waiting for Ignition Gateway.............................. WARNING: Ignition Gateway may have failed to start. te67#

Some ideas?

Hi,

The content of the wrapper is:

STATUS | wrapper | 2012/03/14 07:58:48 | --> Wrapper Started as Daemon STATUS | wrapper | 2012/03/14 07:58:48 | Java Service Wrapper Standard Edition 32-bit 3.5.4 STATUS | wrapper | 2012/03/14 07:58:48 | Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved. STATUS | wrapper | 2012/03/14 07:58:48 | http://wrapper.tanukisoftware.com STATUS | wrapper | 2012/03/14 07:58:48 | Licensed to Inductive Automation for Ignition Gateway STATUS | wrapper | 2012/03/14 07:58:48 | STATUS | wrapper | 2012/03/14 07:58:48 | Launching a JVM... INFO | jvm 1 | 2012/03/14 07:58:48 | WrapperManager: Initializing... INFO | jvm 1 | 2012/03/14 07:58:48 | WrapperSimpleApp Error: Class com.inductiveautomation.catapult.Catapult found but could not be initialized: java.lang.ClassFormatError: com.inductiveautomation.catapult.Catapult (unrecognized class file version) ERROR | wrapper | 2012/03/14 07:58:50 | JVM exited while loading the application. STATUS | wrapper | 2012/03/14 07:58:55 | Launching a JVM... INFO | jvm 2 | 2012/03/14 07:58:55 | WrapperManager: Initializing... INFO | jvm 2 | 2012/03/14 07:58:55 | WrapperSimpleApp Error: Class com.inductiveautomation.catapult.Catapult found but could not be initialized: java.lang.ClassFormatError: com.inductiveautomation.catapult.Catapult (unrecognized class file version) ERROR | wrapper | 2012/03/14 07:58:56 | JVM exited while loading the application. STATUS | wrapper | 2012/03/14 07:59:01 | Launching a JVM... INFO | jvm 3 | 2012/03/14 07:59:01 | WrapperManager: Initializing... INFO | jvm 3 | 2012/03/14 07:59:01 | WrapperSimpleApp Error: Class com.inductiveautomation.catapult.Catapult found but could not be initialized: java.lang.ClassFormatError: com.inductiveautomation.catapult.Catapult (unrecognized class file version) ERROR | wrapper | 2012/03/14 07:59:03 | JVM exited while loading the application. STATUS | wrapper | 2012/03/14 07:59:07 | Launching a JVM... INFO | jvm 4 | 2012/03/14 07:59:07 | WrapperManager: Initializing... INFO | jvm 4 | 2012/03/14 07:59:07 | WrapperSimpleApp Error: Class com.inductiveautomation.catapult.Catapult found but could not be initialized: java.lang.ClassFormatError: com.inductiveautomation.catapult.Catapult (unrecognized class file version) ERROR | wrapper | 2012/03/14 07:59:09 | JVM exited while loading the application. STATUS | wrapper | 2012/03/14 07:59:14 | Launching a JVM... INFO | jvm 5 | 2012/03/14 07:59:14 | WrapperManager: Initializing... INFO | jvm 5 | 2012/03/14 07:59:14 | WrapperSimpleApp Error: Class com.inductiveautomation.catapult.Catapult found but could not be initialized: java.lang.ClassFormatError: com.inductiveautomation.catapult.Catapult (unrecognized class file version) ERROR | wrapper | 2012/03/14 07:59:15 | JVM exited while loading the application. FATAL | wrapper | 2012/03/14 07:59:15 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up. FATAL | wrapper | 2012/03/14 07:59:15 | There may be a configuration problem: please check the logs. STATUS | wrapper | 2012/03/14 07:59:16 | <-- Wrapper Stopped

[quote=“SamJaimes”]

STATUS | wrapper | 2012/03/14 07:59:07 | Launching a JVM... INFO | jvm 4 | 2012/03/14 07:59:07 | WrapperManager: Initializing... INFO | jvm 4 | 2012/03/14 07:59:07 | WrapperSimpleApp Error: Class com.inductiveautomation.catapult.Catapult found but could not be initialized: java.lang.ClassFormatError: com.inductiveautomation.catapult.Catapult (unrecognized class file version) ERROR | wrapper | 2012/03/14 07:59:09 | JVM exited while loading the application.[/quote]

I’d say this is the problem…

Strange, I have never seen that error message before. Some more questions:
Was Ignition installed from the binary .run file, or unzipped from a zip file?
Which Linux distro are you using?
Which JVM/version are you using? (Sun Java 6, OpenJDK 6, etc)
Did you change the install location from /usr/local/bin/ignition? (if installing from the .run file)

My first thought would be to try uninstalling and installing again. If that still doesn’t work, it might be best to call in to IA support so we can do a Goto meeting and take a look at your box setup.

Hello,

The used distro is scientific linux
This computer has open jdk 4 and open jdk 6 installed
No, I didn’ change the install location

Sounds like Java 4 is the version on the path, not Java 6. You can modify ignition.conf to point to the Java 6 binary.

Yeah, the problem was because the Java 4. I did a java upgrade and voilà. All is ok

Thanks!