Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

when I use https://servername.domain/sdk to manage all virtual machine,{urn:vim25}NotAuthenticatedFault:group-d1System.View be thrown

$
0
0

when I use https://servername.domain/sdk to manage all virtual machine,it's frequent,some exceptions thrown.

part of  LoadVMWare.java

if(sum_list != null && sum_list.size()>0){          for(int i=0;i<sum_list.size();i++){            try            {                    resultMap3 = (HashMap<String, Object>) vmMgr.getSummary(url, username, enpassword, sum_list.get(i).toString());            }catch(Exception e){            e.printStackTrace();            }            if ("success".equals(resultMap3.get(VIMConstants.INFO_STATE))) {                    this.CreateResultTosqlvirtualDS(resultMap3, host.getIpAddress(), sum_list.get(i).toString());            }          }      }

 

and this is the exception:

 

2015-02-05 12:42:44 - ERROR - releaseECB error,

com.vmware.apputils.ArgumentHandlingException: Exception running : 28af1c89-7807-4875-8ace-d26d12572709

  at com.vmware.apputils.version.ExtendedAppUtil.disConnect(ExtendedAppUtil.java:90)

  at com.afunms.vmware.vim25.common.VIMConnection.releaseECB(VIMConnection.java:135)

  at com.afunms.vmware.vim25.common.VIMConnection.getECB(VIMConnection.java:91)

  at com.afunms.vmware.vim25.common.VIMConnection.getECB(VIMConnection.java:109)

  at com.afunms.vmware.vim25.mgr.VMMgr.getSummary(VMMgr.java:1061)

  at com.afunms.polling.snmp.LoadVMWare.collect_Data(LoadVMWare.java:332)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at com.gathertask.BaseTask$1.runIt(BaseTask.java:54)

  at com.afunms.common.util.threadPool.ControlRunnable.run(ControlRunnable.java:149)

  at java.lang.Thread.run(Unknown Source)

2015-02-05 12:42:44 - ERROR - getECB error,

AxisFault

faultCode: ServerFaultCode

faultSubcode:

faultString: 该会话未进行身份验证。

faultActor:

faultNode:

faultDetail:

  {urn:vim25}NotAuthenticatedFault:<object type="Folder">group-d1</object><privilegeId>System.View</privilegeId>

 

 

该会话未进行身份验证。

  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

  at java.lang.reflect.Constructor.newInstance(Unknown Source)

  at java.lang.Class.newInstance(Unknown Source)

  at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)

  at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)

  at com.vmware.vim25.NotAuthenticated.getDeserializer(NotAuthenticated.java:91)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)

  at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)

  at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)

  at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)

  at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)

  at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)

  at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)

  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)

  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

  at javax.xml.parsers.SAXParser.parse(Unknown Source)

  at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)

  at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)

  at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)

  at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)

  at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)

  at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

  at org.apache.axis.client.Call.invoke(Call.java:2767)

  at org.apache.axis.client.Call.invoke(Call.java:2443)

  at org.apache.axis.client.Call.invoke(Call.java:2366)

  at org.apache.axis.client.Call.invoke(Call.java:1812)

  at com.vmware.vim25.VimBindingStub.logout(VimBindingStub.java:53219)

  at com.vmware.apputils.vim25.ServiceConnection.disconnect(ServiceConnection.java:175)

  at com.vmware.apputils.vim25.ServiceConnection.connect(ServiceConnection.java:44)

  at com.vmware.apputils.vim25.ServiceUtil.clientConnect(ServiceUtil.java:37)

  at com.vmware.apputils.version.ExtendedAppUtil.connect(ExtendedAppUtil.java:46)

  at com.afunms.vmware.vim25.common.VIMConnection.getECB(VIMConnection.java:86)

  at com.afunms.vmware.vim25.common.VIMConnection.getECB(VIMConnection.java:109)

  at com.afunms.vmware.vim25.mgr.VMMgr.getSummary(VMMgr.java:1061)

  at com.afunms.polling.snmp.LoadVMWare.collect_Data(LoadVMWare.java:332)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

  at java.lang.reflect.Method.invoke(Unknown Source)

  at com.gathertask.BaseTask$1.runIt(BaseTask.java:54)

  at com.afunms.common.util.threadPool.ControlRunnable.run(ControlRunnable.java:149)

  at java.lang.Thread.run(Unknown Source)


Viewing all articles
Browse latest Browse all 24426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>