Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-4856

MSExchangeDetectorClient is too verbose on exceptions

    XMLWordPrintable

    Details

      Description

      The provisioning detector MSExchangeDetectorClient logs full exceptions if it gets a java.net.ConnectException: Connection refused when an attempt is made.

      2011-08-03 11:55:49,100 WARN [scanExecutor-4] MSExchangeDetectorClient: An error occurred while connecting to XXX.XXX.XXX.XXX:110
      java.net.ConnectException: Connection refused
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:529)
      at org.opennms.netmgt.provision.detector.msexchange.client.MSExchangeDetectorClient.connectAndGetResponse(MSExchangeDetectorClient.java:82)
      at org.opennms.netmgt.provision.detector.msexchange.client.MSExchangeDetectorClient.connect(MSExchangeDetectorClient.java:70)
      at org.opennms.netmgt.provision.support.BasicDetector.isServiceDetected(BasicDetector.java:101)
      at org.opennms.netmgt.provision.service.IpInterfaceScan$2.run(IpInterfaceScan.java:170)
      at org.opennms.core.tasks.SyncTask.run(SyncTask.java:92)
      at org.opennms.core.tasks.SyncTask$1.run(SyncTask.java:103)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              ronald.roskens@biworldwide.com Ron Roskens
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: