I am facing following error in solution manager diagnostic agent
com.sap.smd.e2emai
[MAIJobObserver] ERROR occurred for metric collection 00000000000000000001[com.sap.smd.mai.model.collector.SAPHostControlWSCollector]. [EXCEPTION] com.sap.smd.mai.model.collector.CollectorException: com.sap.smd.mai.model.collector.CollectorException: [SAPHostControlPortTypeHandler.collect] Web Service execution failed. at com.sap.smd.mai.model.collector.SAPHostControlWSCollector.collect(SAPHostControlWSCollector.java:54) at com.sap.smd.mai.job.MetricJobRunner.run(MetricJobRunner.java:32) at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46) at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785) at java.lang.Thread.run(Thread.java:743) Caused by: com.sap.smd.mai.model.collector.CollectorException: [SAPHostControlPortTypeHandler.collect] Web Service execution failed. at com.sap.smd.mai.model.collector.saphostctrl.SAPHostControlPortTypeHandler.collect(SAPHostControlPortTypeHandler.java:38) at com.sap.smd.mai.model.collector.SAPHostControlWSCollector.collect(SAPHostControlWSCollector.java:45) ... 4 more Caused by: javax.xml.rpc.soap.SOAPFaultException: Generic error. Check the trace file /usr/sap/hostctrl/work/dev_sapdbctrl for more details. Increasing the trace level may provide further details. at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.buildFaultException(MimeHttpBinding.java:747) at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.processDocumentFault(MimeHttpBinding.java:870) at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1454) at com.sap.smd.agent.wsclients.saphostcontrol.SAPHostControlStub.getDatabaseStatus(SAPHostControlStub.java:992) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sap.smd.api.util.SynchronizedProxy$SyncHandler.invoke(SynchronizedProxy.java:32) at com.sap.smd.agent.facade.hostagent.HostAgentSyncProxy$SyncHandler.singleInvoke(HostAgentSyncProxy.java:144) at com.sap.smd.agent.facade.hostagent.HostAgentSyncProxy$SyncHandler.invoke(HostAgentSyncProxy.java:87) at com.sun.proxy.$Proxy13.getDatabaseStatus(Unknown Source) at com.sap.smd.mai.model.collector.saphostctrl.SAPHostControlPortTypeHandler.retrieveDBStatus(SAPHostControlPortTypeHandler.java:96) at com.sap.smd.mai.model.collector.saphostctrl.SAPHostControlPortTypeHandler.collect(SAPHostControlPortTypeHandler.java:32) ... 5 more
__________________________________
om.sap.smd.wily.hostagent.sapcontrol.SapControlAction - doRun: [EXCEPTION] java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://solmandev:50013" at com.sap.smd.agent.wsclients.sapstartsrv.SAPControlStub.getQueueStatistic(SAPControlStub.java:1378) at com.sap.smd.agent.wsclients.sapstartsrv.SAPControlStub.getQueueStatistic(SAPControlStub.java:1386) at com.sap.smd.wily.hostagent.sapcontrol.SapControlAction.getQueueStatistic(SapControlAction.java:586) at com.sap.smd.wily.hostagent.sapcontrol.SapControlAction.doRun(SapControlAction.java:850) at com.sap.smd.wily.hostagent.action.AbstractAction.run(AbstractAction.java:85) at com.sap.smd.wily.hostagent.Scheduler$RunnerAdapter.run(Scheduler.java:168) at com.sap.smd.server.exec.TaskRunner.run(TaskRunner.java:46) at com.sap.smd.server.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:785) at java.lang.Thread.run(Thread.java:743) Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"http://solmandev:50013" at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:998) at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1452) at com.sap.smd.agent.wsclients.sapstartsrv.SAPControlStub.getQueueStatistic(SAPControlStub.java:1371) ... 8 more