[SNMP4J] AgentPro warning: Object ${o.name} not found
Frank Fock
fock at agentpp.com
Tue Jun 24 07:59:36 CEST 2008
Hi Olivier,
Are there any MIB objects defined in the XX-MIB?
Does it compile with full syntax check enabled?
Is it a SMIv2 MIB (or SMIv1)?
May be checking the MIB repository by reselecting
it from File->Set Repository could help too.
Also it would be helpful to know what version
on which platform and JDK you are using.
Best regards,
Frank
olivier rivat wrote:
> Hi,
>
> I am trying to use Agentpro to generate SNMP4J files.
> Unfortunately the java file generated corresponding to XXMib is a
> merely empty skeleton.
>
> Example:
>
> public void registerMOs(MOServer server, OctetString context)
> throws DuplicateRegistrationException
> {
> // Scalar Objects
> //--AgentGen BEGIN=_registerMOs
> //--AgentGen END
> }
>
> I have noticed during the project generation that the log file contain some
> warnings, which seems
> to relate to the pb mentioned above. Unfortunatelly I haven't haven't found
> yet any pointer about
> AgentPro warning message and hows to fix it.
>
> Regards,
>
> Olivier
>
> +++++++ (Log file extract)+++++++++++++++
>
> Using OUTPUT filename: ..\snmp4j\src\SnmpFrameworkMib.java
> 2008-06-23 22:03:14:281 WARN Generator Input directory not set for
> filename SnmpFrameworkMib.java
> 2008-06-23 22:03:14:375 WARN Generator Object ${o.name} not found,
> ignoring it
> 2008-06-23 22:03:14:375 DEBUG Generator Generating code for context
> 'XXMib': XX-MIB.${o.name}
> _______________________________________________
> 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 SNMP4J
mailing list