I am using the latest web client sdk 6.5 and followed the steps in the document to setup dev environment. When I am starting virgo server. I get following errror every time. I tried this with three different instances of vcsa 6.5
Please advice how to overcome this.
Application context creation failure for bundle 'com.vmware.javautil' version '6.1.0'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sslConfigurationProviderService': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sslConfigurationProvider': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:589)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
at org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sslConfigurationProvider': FactoryBean threw exception on object creation; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1442)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.eclipse.gemini.blueprint.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
... 17 common frames omitted
Caused by: java.lang.NullPointerException: null
at com.vmware.vise.util.client.configuration.ConfigurationServiceImpl.getProperty(ConfigurationServiceImpl.java:185)
at com.vmware.vise.util.net.ssl.SSLConfigurationProviderBuilder.buildFromConfigurationService(SSLConfigurationProviderBuilder.java:258)
at com.vmware.vise.util.net.ssl.SSLConfigurationProviderBuilder$SSLConfigurationProviderFactoryBean.getObject(SSLConfigurationProviderBuilder.java:299)
at com.vmware.vise.util.net.ssl.SSLConfigurationProviderBuilder$SSLConfigurationProviderFactoryBean.getObject(SSLConfigurationProviderBuilder.java:286)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
... 24 common frames omitted
[2016-11-30T10:19:20.767-08:00] [INFO ] system-artifacts <DE0000I> Installing bundle 'com.vmware.extensionservice' version '6.1.0'.
[2016-11-30T10:19:20.787-08:00] [INFO ] system-artifacts <DE0001I> Installed bundle 'com.vmware.extensionservice' version '6.1.0'.
[2016-11-30T10:19:20.793-08:00] [INFO ] system-artifacts <DE0004I> Starting bundle 'com.vmware.extensionservice' version '6.1.0'.
[2016-11-30T10:19:24.976-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:19:24.983-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:19:24.984-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&keystoreService' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.vim.commons.ssl.KeystoreService)'.
[2016-11-30T10:19:25.029-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:19:25.909-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationLocator' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationLocator)'.
[2016-11-30T10:19:25.910-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:19:39.976-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:19:39.983-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:19:39.985-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&keystoreService' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.vim.commons.ssl.KeystoreService)'.
[2016-11-30T10:19:40.029-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:19:40.909-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationLocator' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationLocator)'.
[2016-11-30T10:19:40.911-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:20:24.977-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:20:24.984-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:20:24.985-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&keystoreService' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.vim.commons.ssl.KeystoreService)'.
[2016-11-30T10:20:25.030-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:20:25.910-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationLocator' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationLocator)'.
[2016-11-30T10:20:25.911-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:21:24.978-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:21:24.984-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:21:24.985-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&keystoreService' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.vim.commons.ssl.KeystoreService)'.
[2016-11-30T10:21:25.031-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:21:25.911-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationLocator' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationLocator)'.
[2016-11-30T10:21:25.911-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&configurationService' in bundle 'com.vmware.extensionservice' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.client.configuration.ConfigurationService)'.
[2016-11-30T10:22:24.979-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:22:24.985-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&sslConfigurationProvider' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.util.net.ssl.SSLConfigurationProvider)'.
[2016-11-30T10:22:24.986-08:00] [WARN ] service-monitor-thread-1 <KE0100W> Reference '&keystoreService' in bundle 'com.vmware.vimcommonsserver-vsphere' version '6.1.0' is waiting for service with filter '(objectClass=com.vmware.vise.vim.commons.ssl.KeystoreService)'.
Hi,
This (admittedly unclear) exception is thown because the Client cannot find the webclient.properties file at all. Please check here for the table with the required paths for all environments: https://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wcsdk.pg.doc/GUID-35DAC81D-3580-4964-A889-43...
In your case it is /var/lib/vmware/vsphere-client/vsphere-client/ (note the double "vsphere-client").
Cheers,
Vladimir
Hey Vlad,
I checked the table and also followed the documentation on setting up dev environment provided as part of SDK. I am on windows system and didn't see anything for double "vsphere-client". Can you please check if the table is correct in the link or should the location be something else?
The table is correct. Vladi was giving the URL for Mac OS, but on Windows there is no double vsphere-client directories.
Can you try the SDK setup on another machine just to double-check?
On a different machine with same setup, I am getting a new error.
Application context creation failure for bundle 'com.vmware.vsphere.client.provisioningservice' version '1.0.0.0-SNAPSHOT'. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transferSourcePropertyProvider': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transferSourcePropertyProviderImpl' defined in URL [bundleentry://340.fwk601538777/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vsphere.client.provisioning.impl.TransferSourcePropertyProvider]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Keystore to be used for remote connections is null.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:589)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325)
at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290)
at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137)
at org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transferSourcePropertyProviderImpl' defined in URL [bundleentry://340.fwk601538777/META-INF/spring/bundle-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vsphere.client.provisioning.impl.TransferSourcePropertyProvider]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Keystore to be used for remote connections is null.
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.eclipse.gemini.blueprint.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
... 17 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.vmware.vsphere.client.provisioning.impl.TransferSourcePropertyProvider]: Constructor threw exception; nested exception is java.lang.IllegalStateException: Keystore to be used for remote connections is null.
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:162)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
... 28 common frames omitted
Caused by: java.lang.IllegalStateException: Keystore to be used for remote connections is null.
at com.vmware.vise.vim.commons.ssl.KeystoreServiceImpl.getKeyStore(KeystoreServiceImpl.java:47)
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.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at com.sun.proxy.$Proxy514.getKeyStore(Unknown Source)
at com.vmware.vsphere.client.provisioning.impl.TransferSourcePropertyProvider.<init>(TransferSourcePropertyProvider.java:92)
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 org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 30 common frames omitted
Hi any progress on this issue?
I faced the original issue and it was solved by also adding %VMWARE_CFG_DIR% to the env PATH variable. But still the localhost does not work (I am trying with virgo server on eclipse).
In the browser I am still getting the following error:
A server error occurred.
[500] SSO error: null
And in the logs I see the following errors: (I replaced the ip with <url> just for this post)
2016-12-27T18:28:35.749+02:00] [INFO ] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vise.vim.security.sso.impl.SsoUtilInternal Preparing the STS configuration for https://<url>/sts/STSService/vsphere.local
[2016-12-27T18:28:35.749+02:00] [INFO ] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vise.vim.security.sso.impl.SsoUtilInternal Requesting all STS trusted root certificates from https://<url>/sso-adminserver/sdk/vsphere.local
[2016-12-27T18:28:36.988+02:00] [WARN ] http-bio-9443-exec-10 70000001 100001 ###### .c.h.i.HttpConfigurationCompilerBase$ConnectionMonitorThreadBase Shutting down the connection monitor.
[2016-12-27T18:28:36.988+02:00] [WARN ] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vim.sso.client.impl.SoapBindingImpl Could not load VECS keystore: java.security.KeyStoreException: VKS not found
[2016-12-27T18:28:36.988+02:00] [WARN ] client-connection-monitor-18 70000001 100001 ###### .c.h.i.HttpConfigurationCompilerBase$ConnectionMonitorThreadBase Interrupted, no more connection pool cleanups will be performed.
[2016-12-27T18:28:37.150+02:00] [INFO ] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vise.vim.security.sso.impl.SsoUtilInternal Acquiring a SAML token by certificate from https://<url>/sts/STSService/vsphere.local
[2016-12-27T18:28:37.166+02:00] [WARN ] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vim.sso.client.impl.SiteAffinityServiceDiscovery CDC not configured java.lang.NoClassDefFoundError: Could not initialize class com.vmware.identity.cdc.CdcAdapter
[2016-12-27T18:28:37.219+02:00] [ERROR] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vim.sso.client.impl.SoapBindingImpl Error communicating to the remote server https://<url>/sts/STSService/vsphere.local com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:117)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:194)
at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:122)
at com.sun.xml.internal.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:95)
[2016-12-27T18:28:37.235+02:00] [ERROR] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vise.vim.security.sso.impl.NgcSolutionUser Solution user login failed. com.vmware.vim.sso.client.exception.ServerCommunicationException: Error communicating to the remote server https://vm-rp-lab-h-116.rp.ilcoe.lab.emc.com/sts/STSService/vsphere.local
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.sendRequest(SecurityTokenServiceImpl.java:796)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl$RequestResponseProcessor.executeRoundtrip(SecurityTokenServiceImpl.java:714)
at com.vmware.vim.sso.client.impl.SecurityTokenServiceImpl.acquireTokenByCertificate(SecurityTokenServiceImpl.java:473)
at com.vmware.vise.vim.security.sso.impl.SsoUtilInternal.acquireTokenByCertificate(SsoUtilInternal.java:716)
at com.vmware.vise.vim.security.sso.impl.NgcSolutionUser.login(NgcSolutionUser.java:229)
at com.vmware.vise.vim.security.sso.impl.NgcSolutionUser.getLoggedInToken(NgcSolutionUser.java:155)
at com.vmware.vise.vim.security.sso.impl.SsoAdminServiceImpl.getAuthenticator(SsoAdminServiceImpl.java:455)
at com.vmware.vise.vim.security.sso.impl.SsoAdminServiceImpl.<init>(SsoAdminServiceImpl.java:181)
at com.vmware.vise.vim.security.sso.SsoUtil.getAdminService(SsoUtil.java:405)
at com.vmware.vise.vim.security.sso.impl.SsoServiceProviderImpl.getSolutionAdminServiceSynchronized(SsoServiceProviderImpl.java:186)
at com.vmware.vise.vim.security.sso.impl.SsoServiceProviderImpl.getSolutionAdminService(SsoServiceProviderImpl.java:173)
at com.vmware.vise.vim.security.sso.impl.SsoServiceProviderImpl.getSolutionAdminService(SsoServiceProviderImpl.java:159)
[2016-12-27T18:28:37.369+02:00] [ERROR] http-bio-9443-exec-10 70000001 100001 ###### com.vmware.vsphere.client.security.websso.MetadataGeneratorImpl Error when registering ngc metadata. com.vmware.vim.binding.sso.fault.NotAuthenticated: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:379)
at com.vmware.vim.vmomi.core.types.impl.ComplexTypeImpl.newInstance(ComplexTypeImpl.java:174)
at com.vmware.vim.vmomi.core.types.impl.DefaultDataObjectFactory.newDataObject(DefaultDataObjectFactory.java:25)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.ComplexStackContext.<init>(ComplexStackContext.java:30)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.parse(UnmarshallerImpl.java:150)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl$UnmarshallSoapFaultContext.unmarshall(UnmarshallerImpl.java:101)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:88)
at com.vmware.vim.vmomi.core.soap.impl.unmarshaller.UnmarshallerImpl.unmarshalSoapFault(UnmarshallerImpl.java:83)
yuvalmarg,
VMWARE_CFG_DIR is indeed required per the setup documentation. Are you using the 6.5 HTML SDK?
If you can start the local server in a terminal window with the server/bin/startup script you should be able to start it within Eclipse as well.
Hi Laurent,
Thanks for the quick response. I did also try to run the startup script, everything loads fine, but when I try to go to localhost in a browser, I get the same result as stated in the previous comment, and see the same exceptions in the log file.
Any ideas?
And regarding your question, I am using the 6.5 Flex sdk. I want to check compatibility of our plugin with 6.5.
OK, I'll report that problem to the team. Another way to check your existing plugin with 6.5 is to install it on your vCenter 6.5 and not use localhost.
Ok, thank you. We'll also try to configure on a different computer (different windows version, only Java 7 installed), and if the results are different I will update
Hi,
Were you able to resolve this issue, I am running into the same issue as yuvalmarg, with same errors. Any help is appreciated.
Thanks
Jagdeep