Complete tool tip of custom tasks on HTML5 is not shown
Default prefix is appended every time on custom task's state
Adding a Customed Tab in VSpehere Client
Hello,
I want to add a custom tab in the VSphere client for the VM. Within this tab, I want to integrate the RESTful API's. I went through the documents and tried to register to the Extension Manager using a Java program, but I was unsucessful. Please help me with the tutorial or documentation to achieve this.
Extension points for NSX objects?
Hi,
This is an initial question to understand the current possibilities for presenting views in the webclient plugin (H5 / Flex) agains NSX objects.
We currently use the Plugin seed (v.0.9.8) for our hybrid webclient ui-side implementation... And it's doing a fine job! We use the object views (Summary and Monitor) for all vCenter inventory managed entity types (e.g. hosts / VMs / Datacenters etc.).
We would like to use extension points for the NSX objects, where the NSX plugin is installed with H5 or Flex, so that we can creat an equivalent object view in Summary and Monitor tabs.
Could you please let me know if this is possible currently? Or if not currently supported out of the box, if there is a simple path to making it possible please?
N.B. I've given an example screenshot of an NSX object selected in the Flex client. The monitor tab is open, and we would like to add another button alongside "System Events" and "Tasks".
Many thanks in advance for your time.
Warren
Deprecation of older vSphere client APIs
VMware is announcing that the upcoming vSphere release will be the terminal release for two older sets of vSphere client APIs -- the vSphere Flex client APIs and the current set of HTML client APIs (also known as the Bridge APIs). A new set of vSphere client APIs that are designed to scale and support the use cases and improved security, design, and extensibility of the vSphere HTML client are included as part of today's vSphere RC release.
We are also announcing deprecation of webplatform.js, which will be replaced with an improved way to push updates into partner plugin solutions without any lifecycle dependencies on vSphere client SDK updates.
Note: If you have an existing plugin solution to the vSphere client, please upgrade Virgo server according to the information included in the vSphere RC release. Existing vSphere client plugins will not be compatible with the upcoming vSphere release without developers taking this upgrade action.
Difficulties with plugin icon showing up during conversion from Flex to HTML
We are converting our existing Flex plug-in to HTML 5. We have eliminated the Flex portion and implemented the HTML5 portion.
Everything works great except for one thing, we can't get an icon to show up. In plugin.xml file for the <icon> tag
the following has tried
../../assets/images/Company-Icon-N-16x16.png
../assets/images/Company-Icon-N-16x16.png
/assets/images/Company-Icon-N-16x16.png
/vsphere-client/company-war-4.0.0-SNAPSHOT/assets/images/Company-Icon-N-16x16.png
company-war-4.0.0-SNAPSHOT//assets/images/Company-Icon-N-16x16.png
/vsphere-client/company-war-4.0.0-SNAPSHOT/assets/images/Company-Icon-N-16x16.png
Here's a plugin.xml snippet:
<plugin id="com.company.MyCompany">
<!-- Global Config view -->
<extension id="com.company.views.global.GlobalMyCompanyJS">
<extendedPoint>vise.global.views</extendedPoint>
<object>
<name>Company Configuration</name>
<icon>../../assets/images/Company-Icon-N-16x16.png</icon>
<componentClass className="com.vmware.vsphere.client.htmlbridge.HtmlView">
<object>
<root>
<url>/vsphere-client/company-war-4.0.0-SNAPSHOT/index.html</url>
</root>
</object>
</componentClass>
</object>
<metadata>
<privilege>Datastore.AllocateSpace,Datastore.Browse,Datastore.Delete,Datastore.DeleteFile,Datastore.FileManagement,Datastore.Move,Datastore.Rename</privilege>
</metadata>
</extension>
What's a programmer got to do to get any icon to show up?
We would prefer NOT to have a .properties file, just the path to the file.
We also noticed that the HTML5 samples in the SDK have both src/main/locale and src/main/webapp/locales/en_US directories with property files in each, which is a bit confusing
vCenter HTML5 UI - custom actionset menus are not loading sometimes till we restart HTML5 web client service.
Hi,
We have created a vCenter plugin which adds custom action set menu on VMs, Datastores, Hosts, and Clusters.
In HTML Web Client, when we right-click on the corresponding objects (or) click on actions and try to view the custom action menus it was always showing as "Loading...".
Whereas the same menu is loading in Flex Client without any issues.
When I checked in browser console I was able to find this error logged in there:
"POST https://<VCENTER-IP>/ui/actionsService/menus/com.our.plugin.id.custom.actionSet.menus 500 (Internal Server Error)", followed by notificationService::handleError, showing a huge error stack for a null pointer exception.
PFA screenshot and click here to view the complete error stack JSON, returned by the POST call.
{ "stackTrace": "java.lang.NullPointerException\n\tat java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:936)\n\tat com.vmware.vise.extensionfw.ExtensionManager.getExtensionPointInfo(ExtensionManager.java:764)\n\tat com.vmware.vise.extensionfw.ExtensionManager.getExtensionObjects(ExtensionManager.java:1338)\n\tat com.vmware.vise.extensionfw.impl.ExtensionServiceImpl.getExtensionObjects(ExtensionServiceImpl.java:52)\n\tat sun.reflect.GeneratedMethodAccessor601.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)\n\tat com.sun.proxy.$Proxy254.getExtensionObjects(Unknown Source)\n\tat com.vmware.vise.actionsfw.impl.ActionsServiceImpl.getActionsList(ActionsServiceImpl.java:864)\n\tat com.vmware.vise.actionsfw.impl.ActionsServiceImpl.removeNonApplicableActions(ActionsServiceImpl.java:354)\n\tat com.vmware.vise.actionsfw.impl.ActionsServiceImpl.getMenus(ActionsServiceImpl.java:220)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)\n\tat com.sun.proxy.$Proxy317.getMenus(Unknown Source)\n\tat com.vmware.vise.mvc.controllers.ActionsServiceController.getApplicableMenus(ActionsServiceController.java:700)\n\tat com.vmware.vise.mvc.controllers.ActionsServiceController.getEvaluatedMenus(ActionsServiceController.java:609)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:219)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:100)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:604)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:565)\n\tat org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)\n\tat org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)\n\tat org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)\n\tat org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)\n\tat org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:755)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:848)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat com.vmware.vise.extensionfw.DeploymentFilter.doFilter(DeploymentFilter.java:55)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat com.vmware.vsphere.client.logging.MDCLogFilter.doFilterInternal(MDCLogFilter.java:41)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat com.vmware.vise.util.i18n.I18nFilter.doFilterInternal(I18nFilter.java:43)\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat com.vmware.vise.security.SessionManagementFilter.doFilter(SessionManagementFilter.java:146)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)\n\tat org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat com.vmware.vise.security.websso.WebssoAuthenticationFailureFilter.doFilter(WebssoAuthenticationFailureFilter.java:27)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:183)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)\n\tat org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)\n\tat org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)\n\tat org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)\n\tat org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)\n\tat org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\n\tat org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:683)\n\tat org.eclipse.virgo.web.tomcat.support.ApplicationNameTrackingValve.invoke(ApplicationNameTrackingValve.java:33)\n\tat org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)\n\tat org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)\n\tat org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620)\n\tat org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat java.lang.Thread.run(Thread.java:748)", "message": null }
This issue got resolved after restarting the HTML5 web client service.
vCenter version: "vCenter Server Appliance 6.5 Update 1d | 19 December 2017 | Build 7312210"
vSphere Client version: 6.5.0.10000
Browsers used for testing: Chrome (v66.0) and Firefox (v58.02) Latest versions
There are no specific steps to reproduce this issue.
- We installed our plugin in VCSA machine and opened HTML5 web client.
- Before trying to access the action set menu there were few configurations which had to be done through our plugin UI, which was all working fine.
- Now try to right click / click on actions after selecting supported objects. - That's when we hit this issue.
Can a inventory tree implemented in vSphere web client 6.5
I want to check whether with the new sdk is it possible to extend the tree view of objects in the object Navigator for web client Plugin.
referring to below thread it is not possible with old SDK.
https://communities.vmware.com/thread/430718
Thanks
Can you suggest me how to automate the vmware websphere clent GUI(I meean Tools,suggestions)
VM Websphere client is a flex application.how can we automate this kind of applications.I heard that we can you selenium.Can you please suggest me which API can be used and other related this to automate the application which invovles flash.
Thanks,
Anusha
Bundles failed to load after gouped into plugin package.
vSphere 6.5 Flex Based Client - Automation testing
Hello Team,
We are using vSphere 6.5 Flex based GUI and looking for help.
I see multiple tools and frameworks are available in market but all are looking for Special BUILD of VMware vSphere 6.5.
Can someone guide me how we can automate Flex Based GUI and get the special build of 6.5 version.
Your quick response is highly appreciable
Thanks,
Kasliwal
Opening Flex menu breaks html5 formatting?
Seeing odd behavior with our new HTML5 plugins when running in Flex client. Behavior is identical on latest 6.0 and 6.5. When a flex menu is selected, the HTML5 content loses formatting; when the menu is closed, HTML formatting returns. See attached pictures.
How to access 5.5 sdk's web
I downloaded serenity-client-5.5.0-1300321.zip,
then unzip,
then start with serenity-client\server\bin\startup.bat,
after there is no more output in the console, I tried to access https://127.0.0.1:9443/vsphere-client, nothing happens, just cant access it, I checked the port 9443 is being listened, what's wrong? Anything else should be done?
Or, is there any guide for 5.5 just like the fling sdk 6.5's setup guide?
thanks.
Create a list of objects on left side in plugin main page.
Hi,
I am working on creating a plugin and as per our requirement we need to add a list to the left side view and this list should have list of our custom objects.
I tried using the vsphere.core.inventorylist.objectCollectionTemplate and vsphere.core.inventory.objectViewTemplate extensions. Using these i am able to see a link on the left side but on click it is navigating to entire new page and in the new page i am seeing the full page list on left side.
PFA for my plugin main page where i have two links for different views. Below these links i need to also have a list. Is this possible.
I am using html-client-sdk-6.5.0.10000-6311399, local server: vSphere Client version 6.5.0.10000, and vSphere Client Fling version 3.15.0.5702473.
virtualize disk with partition
Hello,
I am on Vmware 5.5.
I have a virtual machine (windows 2008R2) with a virtual disk that has 2 partitions C: and D :
My C: partition has become too small so I want the partitions to be on 2 separate virtual disks to increase the size.
Precision on my partition D: there are links with the C: (database with the C: they are not just data
I did not find a solution even with Vmware converter.
Thank you for your help.
vCenter plugin not loading after fresh install of vCSA 6.5 U1e
We deployed a fresh VCSA (6.5 U1e) and registered our Flex plugin. It was not accessible from vSphere Web Client until we restarted the vsphere-client service. Rebooting the VCSA will also cause the plugin to load. We don't experience this problem on earlier VCSA versions. Has anyone else ran in to this kind of issue before? Is the correct procedure to reboot vCenter (or restart some services) after deploying a 3rd party plugin?
Here is the NoClassDefFoundError that seems to be preventing our plugin from loading:
[2018-03-01T21:37:55.365Z][INFO ] start-signalling-3 o.a.c.c.C.[.[localhost].[/vsphere-client/vstacplugin-ui] No Spring WebApplicationInitializer types detected on classpath
[2018-03-01T21:37:55.368Z][ERROR] start-signalling-3 o.a.c.c.C.[.[localhost].[/vsphere-client/vstacplugin-ui] Error configuring application listener of class flex.messaging.HttpFlexSession java.lang.NoClassDefFoundError: flex/messaging/FlexSessionAttributeListener
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at org.apache.catalina.util.Introspection.getDeclaredMethods(Introspection.java:127)
at org.apache.catalina.core.DefaultInstanceManager.populateAnnotationsCache(DefaultInstanceManager.java:309)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:132)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:114)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5026)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5633)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1015)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:991)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.eclipse.gemini.web.tomcat.internal.TomcatServletContainer.startWebApplication(TomcatServletContainer.java:125)
at org.eclipse.gemini.web.internal.StandardWebApplication.start(StandardWebApplication.java:109)
at org.eclipse.virgo.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:122)
at org.eclipse.virgo.kernel.install.artifact.internal.StandardArtifactStateMonitor.onStarted(StandardArtifactStateMonitor.java:271)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:319)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact.access$0(AbstractInstallArtifact.java:316)
at org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:252)
at org.eclipse.virgo.nano.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:140)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: flex.messaging.FlexSessionAttributeListener in KernelBundleClassLoader: [bundle=org.apache.flex.blazeds.core_4.7.3]
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 24 common frames omitted
Caused by: java.lang.ClassNotFoundException: flex.messaging.FlexSessionAttributeListener
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:146)
... 25 common frames omitted
After restarting the vsphere-client service we don't see any errors and the plugin loads successfully:
[2018-03-02T18:11:22.870Z][INFO ] start-signalling-3 o.a.c.c.C.[.[localhost].[/vsphere-client/vstacplugin-ui] No Spring WebApplicationInitializer types detected on classpath
[2018-03-02T18:11:22.885Z][INFO ] start-signalling-3 o.a.c.c.C.[.[localhost].[/vsphere-client/vstacplugin-ui] Initializing Spring FrameworkServlet 'springServlet'
[2018-03-02T18:11:22.885Z][INFO ] start-signalling-3 org.springframework.web.servlet.DispatcherServlet FrameworkServlet 'springServlet': initialization started
[2018-03-02T18:11:22.886Z][INFO ] start-signalling-3 o.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext Refreshing ServerOsgiBundleXmlWebApplicationContext for namespace 'springServlet-servlet': startup date [Fri Mar 02 18:11:22 UTC 2018]; root of context hierarchy
[2018-03-02T18:11:22.886Z][INFO ] start-signalling-3 o.eclipse.virgo.web.dm.ServerOsgiBundleXmlWebApplicationContext Application Context service already unpublished
[2018-03-02T18:11:22.886Z][INFO ] start-signalling-3 org.springframework.beans.factory.xml.XmlBeanDefinitionReader Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/bundle-context.xml]
[2018-03-02T18:11:22.898Z][INFO ] start-signalling-3 o.e.virgo.kernel.dmfragment.internal.LoadTimeWeaverPostProcessor Load-time weaving not enabled for bundle 'com.pivot3.vstacpluginui.Vstacpluginui_1.0.0 [371]',
[2018-03-02T18:11:22.898Z][INFO ] start-signalling-3 o.e.virgo.kernel.dmfragment.internal.MBeanExporterPostProcessor MBean exporting not enabled for bundle 'com.pivot3.vstacpluginui.Vstacpluginui_1.0.0 [371]',
[2018-03-02T18:11:22.924Z][INFO ] start-signalling-3 o.s.beans.factory.support.DefaultListableBeanFactory Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@76a07494: defining beans _messageBrokerHandlerAdapter,vstacplugin-ui-brokerDefaultHandlerMapping,_jsonConfigMapEditorConfigurer,vstacplugin-ui-brokerMessagingProcessor,vstacplugin-ui-brokerRemotingProcessor,_flexRemotingAnnotationPostProcessor,_hibernateSerializationConfigPostProcessor,org.springframework.flex.core.ExceptionTranslationAdvice#0,org.springframework.flex.core.EndpointServiceMessagePointcutAdvisor#0,org.springframework.flex.core.MessageInterceptionAdvice#0,org.springframework.flex.core.EndpointServiceMessagePointcutAdvisor#1,vstacplugin-ui-brokerEndpointProcessor,vstacplugin-ui-broker,LoginService,org.springframework.flex.remoting.RemotingDestinationExporter#0,Pivot3arrayservice,org.springframework.flex.remoting.RemotingDestinationExporter#1,Pivot3applianceservice,org.springframework.flex.remoting.RemotingDestinationExporter#2,Pivot3volumeservice,org.springframework.flex.remoting.RemotingDestinationExporter#3,Pivot3WebServerConfigurationService,org.springframework.flex.remoting.RemotingDestinationExporter#4,DataStoreService,org.springframework.flex.remoting.RemotingDestinationExporter#5,DashboardService,org.springframework.flex.remoting.RemotingDestinationExporter#6,ConfigService,org.springframework.flex.remoting.RemotingDestinationExporter#7,Pivot3QDVLogService,org.springframework.flex.remoting.RemotingDestinationExporter#8,Pivot3PDService,org.springframework.flex.remoting.RemotingDestinationExporter#9,N5PerformanceService,org.springframework.flex.remoting.RemotingDestinationExporter#10,ExceptionTranslatorService,DomainModelNotificationService,AlertServiceNotification,TaskServiceNotification,GraphPreferenceUpdateServiceNotification,LongRunningTaskStateChangeServiceNotification; root of factory hierarchy
[2018-03-02T18:11:22.942Z][INFO ] start-signalling-3 org.springframework.flex.config.FlexConfigurationManager Loading Flex services configuration from: ServletContext resource [/WEB-INF/flex/services-config.xml]
[2018-03-02T18:11:22.951Z][INFO ] start-signalling-3 org.springframework.flex.config.FlexConfigurationManager Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/messaging-config.xml]
[2018-03-02T18:11:22.955Z][INFO ] start-signalling-3 org.springframework.flex.config.FlexConfigurationManager Including Flex services configuration from: ServletContext resource [/WEB-INF/flex/remoting-config.xml]
[2018-03-02T18:11:22.969Z][INFO ] start-signalling-3 org.springframework.flex.core.MessageBrokerFactoryBean flex-messaging-core: 4.7.3
Need help on errors facing in UI(plugin seed 0.9.8)
Hi,
SDK Version and Stack version:
Using vSphere Client SDK (HTML5) 6.5.0.10000 Build 6311399. I had upgraded plugin seed to use Angular 5.2.6
I'm facing following issues with my plugin.
1. In devmode i'm facing the ExpressionChangedAfterItHasBeenCheckedError when changing the clarity datagrid page.
2. In Plugin mode in addition to the above issue, when we do a global refresh my grid is showing as loading even we get back the data.
Attaching the sample project for debugging.
Please let me know what needs to be changed.
Suggest me if there is any wrong/pitfalls that needs to be taken care with my code
Thanks,
Kumar
Developing a VSphere 6.5 Web-client extension plugin
I need help with developing my vSphere web-client "hello world" extension. I downloaded SDK 6.5 and explored the samples. I am not able to understand the use of plugin.xml and package-plugin.xml. Please help me come up with a static extension in the vSphere client.
Is it possible to pass some custom data in openModalDialog API?
Hi,
Can someone tell me how we could pass custom data for openModalDialog(title, url, width, height, objectId)?
As I need to maintain my plugin compatible with vCenter 6.5U1 GA.
I could not use the new set of API's.
Thanks,
Kumar
HTML SDK Fling 11 is available (Hint: New JavaScript APIs)
Hi all,
We've just released Fling 11 : https://labs.vmware.com/flings/vsphere-html5-web-client and it contains the first set of new JavaScript APIs.
The goal is to facilitate the transition of existing vSphere Flex Client plug-ins to vSphere HTML Client plug-ins and ensure more stable ecosystem.
The new JavaScript APIs cover the following use cases which so far were not supported with the HTML Bridge APIs:
• Custom plugin data can be passed from the parent window to the modal iframe.
• Developers can pass data from a modal to its parent when the modal is about to be closed.
• Developers can specify multiple target ids when opening a dialog.
• Developers can specify the dialog title and X button as optional.
The APIs are divided into namespaces for easier access, understanding and categorization and overcome the existing security concern that sensitive information was passed via URL parameter.
The new JavaScript APIs are available only for the vSphere HTML Client. For more details refer to the complete documentation available from: \html-client-sdk\docs\New-Javascript-API.html.
Thanks,
Ina