Problem:
[root@statsfeeder]# ./StatsFeeder.sh -h abcd -u domain\user -p abcd1234 -c config/graphitesampleConfig.xml
StatsFeeder [4.1 (Build jenkins-Statsfeeder-697)]
Copyright (c) 2011-2013 VMware, Inc
All rights reserved
2 [main] ERROR com.vmware.ee.statsfeeder.Main - Unexpected error in statsfeeder
com.vmware.ee.common.VimConnectionException: A general system error occurred: Authorize Exception
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:137)
at com.vmware.ee.statsfeeder.ExecutionContext.init(ExecutionContext.java:144)
at com.vmware.ee.statsfeeder.Main.main(Main.java:112)
Caused by: com.vmware.ee.common.VimConnectionException: A general system error occurred: Authorize Exception
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:123)
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:135)
... 2 more
Caused by: javax.xml.ws.soap.SOAPFaultException: A general system error occurred: Authorize Exception
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:125)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy28.login(Unknown Source)
at com.vmware.ee.common.VimConnection.connect(VimConnection.java:232)
at com.vmware.ee.common.VimConnection.initAll(VimConnection.java:177)
at com.vmware.ee.common.VimConnection.<init>(VimConnection.java:50)
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:120)
... 3 more
StatsFeeder exited rc = 2, check log for details
Resolution:
Ensure "\" in user name is escaped as in "domain\\user" instead of "domain\user"
[root@statsfeeder]# ./StatsFeeder.sh -h abcd -u domain\user -p abcd1234 -c config/graphitesampleConfig.xml
StatsFeeder [4.1 (Build jenkins-Statsfeeder-697)]
Copyright (c) 2011-2013 VMware, Inc
All rights reserved
2 [main] ERROR com.vmware.ee.statsfeeder.Main - Unexpected error in statsfeeder
com.vmware.ee.common.VimConnectionException: A general system error occurred: Authorize Exception
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:137)
at com.vmware.ee.statsfeeder.ExecutionContext.init(ExecutionContext.java:144)
at com.vmware.ee.statsfeeder.Main.main(Main.java:112)
Caused by: com.vmware.ee.common.VimConnectionException: A general system error occurred: Authorize Exception
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:123)
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:135)
... 2 more
Caused by: javax.xml.ws.soap.SOAPFaultException: A general system error occurred: Authorize Exception
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:125)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:135)
at com.sun.proxy.$Proxy28.login(Unknown Source)
at com.vmware.ee.common.VimConnection.connect(VimConnection.java:232)
at com.vmware.ee.common.VimConnection.initAll(VimConnection.java:177)
at com.vmware.ee.common.VimConnection.<init>(VimConnection.java:50)
at com.vmware.ee.statsfeeder.ExecutionContext.initAll(ExecutionContext.java:120)
... 3 more
StatsFeeder exited rc = 2, check log for details
Resolution:
Ensure "\" in user name is escaped as in "domain\\user" instead of "domain\user"
No comments:
Post a Comment