I modified the SampleAgent code to call the agent shutdown() method after testing. The SampleAgentConfig.properties file then has binary data in it. When I run the SampleAgent again I get this exception:

Exception in thread "main" java.lang.IllegalArgumentException: Malformed \uxxxx encoding.
    at java.util.Properties.loadConvert(Properties.java:568)
    at java.util.Properties.load0(Properties.java:390)
    at java.util.Properties.load(Properties.java:341)
    at com.yumecorp.snmpmon.sample.SampleAgent.<init>(SampleAgent.java:151)
    at com.yumecorp.snmpmon.sample.SampleAgent.main(SampleAgent.java:475)

I don't think I need persistence right now. How do I disable it?

Thanks,
Matt.

_______________________________________________
SNMP4J mailing list
[email protected]
https://oosnmp.net/mailman/listinfo/snmp4j

Reply via email to