Hi all,
i did a fresh debian install and then a fresh nav install, configured
everything like suggested in /usr/share/doc/nav/README.Debian everything was
smooth but the installation of the java-jdk that i had to add by hand.
Then i added 5 or 6 HP Procurve machines to nav via Edit database and started
to see this in: /var/log/nav/getDeviceDatagetDeviceData-stderr.log :
-----
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
Caused by: java.lang.ClassNotFoundException:
java.util.concurrent.ConcurrentHashMap not found in
PluginMonitorTask$DynamicURLClassLoader{urls=[file:/usr/lib/nav/java/getDeviceData/data-plugins/Netbox.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/Mem.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/Module.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/Gwport.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/Device.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/ModuleMon.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/Swport.jar,file:/usr/lib/nav/java/getDeviceData/data-plugins/Arp.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoGw.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/StaticRoutes.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/DNSCheck.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/DeviceMem.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/3Com.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/MibIISw.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoSwCL3addon.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoSwIOSaddon.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoSwCAT.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoSwIOS.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/HP.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/ARPLogger.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/GetVlanFromInterface.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/Typeoid.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/Server.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoSw1900.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoModule.jar,file:/usr/lib/nav/java/getDeviceData/device-plugins/CiscoSwMenu.jar],
parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:getDeviceData.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[file:/usr/lib/nav/java/ConfigParser.jar,file:/usr/lib/nav/java/Database.jar,file:/usr/lib/nav/java/postgresql.jar,file:/usr/lib/nav/java/NetboxInfo.jar,file:/usr/lib/nav/java/SimpleSnmp.jar,file:/usr/lib/nav/java/Event.jar,file:/usr/lib/nav/java/libsnmp-1.4.jar,file:/usr/lib/nav/java/Util.jar,file:/usr/lib/nav/java/Logger.jar],
parent=null}}}
at java.net.URLClassLoader.findClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.ClassLoader.loadClass(libgcj.so.70)
at java.lang.Class.forName(libgcj.so.70)
at java.lang.Class.initializeClass(libgcj.so.70)
...3 more
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
java.lang.NoClassDefFoundError:
no.ntnu.nav.getDeviceData.dataplugins.Arp.ArpHandler
at java.lang.Class.initializeClass(libgcj.so.70)
at java.lang.Class.newInstance(libgcj.so.70)
at QueryNetbox.getDataContainers(QueryNetbox.java:929)
at QueryNetbox.run(QueryNetbox.java:766)
-----
any advice?
Thanks in advance, Marco Barbieri.
--
Marco Barbieri - Ce.S.I.A. - Rete e Fonia di Ateneo - Sistemi - 059-2058003