[MIB Explorer] Re: [SNMP4J] SnapshotAgent is causing a java.lang.ClassNotFoundException: com.agentpp.snmp.SerializableMIBInstance

Frank Fock fock at agentpp.com
Mon Apr 6 01:40:09 CEST 2009


Hi,

Licensed users of MIB Explorer Pro 2 may download and
use the SnapshotConv.jar program from
http://www.mibexplorer.com/SnapshotConv.jar
to run

java -jar SnapshotConv.jar [-h] <mibexplorer-snaphost-file>
<snmp4j-snapshot-file>

It converts MIB Explorer Pro snapshot files to SNMP4J
snapshot files.

Best regards,
Frank

dfm000h-snmp4j at yahoo.de wrote:
> Hello,
> 
> I want to use the SnapshotAgent and generated a Snapshot with the MibExlorer Pro. When I started the Agent a ClassNotFoundException is thrown as you can see below:
> 
> 789 [main] ERROR org.snmp4j.agent.test.SnapshotAgent  - Error while
> reading snapshot file
> 'test1.sf':com.agentpp.snmp.SerializableMIBInstance
> java.lang.ClassNotFoundException:
> com.agentpp.snmp.SerializableMIBInstance
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:247)
>     at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
>     at
> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
>     at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
>     at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
>     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>     at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
>     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
>     at
> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>     at
> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>     at
> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>     at
> org.snmp4j.agent.test.SnapshotAgent.registerManagedObjects(SnapshotAgent.java:247)
>     at org.snmp4j.agent.BaseAgent.registerSnmpMIBs(BaseAgent.java:222)
>     at org.snmp4j.agent.BaseAgent.init(BaseAgent.java:179)
>     at org.snmp4j.agent.test.SnapshotAgent.main(SnapshotAgent.java:359)
> 
> 
> Does anyone know where I can find those packages?
> 
> 
> With kind regards,
> Daniel
> 
> 
>       
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com



More information about the MIBExplorer mailing list