It is currently Thu Jul 31, 2014 7:33 am




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
 [SOLVED] ignition on debian squeeze with sun-java6-jre 
Author Message
Cadet
Cadet

Joined: Tue May 01, 2012 1:27 am
Posts: 2
Post [SOLVED] ignition on debian squeeze with sun-java6-jre
- Installation using: ignition-7.4.2-linux-32-installer.run
- The installation didn't automaticall find my java installation, but it continued after manually entering /usr/bin/java when it asked for the location

Below is the output from ignition.sh console. There are some "SEVERE Errors".

Any ideas what's wrong?

The teststation uses Debian squeeze with debian security packages (a.o. libservlet 2.5)

Code:
user1@teststation:/usr/local/bin/ignition$ ./ignition.sh console
Running Ignition Gateway...
WARN   | wrapper  | An encoding declaration is missing from the top of configuration file:
WARN   | wrapper  |   /usr/local/bin/ignition/wrapper-license.conf
WARN   | wrapper  |   trying the system encoding.
wrapper  | --> Wrapper Started as Console
wrapper  | Java Service Wrapper Standard Edition 32-bit 3.5.4
wrapper  |   Copyright (C) 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
wrapper  |     http://wrapper.tanukisoftware.com
wrapper  |   Licensed to Inductive Automation for Ignition Gateway
wrapper  |
wrapper  | Launching a JVM...
jvm 1    | WrapperManager: Initializing...
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.Embedded start
jvm 1    | INFO: Starting tomcat server
jvm 1    | 1-mei-2012 11:25:03 org.apache.tomcat.util.digester.Digester startElement
jvm 1    | SEVERE: Begin event threw error
jvm 1    | java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    at java.lang.Class.newInstance(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
jvm 1    |    at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
jvm 1    |    at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1358)
jvm 1    |    at gnu.xml.stream.SAXParser.parse(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1663)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.execute(MbeansDescriptorsDigesterSource.java:232)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.loadDescriptors(MbeansDescriptorsDigesterSource.java:211)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:865)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:843)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findDescriptor(Registry.java:907)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:627)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:962)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:793)
jvm 1    |    at org.apache.catalina.core.StandardEngine.init(StandardEngine.java:308)
jvm 1    |    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:409)
jvm 1    |    at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
jvm 1    |    at com.inductiveautomation.catapult.CatapultBase.startTomcat(CatapultBase.java:206)
jvm 1    |    at com.inductiveautomation.catapult.Catapult.main(Catapult.java:74)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.10)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
jvm 1    |    at java.lang.Thread.run(libgcj.so.10)
jvm 1    | Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/bin/ignition/lib/wrapper.jar,file:/usr/local/bin/ignition/lib/annotations-api.jar,file:/usr/local/bin/ignition/lib/catalina.jar,file:/usr/local/bin/ignition/lib/catapult.jar,file:/usr/local/bin/ignition/lib/el-api.jar,file:/usr/local/bin/ignition/lib/log4j-1.2.15-min.jar,file:/usr/local/bin/ignition/lib/servlet-api.jar,file:/usr/local/bin/ignition/lib/slf4j-api-1.5.3.jar,file:/usr/local/bin/ignition/lib/slf4j-log4j12-1.5.3.jar,file:/usr/local/bin/ignition/lib/tomcat-coyote.jar,file:/usr/local/bin/ignition/lib/tomcat-juli.jar,file:/usr/local/bin/ignition/lib/mail.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
jvm 1    |    at java.net.URLClassLoader.findClass(libgcj.so.10)
jvm 1    |    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.VMClassLoader.defineClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.defineClass(libgcj.so.10)
jvm 1    |    at java.security.SecureClassLoader.defineClass(libgcj.so.10)
jvm 1    |    at java.net.URLClassLoader.findClass(libgcj.so.10)
jvm 1    |    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.Class.forName(libgcj.so.10)
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    ...23 more
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.core.StandardEngine init
jvm 1    | INFO: Error registering
jvm 1    | java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    at java.lang.Class.newInstance(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:206)
jvm 1    |    at org.apache.tomcat.util.digester.Rule.begin(Rule.java:153)
jvm 1    |    at org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1358)
jvm 1    |    at gnu.xml.stream.SAXParser.parse(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1663)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.execute(MbeansDescriptorsDigesterSource.java:232)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsDigesterSource.loadDescriptors(MbeansDescriptorsDigesterSource.java:211)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:865)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:843)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findDescriptor(Registry.java:907)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:627)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:962)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:793)
jvm 1    |    at org.apache.catalina.core.StandardEngine.init(StandardEngine.java:308)
jvm 1    |    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:409)
jvm 1    |    at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
jvm 1    |    at com.inductiveautomation.catapult.CatapultBase.startTomcat(CatapultBase.java:206)
jvm 1    |    at com.inductiveautomation.catapult.Catapult.main(Catapult.java:74)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.10)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
jvm 1    |    at java.lang.Thread.run(libgcj.so.10)
jvm 1    | Caused by: java.lang.ClassNotFoundException: javax.management.modelmbean.ModelMBeanNotificationBroadcaster not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/local/bin/ignition/lib/wrapper.jar,file:/usr/local/bin/ignition/lib/annotations-api.jar,file:/usr/local/bin/ignition/lib/catalina.jar,file:/usr/local/bin/ignition/lib/catapult.jar,file:/usr/local/bin/ignition/lib/el-api.jar,file:/usr/local/bin/ignition/lib/log4j-1.2.15-min.jar,file:/usr/local/bin/ignition/lib/servlet-api.jar,file:/usr/local/bin/ignition/lib/slf4j-api-1.5.3.jar,file:/usr/local/bin/ignition/lib/slf4j-log4j12-1.5.3.jar,file:/usr/local/bin/ignition/lib/tomcat-coyote.jar,file:/usr/local/bin/ignition/lib/tomcat-juli.jar,file:/usr/local/bin/ignition/lib/mail.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
jvm 1    |    at java.net.URLClassLoader.findClass(libgcj.so.10)
jvm 1    |    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.VMClassLoader.defineClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.defineClass(libgcj.so.10)
jvm 1    |    at java.security.SecureClassLoader.defineClass(libgcj.so.10)
jvm 1    |    at java.net.URLClassLoader.findClass(libgcj.so.10)
jvm 1    |    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.ClassLoader.loadClass(libgcj.so.10)
jvm 1    |    at java.lang.Class.forName(libgcj.so.10)
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    ...23 more
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.core.StandardEngine init
jvm 1    | SEVERE: java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.core.StandardEngine start
jvm 1    | INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.core.StandardHost init
jvm 1    | SEVERE: Host registering failed!
jvm 1    | java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:292)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:84)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:77)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:865)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:650)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:962)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:793)
jvm 1    |    at org.apache.catalina.core.StandardHost.init(StandardHost.java:786)
jvm 1    |    at org.apache.catalina.core.StandardHost.start(StandardHost.java:670)
jvm 1    |    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
jvm 1    |    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
jvm 1    |    at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
jvm 1    |    at com.inductiveautomation.catapult.CatapultBase.startTomcat(CatapultBase.java:206)
jvm 1    |    at com.inductiveautomation.catapult.Catapult.main(Catapult.java:74)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.10)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
jvm 1    |    at java.lang.Thread.run(libgcj.so.10)
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.DigesterFactory register
jvm 1    | WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_0.xsd
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.DigesterFactory register
jvm 1    | WARNING: Could not get url for /javax/servlet/jsp/resources/jsp_2_1.xsd
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.DigesterFactory register
jvm 1    | WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.DigesterFactory register
jvm 1    | WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.DigesterFactory register
jvm 1    | WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.startup.DigesterFactory register
jvm 1    | WARNING: Could not get url for /javax/servlet/jsp/resources/web-jsptaglibrary_2_1.xsd
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.core.StandardContext resourcesStart
jvm 1    | SEVERE: Error starting static Resources
jvm 1    | java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:292)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:84)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:77)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:865)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:650)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:962)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:793)
jvm 1    |    at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3971)
jvm 1    |    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4126)
jvm 1    |    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
jvm 1    |    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
jvm 1    |    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
jvm 1    |    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
jvm 1    |    at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
jvm 1    |    at com.inductiveautomation.catapult.CatapultBase.startTomcat(CatapultBase.java:206)
jvm 1    |    at com.inductiveautomation.catapult.Catapult.main(Catapult.java:74)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.10)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
jvm 1    |    at java.lang.Thread.run(libgcj.so.10)
jvm 1    | 1-mei-2012 11:25:03 org.apache.catalina.core.StandardContext start
jvm 1    | SEVERE: Error in resourceStart()
jvm 1    | WrapperSimpleApp:
jvm 1    | WrapperSimpleApp Error: Encountered an error running main:
jvm 1    | java.lang.NoClassDefFoundError: org.apache.tomcat.util.modeler.ManagedBean
jvm 1    |    at java.lang.Class.initializeClass(libgcj.so.10)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.createManagedBean(MbeansDescriptorsIntrospectionSource.java:292)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.execute(MbeansDescriptorsIntrospectionSource.java:84)
jvm 1    |    at org.apache.tomcat.util.modeler.modules.MbeansDescriptorsIntrospectionSource.loadDescriptors(MbeansDescriptorsIntrospectionSource.java:77)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.load(Registry.java:753)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.loadDescriptors(Registry.java:865)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:650)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.findManagedBean(Registry.java:962)
jvm 1    |    at org.apache.tomcat.util.modeler.Registry.registerComponent(Registry.java:793)
jvm 1    |    at org.apache.catalina.core.StandardContext.registerJMX(StandardContext.java:5225)
jvm 1    |    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4291)
jvm 1    |    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
jvm 1    |    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
jvm 1    |    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
jvm 1    |    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
jvm 1    |    at org.apache.catalina.startup.Embedded.start(Embedded.java:825)
jvm 1    |    at com.inductiveautomation.catapult.CatapultBase.startTomcat(CatapultBase.java:206)
jvm 1    |    at com.inductiveautomation.catapult.Catapult.main(Catapult.java:74)
jvm 1    |    at java.lang.reflect.Method.invoke(libgcj.so.10)
jvm 1    |    at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272)
jvm 1    |    at java.lang.Thread.run(libgcj.so.10)
wrapper  | <-- Wrapper Stopped
user1@teststation:/usr/local/bin/ignition$


Last edited by janneman on Tue May 01, 2012 7:14 am, edited 1 time in total.

Tue May 01, 2012 1:34 am
Profile
Moderator
Moderator

Joined: Mon Oct 27, 2008 4:10 pm
Posts: 1984
Location: Folsom, CA
Post Re: Cannot start ignition on debian squeeze
Yikes, are you using OpenJDK or Oracle Java?

Can you try running the installer again and trying?

_________________
Kevin Herron
Software Developer
Inductive Automation


Tue May 01, 2012 6:23 am
Profile WWW
Cadet
Cadet

Joined: Tue May 01, 2012 1:27 am
Posts: 2
Post [SOLVED] Cannot start ignition on debian squeeze  Topic is solved
Dear Mr. Herron,

thank you very much for your reply.
I uninstalled ignition, installed openjdk and reinstalled ignition and now it is working!

- I am (was) using sun-java6-jre version 6.26-0squeeze1

- I installed openjdk-6-jre version 6b18-1.8.13-0+squeeze1

The installer did automatically detect this version.

Maybe it is a good idea to include this in the quickstart for linux: http://www.inductiveautomation.com/nl/s ... tart/linux


Tue May 01, 2012 7:12 am
Profile
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: