FAQs - CORBA API

  1. I use the CORBA support of the WebNMS API and the target object of this class. If some errors occur during CORBA communication or the operation, there is an exception generated, such as "CORBA COMM Failure." or an org.omg.CORBA.SystemException. How can I report normal SNMP error messages, such as "No such name error"?

  2. How do I use Visigenic Visibroker ORB with WebNMS CORBA API?

  3. Which IDL compiler is used to make those ORBs?

  4. What version of CORBA is supported/implemented by the WebNMS SNMP API?

1. I use the CORBA support of the WebNMS API and the target object of this class. If some errors occur during CORBA communication or the operation, there is an exception generated, such as "CORBA COMM Failure." or an org.omg.CORBA.SystemException. How can I report normal SNMP error messages, such as "No such name error"?

 

To get the Snmp error message we can use one of the following.

For example, the loadMibs(String fileName) in SnmpTarget of corba package catches exception when there is an error while loading of mibs. For few methods, such as snmpSet, and snmpSendTrap in SnmpTarget (for which the exceptions are thrown), you can get the snmp error messages. With the current API, it is not possible to get error messages, such as the Invalid OID Format on the client side.

Questions

 

2. How do I use Visigenic Visibroker ORB with WebNMS CORBA API?

Questions

The WebNMS SNMP CORBA API can be used with Visibroker. Following are the steps that should be followed.

  1. Start osagent.

  2. Start nameserv <name> where name is an identifier.

  3. After setting the PATH and CLASSPATH, start the CORBA server using the following command.

vbj-DSVCnameroot=<name> com.adventnet.snmp.corba.server

 

where name is the identifier used to start the nameserv.

  1. You can start the client application by using the following command.

vbj -DSVCnameroot=<name> corbaget host oid

 

where name is the identifier used to start the nameserv.

 

Questions

 

3. Which IDL compiler is used to make those ORBs?

 

We use Sun's idltojava 1.2 to generate our java files.

Questions

 

4. What version of CORBA is supported/implemented by the WebNMSSNMP API?

 

Our SNMP API conforms to the CORBA 2.0 specification. Interoperability, the key goal, was added in CORBA 2.0 specification based on Internet Inter ORB Protocol (IIOP). Also IIOP works across Internet and TCP/IP implementations. Various application server providers use IIOP and therefore they can be integrated with CORBA. The support of IIOP is JVM dependent. JDK 1.1 and higher are known to support IIOP.

Questions



Copyright © 2012, ZOHO Corp. All Rights Reserved.