Hi,
Multiple instances of same agent(developed using our product) can be run in single JVM, binding to different ports and same IP or different virtual IP and same/different port. Please refer the help document
here for more details.
To troubleshoot your issue, follow the steps given below,
1) First run the
/sbin/ifconfig in case of linux or
ipconfig /all in case of windows and check the IP address you are trying to bind is available.
2) run
netstat -anp command to check the port availability. if port is free, start the agent with debug level 6, this can be configured in configuration file. Try to give a delay of ~4 seconds between each instance creation.
3) run
netstat -anp again after starting the agent, to check whether agent has successfully bound on it or not.
4) run ethreal/wireshark to capture SNMP packets coming into the agent running machine and check the host and port in the request packets.
5) check the logs for any requests.
Hope the information provided is helpful. Meanwhile could you explain your need/requirement for running multiple instances of same agent in single JVM.
Regards
Bharatha Selvan.