Query methods NSX - v DynamicTypes plugin V2

I give a try to plug NSX - v DynamicTypes V2 and I can't find any request method.

How can I get an object aboard his Id?

How can I get an object Pool knowing its id and id edge?

Thank you very much

D.

With the Standard Server.findForType (type, id);

With ID is the ID of the server remains + ' / ' + edgeId + ' / ' + poolId for a type of pool

Tags: VMware

Similar Questions

  • NSX - v DynamicTypes plugin V2 - updated

    Hello

    Is there any particular procedure to update an already installed and in production "NSX - v DynamicTypes V2 plugin" plugin for the latest version?

    Thank you

    D.

    I'm afraid that I don't it has not yet documented.

    Re-run the installation process should work if you have not changed the content of the plug-in, but I recommend to test the upgrade on a server separate vCO to ensure that there is not a particular issue.

    Otherwise, import the package and the updating of the items with a more recent version should update many elements with the exception of the DT objects resource file.

    If this is the only plug-in that you run, you can import the updated Configuration resource [date] DT, save it to disk, right-click / Update the element of resource on the element of resource datatypes 'config '.

    Otherwise you can just do a diff merge and see what I changed. If it is to have a faster inventory, you will notice several types now a link to an action for hasChildrenInRelation.

  • Failure to install NSX - v DynamicTypes plugin V2

    Hi all

    I have problems with the installation of this Plugin DynamicTypes NSX - v V2.

    The plugin has been successfully imported according to the instructions but when I run the plugin installation (gen - 1 Plugin - install the plug-in)

    Cannot run a validation report 1 errors in the workflow which seems to be centered around the workflow configuration workflow import.

    If I disable validation on start to start and run the workflow, once again, I get the following error

    "ReferenceError: 'ignoreValidationWarnings' is not defined." (Workflow: import of Package Configuration/Setup of import (item3) #10239) »

    My environment is running on the following versions:

    vRo: 6.0.3

    the dynamic types plugin:1.0.1

    NSX:6.2

    NSX Plugin 1.0.2

    Version 0.0.8 custom plugin

    Can someone point me in the right direction?

    Concerning

    Brett

    validation failure.JPGvalidation error location.JPGignore validation warning error.JPG

    I'll have to ask the team to plug-ins how the issue has been addressed and if it is fixed version available for download. But it will happen next week. It's the end of the business day here.

    In the meantime, I'll send you a plug-in version internal which supposedly contains the fix. (link in private message sent)

  • NSX plugin ver 1.0.1 - query methods

    I work with version 1.0.1 of the NSX plugin for vRO and I can't find any method to query for objects.

    For example, I was able to orchestrate the creation of 4 logical switches for a user. But in another workflow that I need to find all logical switches whose names include the name of the user.

    Is it possible to do this with the plugin or I need to use the plugin HTTP and REST?

    (Same thing for other objects as edges)

    Thank you very much

    D.

    The plugin NSX is incomplete and lacks some methods for some objects.

    FindAll works generally if you select this object as the input to a workflow and use the presentation properties see the list successfully.

    If it you you should be able to get these do var lSwitches = Server.findAllForType ([type as written in your workflow of entry type]);

    The API has also some objects of Manager [objectName] which may or may not include methods for theobjects.

    As a work around you can use a REST call to get all IDS use Server.findForId (hostID + "/" + objectId) for each object your result of the operation remains NSX.

    You can find sample code in the plugin dynamic Types NSX in the document tab. You can also use it directly to it meet your needs.

  • NSX - v V2 plug-in from DynamicTypes - find and return an object

    I use the plugin plugin V2 of NSX - v DynamicTypes.

    Inside a workflow, I'm looking for an object previously created using:

    var object = Server.findForType ("DynamicTypes:NSX.pool", ID host + ' /' + edgeId + "/" + poolId);

    System.log (Object.Name); and I do not see the correct data

    then I assign the object to an out param:

    outPool = object;  (outPool = "DynamicTypes:NSX.pool")

    In another stream of work, I have an attribute of type 'DynamicTypes:NSX.pool', when I call the workflow first param-out the attribute link, it receive nothing. I can't access any property of the object.

    How can I accomplish this?

    Thank you very much

    D.

    It seems you do what I do in most of my workflow. Now I wonder if they work fine

    Can you please try to use the method DynamicTypesManager.getObject () and let me know if this fixed your issue?

  • Query object of vCO VCloud

    Hello

    I wonder if someone can help me.

    I am interrogating vCloud for a vCloud:vAppTemplate and a vCloud:Vdc object. The only input parameter, I have right now is a string containing the name of vAppTemplate and VDC Org name.

    Is this possible using the methods in the 1.5 Plugin for vCO vCloud?

    I can see various query methods but am no Javascript/vCO exprt so trying to figure out how I would be able to return a recognized real Type. I need to update a workflow with the output attribute, so that it can be used to instantiate a VAPP model.

    Any help is very appreciated

    Thank you

    Here's a sample to retrieve all models of VAPP by name.

    var queryService = vcdHost.getQueryService();
    
    var expression = new VclExpression(VclQueryVAppTemplateField.NAME, name, VclExpressionType.EQUALS);
    var filter = new VclFilter(expression);
    var params = new VclQueryParams();
    params.setFilter(filter);
    
    var vAppTemplates = new Array();
    
    var resultSet = queryService.queryRecords(VclQueryRecordType.VAPPTEMPLATE, params);
    
    while (resultSet != null)  {
        var records = resultSet.getRecords(new VclQueryResultVAppTemplateRecord());
        //System.log(records.length + " records found");
        for each (var record in records) {
            var vAppTemplateRef = new VclReference();
            vAppTemplateRef.href = record.href;
            vAppTemplateRef.name = record.name;
            vAppTemplateRef.type = record.type;
            vAppTemplates.push(vcdHost.getEntityByReference(VclEntityType.VAPP_TEMPLATE, vAppTemplateRef));
        }
        resultSet = resultSet.getNextPage();
    }
    
    return vAppTemplates;
    

    And here are those of a VDC data (call the first action above).

    if (vdc == null) throw "getVApptemplatesByNameFromVdc: vdc is null";
    
    var vAppTemplates = System.getModule("com.vmware.pso.library.vcloud.qs").getVAppTemplatesByName(vdc.getHost(), name);
    
    var vAppTemplatesInVdc = new Array();
    for each (var vAppTemplate in vAppTemplates) {
        if (vAppTemplate.parent == vdc) vAppTemplatesInVdc.push(vAppTemplate);
    }
    return vAppTemplatesInVdc;
    

    You could change the other to verify the VDC name instead of the VDC object.

    if (vAppTemplate.parent.name == vdcName)
    

    Christophe.

  • Custom plugin dev problems

    Hello
    I have some custom plugins development problems:

    #1 : My autodiscovery works, but even when I delete the resources of the server, the dashboard auto-autodiscovers them immediately, making it impossible to remove these resources of the server.

    #2 : I want to follow firefox. My autodiscovery looks like:

    AutoDiscovery/public class extends ServerDetector implements

    {AutoServerDetector}

    public list getServerResources (ConfigResponse platformConfig)

    get {PluginException}

    Server list = new ArrayList();

    Server ServerResource; / / = createServerResource ("C:\\Program Files\\Mozilla Firefox\\firefox.exe");
    [long] pID is getPids ("State.Name.eq = firefox");. Name.State.EQ =
    getLog () .error ("query PTQL in fact autodiscovery plugin");

    Exe string = getProcExe(pID[0]);
    Server = createServerResource (new File (exe) .getAbsolutePath ());
    server.setDescription ("M FFox3");
    server.setName ("Mozilla Firefox server3");

    ConfigResponse productConfig = new ConfigResponse();
    productConfig.setValue ("process.query", "State.Name.eq = firefox");


    ConfigResponse cprop = new ConfigResponse();
    cprop.setValue ("process.query", "State.Name.eq = firefox");

    CustomProperties ConfigResponse = new ConfigResponse();

    server.setProductConfig (productConfig);
    server.setMeasurementConfig (cprop);
    server.setCustomProperties (customProperties);

    Servers.Add (Server);

    getLog () .error ("-> plugin DONE! <---") ;
    return of the servers;

    It worked fine until sometimes back, when suddenly he decided to stop working. These things are not AUTODÉCOUVERTS now.

    #3 : Even in the good old days where he used to work, I've never had the availability etc, (grey brand on the UI server-side)

    My AC - plugin.xml is like:

    <? XML version = "1.0"? >
    < plugin package = "kt" name = "kttwo" >

    < name of the filter = "domain" value = "My Auto Discovery" / >
    < name = "process.query property" value = "firefox" / > "
    < parameters name = 'Generic metric' >

    < alias metric = 'Availability' category = 'AVAILABILITY '.
    collectionType = "dynamic" flag = "true" name = "availability".
    Template="generic:type=ProcState,arg=%process.query%:State".
    units = "percentage" / >
    < / Parameter >

    < server name = "Mozilla Firefox server" >

    < plugin type = "autoinventory" class = "Automatic Detection" / >
    <!--
    < class = "org.hyperic.hq.plugin.generic.GenericMeasurementPlugin plugin"
    Type = "measure" / >-->
    < parameters include = 'Generic metric' / >


    < / Server >

    < / plugin >

    and my measurement.java is:

    Import org.hyperic.hq.product.Metric;
    Import org.hyperic.hq.product.MetricNotFoundException;
    Import org.hyperic.hq.product.MetricUnreachableException;
    Import org.hyperic.hq.product.MetricValue;
    Import org.hyperic.hq.product.PluginException;
    Import org.hyperic.hq.product.SigarMeasurementPlugin;

    Measure/public class extends SigarMeasurementPlugin {}

    public Measurement() {}
    TODO auto-generated constructor stub
    }

    @Override
    public MetricValue getValue (Metric arg0) throws PluginException,
    MetricNotFoundException, {MetricUnreachableException}
    TODO self-generating method stub
    getLog () .error ("scope of collection");

    Return super.getValue (arg0);
    }

    }

    Seen anything of significance in a newspaper (when auto-discovery used to work, and now when he doesn't), except that the getLog () .error ("scope of collection"); never appear in the newspaper.

    Thank you

    OK, it was almost just... Here is the small change of HQ - plugin.xml:

    -clip-


         
         
              
    collectionType = "dynamic" flag = "true" name = "availability".
    Template="sigar:type=ProcState,arg=%process.query%:State".
    units = "percentage" / >
         


              
              
    type = 'measure' / >
              
         
             

         


    -clip-

    By checking the process as you are now trying to do, use sigar. You had ' model = "generic".
    Then you can add the option of server on which this process query is stored and you can change it from the user interface. The default value is now "named", so you can see what your own Autodiscover class.
    To get the measure works, you have to kind of say that to the plugin. So I added the plugin to measure. You had something, but it has been commented on.
    To use you own special classes for the collection of measure, you must enter the plugin which is the new class to use.

    So good advice. When the development of a plugin, do it at the host where you are able to re - setup the environment of HQ. Sometimes badly coded or configured plugins will mess the database, and you do not your plugin works again. It's something I always do. If I know that my plugin should work but it doesn't, I'm going to re - install HQ.

  • Category of request HTTP AIC method

    Hello

    I'm working on my review of IPS for CCSP certification, I have a doubt about the difference between 'set the query method' and less ' recognized the method "http AIC method category, which I can understand set request method is used to define strategies with signatures that include a single HTTP method, however I can't think on the method of application signatures recognized how can be used I noticed that you can define several methods in a signature, so I think it's the same signature but applied to several methods at the same time. It has the same appearance with the MIME type, which also includes 'sets the type of content' and 'reconigzed content type. I'd appreciate if someone can give me an explanation or an example about these options.

    Thanks to all for your responses.

    Hello Fernando,

    Your interpretation is correct. recognized-request-methods are recognized by the sensor. This selection allows to easily to include every method that includes the sensor.

    Take a look at signature 12676/0 for an example of using recognized-request-methods and signatures 12712-12677/0/0 for examples of set-request-method is used.

    Thank you

    Blayne Dreier

    Cisco TAC team climbing

    * Please see our Podcasts *.

    TAC security show: http://www.cisco.com/go/tacsecuritypodcast

    TAC IPS Media Series: https://supportforums.cisco.com/community/netpro/security/intrusion-prevention?view=tags&tags=tac_ips_media_series

  • How to access select a value choice presents inside the query.

    Hi Experts ADF,

    JDEV 12.1.3.0

    I have a query Panel, which contains a selectonechoice in field.i.e of search category drop down.

    Now when you click on search how do I need to capture the value drop-down list. Based on the drop in value, I want to disable the button in the table that are in panelCollection

    Thank you

    Roy

    Hello

    you need to do your own processQuery of the af.query method

    EDIT:

    I forgot to add the link Ashish Awasthi (Jdev/ADF) Blog: the substitution of the listener default query, validation in the field of af: query-Oracle ADF

    Kind regards

    Ruben,

  • Question LOV cascading with the plugin Select2

    Version 4.1.1.00.23

    Hello

    I have a plugin Select2 Setup like a multiple-selection list.

    I have a second Select list that is configured as a page item list select Standard.

    I try to have the second element of the page list select Standard like a waterfall LOV based on the plugin Select2, so when one or the values are selected in the plugin Select2 I want the list item select Standard to hold the values based on the plugin Select2.

    The Standard selection list has the Parent article (s) as the plugin Select2 LOV waterfall and the query made reference to the plugin Select2.

    Since the plugin Select2 likes the selection list Standard may not Submit/redirection is why my list select Standard is not get the values. I tried to put a dynamic Action to requery the list select Standard when the plugin Select2 is changed, but looks like there is no case of "onchange" of the plug-in.

    Can someone help me to get this set up?

    Can what additional information I predict or explain?

    Thank you

    Joe

    Joe,

    I faked your question on an instance of APEX 4.1 and I managed to make it work as follows:

    Remove the dynamic action of one of my previous posts. Use the following dynamic action:

    -Event: Change [Select2]

    -Selection Type: Item (s)

    -Article (s): P6_DEP

    Add two real actions:

    -Action: Execute the PL/SQL Code

    -PL/SQL Code: apex_util.set_session_state ('P6_DEP',: P6_DEP);

    -Items to submit: P6_DEP

    -Elements of return:

    -Action: update

    Items affected

    -Selection Type: Item (s)

    -Article (s): P6_EMP

    The definition of LOV's P6_EMP is based on a PL/SQL function that returns a query as a string.

    List of values definition: return get_emp_query(:P6_DEP);

    Below the get_emp_query function:

    create or replace function get_emp_query(in_teams in varchar2)
    return varchar2 is
      l_teams varchar2(32767);
      l_emp_query varchar2(32767);
    begin
      l_teams := replace(in_teams, ':', ','); 
    
      l_emp_query := 'SELECT ename, empno
                      FROM emp';
    
      if (l_teams is not null) then
        l_emp_query := l_emp_query || ' WHERE deptno IN (' || l_teams || ')';
      end if;
    
      l_emp_query := l_emp_query || ' ORDER BY 1';
    
      return l_emp_query;
    end get_emp_query;
    

    You have to be able to use an element of selection mode multiple select2 to dynamically filter the values in your resource item.

    BR,

    Nick

  • vCloud 5.1 Plugin with vCO 5.5 + vCloud Director 5.5: Probable incompatibility?

    Hello

    I found that when you use the following combination vCenter Orchestrator is impossible to enumerate objects vCloud Director below the level of vDC of organization:

    • vCloud 5.5
    • vCO 5.5
    • vCloud Director Plugin for vCO 5.1
    • Logging on to the Organization of the system.

    The following error is reported in the newspapers - I pointed out the relevant sections. What seems to happen is that the following method: com.vmware.vmo.plugin.vcloud.VCloudEntityResolver.getEntityByReference is called, but fails with this exception: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: javax.xml.bind.JAXBElement.name invalid final field. Is there a workaround currently available or a release of out-of-band of the vCloud Director plugin compatible with 5.5?

    Any help beyond "this is an unsupported configuration", and "a compatible plugin will be released later this year" would be appreciated, because we depend on vCO to supply our daily operations.

    Here is the stack complete error in the case of the developers look on this post:

    2013 10-15 10:56:23.021 - 0400 [http-bio-ip-8281-exec-16] ERROR {} [VCloudPluginFactory]

    com.vmware.vmo.plugin.vcloud.VCloudPluginException

    at com.vmware.vmo.plugin.vcloud.VCloudEntityResolver.getEntityByReference(VCloudEntityResolver.java:107)

    at com.vmware.vmo.plugin.vcloud.VCloudPluginFactory.hasChildrenInRelation(VCloudPluginFactory.java:206)

    at sun.reflect.GeneratedMethodAccessor136.invoke (unknown Source)

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

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

    at ch.dunes.vso.sdk.DirectInvoker.invoke(DirectInvoker.java:55)

    at ch.dunes.vso.sdk.SDKDatasourceInvoker.hasChildrenInRelation(SDKDatasourceInvoker.java:136)

    at ch.dunes.vso.sdk.SDKFinder._hasChildrenInRelation(SDKFinder.java:266)

    at ch.dunes.vso.sdk.SDKFinder.hasChildrenInRelation(SDKFinder.java:241)

    at ch.dunes.vso.sdk.ModulesFactory.hasChildrenInRelation(ModulesFactory.java:534)

    at com.vmware.o11n.sdk.EnhancedScriptingSDK.hasChildrenInRelation(EnhancedScriptingSDK.java:104)

    at com.vmware.o11n.service.sdk.SdkModuleServiceImpl.hasChildrenInRelation(SdkModuleServiceImpl.java:66)

    at com.vmware.o11n.service.factory.VcoFactoryFacade.hasChildrenInRelation(VcoFactoryFacade.java:1613)

    at sun.reflect.GeneratedMethodAccessor141.invoke (unknown Source)

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

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

    at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:92)

    at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:83)

    at com.vmware.o11n.service.webremoting.VcoDelegatingWebFacade.invokeOperation(VcoDelegatingWebFacade.java:106)

    at com.vmware.o11n.integration.initialization.VcoFactoryServiceFacadeProxy.invokeOperation(VcoFactoryServiceFacadeProxy.java:86)

    at sun.reflect.GeneratedMethodAccessor119.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.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)

    to com.sun.proxy. $Proxy104.invokeOperation (unknown Source)

    at sun.reflect.GeneratedMethodAccessor118.invoke (unknown Source)

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

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

    at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205)

    at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38)

    at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)

    at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114)

    at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:73)

    at org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:67)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:95)

    at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

    at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680)

    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)

    to org.apache.coyote.AbstractProtocol$ AbstractConnectionHandler.process (AbstractProtocol.java:585)

    to org.apache.tomcat.util.net.JIoEndpoint$ SocketProcessor.run (JIoEndpoint.java:312)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

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

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.GeneratedMethodAccessor150.invoke (unknown Source)

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

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

    at com.vmware.vmo.plugin.vcloud.VCloudEntityResolver.getEntityByReference(VCloudEntityResolver.java:105)

    ... more than 56

    Caused by: com.thoughtworks.xstream.converters.reflection.ObjectAccessException: javax.xml.bind.JAXBElement.name invalid final field

    at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.validateFieldAccess(PureJavaReflectionProvider.java:149)

    at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:105)

    at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(ReflectionConverter.java:44)

    at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)

    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:68)

    at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:47)

    at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)

    to com.thoughtworks.xstream.converters.reflection.ReflectionConverter$ 1.writeField(ReflectionConverter.java:81)

    to com.thoughtworks.xstream.converters.reflection.ReflectionConverter$ 1.visit(ReflectionConverter.java:59)

    at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:108)

    at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(ReflectionConverter.java:44)

    at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)

    at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:68)

    at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:47)

    at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)

    to com.thoughtworks.xstream.converters.reflection.ReflectionConverter$ 1.writeField(ReflectionConverter.java:81)

    to com.thoughtworks.xstream.converters.reflection.ReflectionConverter$ 1.visit(ReflectionConverter.java:59)

    at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:108)

    at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(ReflectionConverter.java:44)

    at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(ReferenceByXPathMarshaller.java:36)

    at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:46)

    at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(ReferenceByXPathMarshallingStrategy.java:17)

    at com.thoughtworks.xstream.XStream.marshal(XStream.java:476)

    at com.thoughtworks.xstream.XStream.marshal(XStream.java:466)

    at com.thoughtworks.xstream.XStream.toXML(XStream.java:438)

    at net.sf.beanlib.utils.xml.XmlUtils.toXml(XmlUtils.java:28)

    at net.sf.beanlib.utils.ObjectUtils.deepCopy(ObjectUtils.java:32)

    at com.vmware.vmo.plugin.vcloud.model.ModelHelper.cloneObject(ModelHelper.java:453)

    at com.vmware.vmo.plugin.vcloud.model.Vdc.getInstance(Vdc.java:88)

    ... more than 60

    XStream library must be updated to version 1.4.4 + to make it work with Java 7.

    Try the following (no guarantee that this will work, however)

    1. Stop the server vCO
    2. Locate the plugin files in your deployment of vCO directory (/ app-server/plugins/o11nplugin-vcloud.dar) and save it in a location sure.
    3. Open it with a program that can read zip files (like WinZip, WinRAR, etc.) and go to "lib" folder
    4. There should be a file named 'xstream - 1.x.y.jar'. Most likely, you will see "xstream - 1.3.1.jar' (version 1.3.1)"
    5. You need to replace by ' xstream - 1.4.4.jar' and maybe add a library more - ' xmlpull - 1.1.3.1.jar'. If you can't find these libraries on the Web, I can send them to you by e-mail.
    6. Remove directories temporary tomcat in the vCO directory (/ app-server/work /, / app-server/temp /)
    7. Start the server vCO

    I don't have a working vCloud environment to test, so it cannot work without having to recompile the plugin, but it won't hurt to try.

  • plugin to cancel the registration of the force

    I made the mistake of someone give too many rights on our VC before they don't

    were perfectly seasoned and instead install the VSC (virtual storage NetApp

    Console) on our VC and recording then they installed on their virtual server

    Office and then registered the plugin... anyway this virtual machine is no longer

    with us, and now we have an error in the CR that he cannot contact the server... I have

    disabled it cannot figure out how to remove it... I even tried

    install the plugin on a different system and exchanged IPs but I could not do

    to register or unregister so we're basically stuck VSC, i.e. by

    a problem.

    Is there a way to force VC write a plugin when the device that

    registered, it no longer exists?

    I surfed on the forums and the closest thing I could find was this...

    http://communities.VMware.com/thread/254648

    That looked like it has been resolved on the side side not the VC capacity IQ... it's early versions of NetApp of VSC so I have not seen a way to force registration.

    Take a look at this article: pluginExtensionManager.pl

    There are two methods no recording a plugin, the latter is quite simple because it can be done via the browser. Just after the directions and screenshots and see if that helps

    =========================================================================

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

  • JDev 11.1.2.1 method Execute (with bind variable) before the page is displayed

    Hi all

    I have a view object with a query that uses a variable binding. I drag the data on my .jsf page control to create a table. I create a query method on a bean in sight. The query method uses the content of one of the attributes of the bean to set the link for the query variable:

    vo.setNamedWhereClauseParam ("CraIdBindVar", sessionBean.getCraId ());

    I put a button on the page that calls the method of the request and it fills the table. That's fine, but I don't want the user to have to click the "query" button when browsing this page. I found forums dealing with create an AMImpl.jave method, create a link on the page, create an executable file for the link. It works that the method is executed until the page appears. However, the AMImpl method cannot call sessionBean.getCraid () to obtain the data required to complete the binding variable.

    Is it possible to run my method of view range bean before the page is displayed? Or maybe a way for the AMImpl.java method to access the range of view variable?

    Thank you, Steve

    Steve,
    You can drag a call method on the workflow activity. Select the new method call activity, and open the property inspector. Here you choose your bean method in the method property. Now, first of all, you go to this activity of method call, then the page.

    Timo

  • Can we still use NOT_SUPPORTED and supported for any request method?

    Hi all

    Because the database selection didn't need a transaction (Please correct me if that's wrong), define the level of transaction "NOT supported" or "Supported" for all of these methods that question only something database?

    Maybe these methods will be called in other in a transaction, so "NEVER" cannot be used.

    My question is: is there a reason to get a transaction for methods without any insert/update of database?

    Say there are three beans as below:

    @Stateless
    @TransactionManagement (TransactionManagementType.CONTAINER)
    / public class InsertBean implements {Insert}
    @Override
    @TransactionAttribute (TransactionAttributeType.REQUIRED)
    {} public void createUsers (< user > list of users)
    INSERT INTO user WHERE...
    }
    }

    @Stateless
    @TransactionManagement (TransactionManagementType.CONTAINER)
    / public class QueryBean implements Query {}
    @Override
    @TransactionAttribute (TransactionAttributeType.NOT_SUPPORTED)
    public int getUserNumber() {}
    SELECT COUNT (*) FROM user
    }
    }

    @Stateless
    @TransactionManagement (TransactionManagementType.CONTAINER)
    / public class UpdateBean implements {update
    @Override
    @TransactionAttribute (TransactionAttributeType.REQUIRED)
    {} public void updateUsers (list < user > users)
    UPDATE user SET logindate = xxx WHERE...
    }
    }

    Insert and update requires a transaction and not the query. If there is a method of bean called as:

    InsertBean.createUsers (users);
    int n = QueryBean.getUserNumber ();
    UpdateBean.updateUsers (users);

    In this case, that the level of transactions for getUserNumber() request method must not be 'NEVER', only 'SUPPORTED' or 'NOT_SUPPROTED' is reasonable. But 'NOT_SUPPORTED' is more effective. So can I use level 'NOT_SUPPORTED' for all methods of query?

    If sometimes the query method must be in a transaction could you share?

    Thanks in advance.

    When the query is running for a long time and you who call inside the transaction, the transaction may time out.
    In this case you would go non-supported, so that this transaction manager can take the action when the method
    is called within a transaction. Otherwise it does not really matter.

  • the sql XML query report conversion - sound the alarm

    Hi all

    I have a custom report based on an sql query (method-sql * more) I need to convert this report in XML. I followed these steps
    I have generated the xml file by opening this request in the rdf generator (file > > generate > > xml)
    I open this XML file in word and do the rest of the treatment
    Copy the original simultaneous program (copy to option in set the window)
    changed the short name and the type of output as XML (the same method and executable retention)
    Add newly build it program at thr group asks even the original program in conc
    now, if I run this program it will show a warning when I checked the journal (Journal of the conc program manager administer) it displays following error
    > > caused by: oracle.xdo.parser.v2.XMLParseException: beginning of the element root waited.

    When I checked the XML code (from diagnostics) I was following the text by giving parameters
    > > whitespace is not allowed at this location. Error processing resource
    > > Semi colon character was expected. Error processing resource

    I checked the preview while I was preparing the model in word, it was a weather display data
    by giving the same parameters for which I generated the XML code, it shows the same warning in apps
    The log file also has the data...

    I use reports 6i, XML 5.6.2 and apps 11.5.10.2

    kindly help me to solve this

    Thanks in advance

    Shivdeep Singh

    first question - did you just change the output format of your concurrent request (with the executable, type SQL * more) in XML format and add a template to it?

    If this is the case, I'm not surprised, you get an error. You must ensure that you generate actual XML output. If you run the query and then click on the "Diagnostics" button, you will see a button saying 'display XML '. Click on this to see what you get. If you get an error, then it is not correct XML.

    This is the case, you have several options:

    1. create a data model and use it to create the XML file
    2 use the XML features in your query to generate XML (never tried so cannot guarantee this will work)
    3. use file rdf reports to generate the XML file
    4 generate the XML of PL/SQL file

    I suggest that you try option 2 first of all it should be pretty fast & easy to test, then use option 1 as the best solution if it does not work.

    Good luck!

Maybe you are looking for

  • Update to OSX.  Questions about Parallels

    I'm about to upgrade to OSX El Capitan of 10.6.8.  (I know it's time) My question (s)? 1.) Will the 9 of Parallels Desktop for Mac (v. 9.0.2451) running on OSX? I use Parallels to run Windows 8.1, which I use to run Quicken Home and Business 2015 R 1

  • Update problem 6.70 BIOS with Satellite Pro C850-172

    I have two problems with the update the BIOS (the 1 is more important then the 2nd one): 1. in the attempt to install the BIOS Update 6.70 - WIN (29/11/13) it is said that:"The version of the ROM file is the same as that of the BIOS.and it stops. In

  • El Capitan too far?

    2011 MacBook Air.   2 GB OF RAM.   Always updated OS is up-to-date, but El Capitan seems too far.   Beach ball in Safari etc. Etresoft run suggest OF RAM.    If so, can I somehow return to Yosemite, which seems to work very well.   This MBAir has bee

  • Printer HP 5610 stopped printing from Vista

    A printer driver can simply disappear.  I am trying to download one, but I get a message from HP that the computer already has the driver. I don't have the disk. * original title - HP 5610 printer stopped printing. Showed the paper jam first, but he

  • Error 1275 during installation of Sherlock Holmes against Jack the Ripper (in French)

    Hello! I was installing Shelock Holmes against Jack the Ripper (in French). The Installation went well, but when it's time to open the game, the user account control appears (I click 'Yes'), then a message apears: "the drivers require installation (w