Hi ! I've found that some of my WMI requests always failed, and seem to be cause by a socket timeout:
Caused by: java.net.SocketTimeoutException at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:201) at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86) at org.jinterop.dcom.transport.JIComTransport.receive(JIComTransport.java:152) I've started to modify some ONMS code: - I added a 'mgr.setTimeout(30000);' in CheckWmi.java, but it didn't worked - So I dug deeper and found the setTimeout() did nothing ! - Moreover, in WmiClient.java the timeout is forced to 5 seconds. - I added 'm_Session.setGlobalSocketTimeout(25000);' in WmiClient.java and my requests are OK now. Some WMI requests take some time, so it would be very nice to have the 'timeout' parameters taken into account for a next release... Best regards, Ludovic. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel