Hi
I am using AdventNet Simulation Toolkit 6.0 and facing problems while sending traps with a huge varbind (size 2Kb). I have started my virtual network with command line as follows:
./StartNetwork.sh -net <network name> -proto snmp -rmi &
I have installed the Simulation toolkit over a RHEL 6.1 Linux machine. While sending a trap with a large varbind having a large value (sysLocation having size as 2Kb), the network stops and following is the error displayed on the terminal:
Sending trap...
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException
java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
java.io.EOFException
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:209)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
at com.adventnet.simulator.remote.rmi.SimScrRmiIntfImpl_Stub.sendV1Trap(Unknown Source)
at com.adventnet.simulator.remote.rmi.SimScrRmiClient.sendV1Trap(SimScrRmiClient.java:1938)
at com.adventnet.simulator.client.SNMPv1TrapWith10Varbinds.sendingV1TrapWithVarbinds(SNMPv1TrapWith10Varbinds.java:113)
at com.adventnet.simulator.client.SNMPv1TrapWith10Varbinds.executeSnmpScript(SNMPv1TrapWith10Varbinds.java:84)
at com.adventnet.simulator.client.SNMPv1TrapWith10Varbinds.getObjectRefAndExecuteApiMethod(SNMPv1TrapWith10Varbinds.java:44)
at com.adventnet.simulator.client.SNMPv1TrapWith10Varbinds.main(SNMPv1TrapWith10Varbinds.java:331)
Caused by: java.io.EOFException
at java.io.DataInputStream.readByte(DataInputStream.java:250)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
... 7 more
Please help us in resolving the issue.
Thanks
Pankaj