3 Replies Latest reply on Apr 5, 2016 1:03 PM by _vladi_

    Ds.properties file error while running vSphere Web Client HTML plugin

    pankajchhabra Novice

      Hello,

       

      Here is my configuration:

      1. vSphere Web Client SDK 6.0 Update 1

      2. JDK 1.7.0_79 64 bit

      3. Eclipse Juno SR 1 64 bit

       

      I am following the documentation to create the HTML plugin and run into this error regarding ds.properties file missing. SDK Setup does not mention about this file. Please let me know how to fix it.

       

      Here is the error from logs

      Caused by: com.vmware.cis.data.service.exception.ConfigurationInitializationException: Cannot load properties file: C:\ProgramData\VMware\vSphere Web Client\config\ds.properties

        at com.vmware.cis.data.service.ServiceConfigurationImpl.loadDsConfigProperties(ServiceConfigurationImpl.java:183)

        at com.vmware.cis.data.service.ServiceConfigurationImpl.doInitializeConfiguration(ServiceConfigurationImpl.java:74)

        at com.vmware.cis.data.service.ServiceConfigurationImpl.initializeOnce(ServiceConfigurationImpl.java:69)

        at com.vmware.cis.data.service.ServiceConfigurationImpl.getSolutionKey(ServiceConfigurationImpl.java:57)

        at com.vmware.cis.data.service.session.StsClientFactoryImpl.getConfirmationKey(StsClientFactoryImpl.java:69)

        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.$Proxy271.getConfirmationKey(Unknown Source)

        at com.vmware.ph.ceip.impl.SolutionUserActor.createClientSession(SolutionUserActor.java:191)

        at com.vmware.ph.ceip.impl.SolutionUserActor.readConsent(SolutionUserActor.java:92)

        at com.vmware.ph.ceip.impl.CeipApiImpl.readFromDBIfNotInitialized(CeipApiImpl.java:185)

        at com.vmware.ph.ceip.impl.CeipApiImpl.isConsentAccepted(CeipApiImpl.java:59)

        at com.vmware.ph.ceip.impl.CeipConfigProviderImpl.isCeipEnabled(CeipConfigProviderImpl.java:28)

        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.$Proxy282.isCeipEnabled(Unknown Source)

        at com.vmware.vsphere.client.telemetry.ph.impl.TelemetryPhLogger.isCeipEnabled(TelemetryPhLogger.java:78)

        at com.vmware.vsphere.client.telemetry.impl.TelemetryLoggingServiceImpl.isEnabled(TelemetryLoggingServiceImpl.java:36)

        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.$Proxy305.isEnabled(Unknown Source)

        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 flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

        ... 48 common frames omitted

      Caused by: java.io.IOException: The properties file does not exist: C:\ProgramData\VMware\vSphere Web Client\config\ds.properties

        at com.vmware.vise.util.FileUtil.loadProperties(FileUtil.java:377)

        at com.vmware.cis.data.service.ServiceConfigurationImpl.loadDsConfigProperties(ServiceConfigurationImpl.java:181)

        ... 118 common frames omitted

       

      Thanks,
      Pankaj