Hi,
I'm having a problem while loading the compiled file SNMPv2-CONF together with it's dependent file SNMPv2-SMI.
The error I'm getting is "Could not find the file in the SearchPath specified /export/home/../SNMPv2-CONF.cmi"
Both files are in the same directory. Although I have no problem running the uncompiled (mibOperations.setLoadFromCompiledMibs(false);) version. Not quite sure what is going wrong.
- this.mibOperations = new MibOperations();
- this.mibOperations.setLoadFromCompiledMibs(true);
- mibOperations.setMibPath(/export/home/../workspace/../mibs);
- //I tried both version. Both with the same result.
- mibOperations.loadMibModules("SNMPv2-SMI|SNMPv2-CONF");
- mibOperations.loadMibModule("SNMPv2-CONF");
This is the output of the directory after the run. It although creates the cmi and cds files...
SNMPv2-CONF.cds SNMPv2-CONF.cmi SNMPv2-CONF.mib SNMPv2-SMI.cds SNMPv2-SMI.cmi SNMPv2-SMI.mib