orgVdcNetwork.configuration.ipScope return null after upgrade to 5.1

I'm currently testing my workflow because I upgraded my environment at 5.1.  It seems that orgVdcNetwork.configuration.ipScope now returns a null value for all of my orgVdcNetwork.  I was recovering information gateway and dns for use in my workflow of the ipScope.  I can't understand where that information went.  I tried it tears of the ExternalNetwork as well, and it's also coming back as null there.  I've rechecked in vCD and everything seems seems correct through the web administration tools.

Paul

Hello Paul,

orgVdcNetwork and Exnternal networks are containing a list of ipScopes in vCD 5.1. In vCD to 1.5 was only a single ipScope.

In order to get the ipScopes of orgVdcNetwork as a table, you can do:

var ipScopes = orgVdcNetwork.configuration.ipScopes.ipScope.enumerate ();

Enumerate() funtion replaces list table. If you have a single ipScope in the list, you can use it as
ipScopes [0];
Same thing can be applied to external networks.
I hope this helps!

Tags: VMware

Similar Questions

  • PersistentObject.getContents () returns null after app update

    Hello

    I'm trying to track down a bug with PersistentStore.
    Usually when I update the app I get the getContents() stored content.
    However, something in the code has changed from one version to the other and now getContents() returns null.

    I made sure the id has never changed for PersistentStore.getPersistentObject (id);
    I made sure that we use the same basic sdk (4.3.0)
    I made sure that there are the data stored in the stored hash table

    Currently, it's a hash table - no subclass (even though I know that I should change it to a subclass when it's fixed);

    I wonder if there are any suggestions on what might cause the getContents() return null - or which could result in the PersistentStore have cleared.

    What information is needed, please let me know and I'll paste.

    I found the problem after.

    Classes have begun to obscure differently. If the hash table was still readable, but because he could not read the content of the hash table, he would return null.

    It was unexpected, because if you have a custom class persisted and you try to read it, you will get the content, but you can't cast. But with the hash table, it does not return the content (uncastable) and it throws no exceptions...

    I hope this helps someone else who has a similar problem.

  • VimClient.FindViewEntities returns null after a period of time

    Hi all

    I'm hosting a c# webservice in IIS that makes calls against our instance of vsphere to carry out certain functions.  A basic call is to get a list of all virtual machines.  Every so often, the webservice will get in a State in which the call returns a null value (we always have lots of virtual machines to the top):

    List<EntityViewBase> views = c.FindEntityViews(typeof(VirtualMachine), null, null, null);
    if (views== null) throw new Exception("List of VMs from VimClient.FindEntityViews is null!");
    

    At this point, I believe that this occurs if the Web service has not been restarted or recycled in some time.  Most likely, I'm storing the VimClient incorrectly.

    I'm caching of connection of VimClient in the following way.  My reason for doing this is so save time on calls (it takes about 20 seconds to call VimClient.Connect () to each webservice call, if I don't do this).

    (1) for Web service starts, I give the floor

    private static VimClient _vsphereClientConnection = null;
    _vsphereClientConnection = new VimClient();
    ServiceContent sc = _vsphereClientConnection.Connect(vsphereServerURL);
    UserSession us = _vsphereClientConnection.Login(vsphereUsername, vspherePassword);
    

    (2) I can enter this instance of the VimClient every time I need to perform a function at the instance of vSphere

    public static VimClient VSphereClientConnection
    {
     get 
    {
     Initialize.waitForInitialization(0);
     return _vsphereClientConnection; 
    }
    }
    

    where Initialize.waitForInitialization () checks if VimClient has completed the connection to vSphere.

    I cache this connection wrong?  Is there a better way to do this / a how to do it at all?  Or maybe I make a wrong assumption about why FindEntityViews returns null.

    I thought I could detect in the VSphereClientConnection property if the connection has expired in any way and re - connect, but it's not ideal because then the user must wait until the initialization again.  I'm also not sure how to check if the service is in bad shape without making a call that I know does not work in these States 'bad '.

    Thank you

    Jason

    You can call SessionManager.sessionIsActive () to validate a session.  You could also do some other data requests.  Firewall between you and vCenter can sometimes drop idle connections (vCenter has a vpxd.httpClientIdleTimeout configuration value to increase or decrease and it should be higher that your firewall connection inactive drops).

    You can also simply cache the session ID (which is essentially in the cookie).  I don't know if the c# Toolbox has hooks to do this easily, however.  Perl, and it works very well in web servers.  The logic is get sessionID, attempting to load the existing session, in case of failure, try the new name of connection with the stored credentials.

  • % ROWCOUNT SQL return null after Forms_DDL on a dynamic SQL

    Hello

    I'm new to PL/SQL coding and is currently working on the development of some application in Oracle Forms as a result of the 10 g developer.

    I'm having a problem getting a number of lines (number of rows affected by the last command dml) to register after using forms_ddl
    PROCEDURE P_SQL_UPDATE IS
    
      L_string1                VARCHAR2(250);
      L_string2                VARCHAR2(250);
      L_string3                VARCHAR2(250);
      L_string4                VARCHAR2(250);
      L_rowcount                Pls_integer;
      L_count                  NUMBER;
      L_alert                       NUMBER;
    
    BEGIN
    
      L_string1 := 'UPDATE ' || :global.G_table_nam || ' SET ';
      L_string2 := NULL;
      L_string3 := ' WHERE ';
      L_string4 := NULL;
    
    ...
    ... building strings 2 and 3
    ...
    
    :global.final_sql := L_string1 || L_string2 || L_string3 || L_string4;
    
      FORMS_DDL(:global.final_sql);
      L_rowcount := SQL%ROWCOUNT;
    
      if FORM_SUCCESS then
        set_alert_property('ALT_COMMIT_ROLLBACK',ALERT_MESSAGE_TEXT, 'The # of rows affected: ' || L_rowcount || CHR(10) || 'Commit or Rollback?');
        L_alert := show_alert('ALT_COMMIT_ROLLBACK');
        if L_alert = ALERT_BUTTON1 then
          commit;
        else
             rollback;
        end if;
      else
        set_alert_property('ALT_INFO',ALERT_MESSAGE_TEXT, 'Error: ' || DBMS_ERROR_CODE  || ' - ' ||DBMS_ERROR_TEXT);
        L_alert := show_alert('ALT_INFO');
      end if;
       
    END;
    I tried to replace the global variable with a string 1 potential SQL hard coded, I changed L_rowcount to digital, attempted to directly display rowcount % SQL via dbms_output.put_line... L_rowcount is just empty during the pop-up alert.

    Another solution has been L_rowcount: = DBMS_SQL. LAST_ROW_COUNT; ... This gives a slightly different result in the alert window, instead of being white, it returns 0. If something is definitely not right. Another is that in doing so, he always returned null/one field blank on the alert popup.

    I have run tests on SQL % number of lines in the editor of TOAD and got results, but during the actual shape that l_rowcount is always null after the execution of the procedure (with the exception of being 0 using the dbms_sql.last_row_count).


    I want to emphasize that change is not introduced without the additional validation in the FORM_SUCCESS at the end... I had read that the Forms_DDL is an implicit validation and committing the SQL without anything else happening... This seemed a little odd as well.

    Before forms_ddl, I tried to use execute, exec, or run immediately on the SQL, but nothing helped. I think of one other option would be to pass this SQL to a datablock again together and use to execute query on this block? Don't know how to go about it.



    The purpose of this form is intended for users to enter values in a generic form and when he meets the validation in the field triggers, they will support on submit and ideally before the update is committed I want users to be notified of the # of lines that would be affected by their proposed... change so if the # is huge they will know that they did something wrong before they affect the entire database.


    Any input would be appreciated,
    Travis

    Travis,
    The built-in function Forms_DDL() emits an implicit VALIDATION because the transaction is issued as DDL no DML. Therefore, given that the VALIDATION is the last command issued by the call of Forms_DDL, the attributes of the cursor of the implicit cursor (SQL) will all be set to NULL. If you absolutely must have the number of LINES of the documents concerned, you can create a database program unit that you can spend your dynamic statement too and have it return zero (failure) or the number of affected records (success).

    In addition, since Forms_DDL() emits an implicit VALIDATION, you must create a BACKUP point before calling Forms_DDL() If you want the ability to RESTORE any changes made in the call to Forms_DDL().

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

    Published by: Silvere July 26, 2011 09:29

  • Why Windows Aero does not work after upgrade RAM?

    After that I recently updated my computer desk with 2 new modules 1 GB DDR PC3200 400 mhz 184pin RAM

    PROBLEMS:
    * Windows Aero stopped working.
    * Windows recognizes only 3.5 GB of RAM on 4.
    * Windows Experience Index will not refresh the WEI Score.
    Any help with this?
    I'm back to the old RAM modules and all is well, but whenever I update the last two RAM modules, these errors occur.

    MY RIG:
    OS: Windows 7 Ultimate.
    SR1830NX Compaq
    Max supported RAM: 4 GB PC3200 400 Mhz 184pin DDR (4 Slots of 1 GB each)
    Configuration of the RAM before upgrading (physical)
    SLOT 1: 1 GB
    SLOT 2: 1 GB
    SLOT 3: 512 MB
    SLOT 4: 512 MB
    (although she had 3 GB installed, only 2.5 were recognized).
    Configuration of the RAM after upgrading (physical)
    Slots 1-4: 1 GB each
    Configuration of the BIOS:
    Slot SCHEDULES 1,2 & 4: 1 GB in each slot
    SLOT 3: 512 MB (even if it has 1 GB installed in this slot)

    You seem to have a hardware failure with slot 3. See if there is an update to the BIOS of your card mother, but don't hold your breath. There may not be one and he will probably not correct the problem if there is.

    There is always to be small amount of RAM allocated to the system. Integrated video will be stick like a leech some as well as the network interface card. It's normal, regardless of the version of the installed operating system bit...

  • When I reboot after installation of service pack 2, the message comes out and says that updates are not configured correctly, returning from changes

    When I reboot after installation of service pack 2 on a computer laptop with Windows Vista Home Premium 32-bit Dell XPS M1530, the message comes out and says that updates are not configured correctly, returning from changes. Do not turn off your computer. I installed update readiness tool, but it does still every time. I tried to disable the antivirus software prior to installation.

    Hello
     
     
     
    1. how you try to install Service Pack 2?
    2. are you able to boot to the desktop?
     
     
    Method:
    Step 1: If you are able to start the computer in normal mode, then try a clean boot.

    To help resolve the error and other messages, you can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135
    Please note: after troubleshooting, start the computer in normal mode.

     
    Step 2: Try to install Service Pack 2 manually.
     
    How to obtain the latest Windows Vista service pack

     
     
    If you are unable to start the computer, then you can follow this link to start the computer in safe mode.
    Start your computer in safe mode
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode
     
     
     
     
    If you are unable to install Service pack 2, you can consult this article.
    Error: Failed to setup of the Windows updates. Restoration of the changes. Do not turn off your computer when you try to install Windows updates
    http://support.Microsoft.com/kb/949358
    Please note: method 2 refers about upgrade on site.  Perform a repair installation/place will not damage files and applications that are currently installed on your computer.   However, I suggest you to back up all important data on the computer before you perform the upgrade on the spot.
     
     
     
     
     
     
     
  • Automatic updates from the update configuration failure; Returns the configuration of previeous... Does anyone else have this problem? It started right after I uninstalled Norton anti-virus.

    I get the auto-mises to day ok; my machine tells me ' don't turn or turn off your computer, install the update 1 of 4' but when I can back up the next day I get the same message except that he says it configures windows updates... then after a while, said "failure to configure updates, return to the preveious configuration & rises."   That is what it is?

    Hello

    ·         You receive error messages?

    ·         This happens with all the updates?

    ·         What are the updates, those who are causing these question?

    Method 1:

    Try running this utility for troubleshooting and check if it works: Open the troubleshooting Windows Update tool http://windows.microsoft.com/en-US/windows7/Open-the-Windows-Update-troubleshooter

    Also try to reset the windows update components: How to reset the Windows Update components? http://support.Microsoft.com/kb/971058 (also applies to Windows 7)

    Method2:

    I suggest you put the system to boot and see if the problem still occurs. Follow the steps mentioned in the article mentioned below.

    How to troubleshoot a problem by performing a boot in Windows Vista or in Windows 7 http://support.Microsoft.com/kb/929135

    Note: when you are finished troubleshooting, follow step 7 to start the computer in normal startup.

    Method3:

    Also, try to follow the steps in the article next, if the above methods do not work:

    The update is not installed successfully, you receive a message, and the computer restarts when you try to install an update in Windows Vista and Windows 7 http://support.Microsoft.com/kb/949358

  • Error after upgrade to iOS 9, code of return and Xcode 7: 65

    Hello

    I could deploy applications on iPhone before updating to 7 Xcode and iOS9 (automatically).

    I use Jdeveloper 12.1.3.

    Now, I get the error:

    [19: 02:19] run command line: xcodebuild-window Oracle_ADFmc_Container_Template archive archivePath - /Users/user/jdeveloper/mywork/ProductList/deploy/iOS2iTunes2iPhone/Destination_Root/ProductList.xcarchive - sdk iphoneos IPHONEOS_DEPLOYMENT_TARGET = 7.0 TARGETED_DEVICE_FAMILY = 1 ADD_SETTINGS_BUNDLE = No. PRODUCT_NAME = ProductList CODE_SIGN_IDENTITY = iPhone Developer: name V (12345XYZ)

    [19: 02:41] orders for next generation failed:

    [19: 02:41] command-line execution failed (return code: 65)

    [19: 02:41] undeployment.

    [19: 02:41] - incomplete deployment.

    [19: 02:41] could not build the iOS application pack.

    [19: 02:41] deployment failed due to one or more errors returned by 'xcodebuild.  What follows is a summary of the returned error:

    Command-line execution failed (return code: 65)

    Orders for next generation failed:

    Ld /Users/user/Library/Developer/Xcode/DerivedData/Oracle_ADFmc_Container_Template-gwxjznarmoyczadsnbxmvfmebqni/ArchiveIntermediates/Oracle_ADFmc_Container_Template/IntermediateBuildFilesPath/Oracle_ADFmc_Container_Template.build/Release-iphoneos/Oracle_ADFmc_Container_Template.build/Objects-normal/armv7/ProductList normal armv7

    (1 failure)

    And in fact the ProductList file is missing in this way!

    What could be the reason?

    Someone at - it experience with deploying applications after upgrading to Xcode 7?

    Thanks for your help!

    Klemens

    Hello.

    XCode 7 don't is not supported with MAF for now. Our goal is to support in our next major release.

    Just rename your current installation of XCode to something else (XCode 7 would be nice), then download and install XCode Developer Center 6 Apple. You MAF should run without any problem on iOS 9 anyway.

    Best regards

    Frédéric Desbiens

    Senior Product Manager

    Mobility and Cloud oracle

    Twitter: @BlueberryCoder

    blog: http://blogs.oracle.com/blueberry

  • Configuration error 1 after upgrading to Mac OS Sierra (Illustrator)

    Hello world

    After that I have upgraded to Mac OS Sierra, some of my Adobe software started crashing. Adobe Acrobat XI opens but unexpectedly stops after a few seconds. But above all, Illustrator does not start. I get the Configuration error message (error 1) and suggested to uninstall and reinstall the software (which doesn't help).

    I tried to change the permissions for the files SLStore and Adobe PCD. And indeed, the permissions for Adobe PCD have been set to read only for the admin.

    Unfortunately, change the permissions did not help. I get the same error message. Also, once I have reinstall the software, change the permissions to read-only.

    It happened just after upgrading to Mac OS Sierra. I have no backup, so downgraded to El Capitan is not an option.

    Please help, the standard solution has not worked for me and I need Illustrator to survive.

    (I use a Macbook Pro; 13 Retina display. end of 2015; 2.7 GHz Intel Core i5 processor; 8 GB 1867 MHz DDR3 memory)

    Elkoban if you create a new admin account you encounter the same error?  You can find details on how to configure a new account Administrator install or run Adobe applications in the new user account. Mac OS X .

  • Lack of Configuration section in VAMI, vCenter active watch is not Accessible after upgrade from 5.5 to 5.8

    Hi all!  I'm having a bit of a problem that I can't find a solution for anywhere.

    I have a lab with two boxes of vcsa under 5.5 U2d, and wanted to move to 5.8 SRM.  I started the VRA 5.5.1 (I do not remember, real version number which was with MRS 5.5.1), mount the ISO 5.8 on both sides, restarted both, took the update of the CD (following the official update steps), but after the restart, the two vCenters show "enabled (not available)" and still list it as 5.5.1.

    I have validated the RV service is running.  I have been following this thread, regenerated certificates for the TWO vCenters & TWO VRAs: vsphere upgrade from 5.5 to 5.8 Server replication enabled (not accessible) has yet no joy.

    I checked the CROWD and the IP address is correct.  I tried to check /opt/vmware/hms/conf/extension.xml for the thumbprint and the file does not exist on each box, the only thing it is extension - template.xml.

    On the one hand, I have reset the vCenter database (/ usr/sbin/vpxd - d of VMware KB: reset the vCenter Server repository embedded for vCenter Server Appliance 5.x ), deployed a new VRA 5.8, and he had to register very well.  It's then it dawned on me what missed me: almost all the Startup Configuration where you specify the vCenter (see attachment)

    For grins, I recorded the VRA 5.8 of the 'old' vcsa work and tried to save it to the 'new' vcsa, which he could not with a lot of what looked like errors, assuming that because of 'new' vcsa already having a recorded SOAP VRA.  I re-recorded it back to the 'old' vcsa and is happy.  Installed SRM 5.8 (uninstalled 5.5 because I started with a clean database in the vcsa) and all is well on the side of the 'old '.

    I'm trying not to go this route on the 'new' side, as I a VDS, vSAN and twice as many hosts, so I won't recreate the vDC, cluster, add guests, etc.  I copied to /opt/vmware/hms/conf/extension-template.xml /opt/vmware/hms/conf/extension.xml and restarted.  Footprint arises, but still no configuration tips.

    Anyone have any ideas?

    Thanks for your reply. You said that the VRA is on a cluster, East of thatcluster HA-enabled? Because where HA must restart the VRA on another host, it does so through the ESX host and this could have emptied the OVF environment. And to even you'll always a working configuration until you start the upgrade or you try to perform any operation through VAMI configuration page. To be on the safe side, I think before upgrade, you can power off and then turn the unit on (simple restart is not enough) to make sure that the EPS of the FVO is recreated.

  • After upgrading to Firefox 10; hompeage won't load, does not, the bookmarks bar does not return button

    After upgrade my mac to Firefox 10 my home page does not load, the back button does not work, there is no history in the URL bar (or any Demo URL come at all than), bookmarks bar does not display unless I press CTRL and right-click, none of my favorites display the connection information stored... Help! its driving me crazy!

    I just sort this problem! I restarted with modules disabled and started allowing one by one and found it had a problem with one of them. I have now deleted add it on and all is well back. Hope this works for you too!

  • Additional configuration after upgrade R12

    Hello Experts,

    We are currently in the process of updating 11i.5.10.2 to R12.1.3.

    We have the GL, AR and module of the R12 upgrade projects. The question is simple, after upgrade R12 do we need to do any additional setup to the subsidiary ledger or journal?

    If the answer is Yes, then pls guide me for the same thing.

    Thank you

    Atul

    Hi Atul,

    In addition to the above, please also visit:

    Below notes for GL:

    R12 upgrade: changes to wait in R12 from 11i (Doc ID 1443965.1) version

    R12 upgrade: Accounting Setup Manager Update pre diagnosis report (Doc ID 961742.1)

    Thank you &

    Best regards

  • After upgrade to El Capitan Time Machine does not automatically

    Recently, I upgraded my Macbook Pro and iMac 24 to El Capitan.  Time Machine does not automatically work on the iMac.   I now use the backup to get a backup to run.  MacBook Pro is very well.

    Thinking that this might be the associated time Capsule, I removed the disc from the Capsule and ran Spinrite on it.  Car is very good.  Then I deleted all the files on the Time Capsule and created new Time machine backups on two computers.  No problem, except the iMac not run automatically Time machine.

    And yes the selection for Time Machine is configured to run automatically.

    A bug in OS X 10.11.1 prevents automatic backups that happens when a desktop Mac (iMac, Mac mini or Mac Pro) is connected to a UPS (UPS) with the USB feature.

    Please, back up all data before proceeding.

    First, check the App Store for a later update to OS X. If it is available when you read this review, install it and see if the problem is resolved. I speak not beta versions.

    Otherwise, you can work around the bug as follows.

    These must be run as administrator. If you have only one user account, you are the administrator.

    Please triple - click anywhere in the line below on this page to select:

    sudo defaults write /Library/Preferences/com.apple.TimeMachine RequiresACPower 0

    Copy the selected text in the Clipboard by pressing Control-C key combination.

    Launch the Terminal application integrated in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste in the Terminal window by pressing the command-V key combination. I tested these instructions only with the Safari browser. If you use another browser, you may need to press the return key after pasting. You will be asked for your login password. Nothing displayed when you type. Type carefully, and then press return. If you do not have a password, you will need to configure one before you can run the command. You can get a warning to be careful. Confirm. You don't need to display the warning.

    If you see a message that your user name "is not in the sudoers file", then you have not logged as an administrator. Log in as one and start over.

    Wait for a new line ending with a dollar sign ($) below what you entered. You can then quit Terminal.

    Restart the computer and test.

    (Credit for this solution for chrfr of logicielmac.com).

  • ConnectionFactory.getConnection () returns null.

    ConnectionFactory connFact = new ConnectionFactory();
            ConnectionDescriptor connDesc = null;
            connDesc = connFact.getConnection(----here goes my url String----);
    

    Hi all

    In the code posted above, number In Line 3, reason for which the null value is returned by the statement "connFact.getConnection (- this is my String url-);"   and he is assigned to the variable 'connDesc '.  Although I was able to login successfully before 2 to 3 hours. but it is now return null...

    Could you please help me?

    Best regards,

    Hi Sir,

    After going through the link provided by you (and a few other sup on internet links), I was able to resolve the issue for now... I write the code for other users help here...

    Thank you for your support...

    Best regards.

    // make a list of transport types ordered according to preference (they will be tried in succession)
    int[] preferredTransportTypes = {TransportInfo.TRANSPORT_MDS, TransportInfo.TRANSPORT_WAP2};
    
    // Create ConnectionFactory
    ConnectionFactory factory = new ConnectionFactory();
    
    // Configure the factory
    factory.setPreferredTransportTypes( preferredTransportTypes );
    
    // use the factory to get a connection
    ConnectionDescriptor conDescriptor = factory.getConnection("http://www.blackberry.com");
    
    if ( conDescriptor != null ) {
    
       // connection suceeded
       int transportUsed = conDescriptor.getTransportDescriptor().getTransportType();
    
       // using the connection
       HttpConnection  httpCon = (HttpConnection) conDescriptor.getConnection();
       ...
    }
    
  • getCustomFiled default after upgrade to 5.5

    Hello

    After the Orchestrator upgrade to 5.5 I can is no longer run the 'getCustomField' action (nor the "Get Custom Attribute" workflow that which calls the Action) successfully. I get the following error:

    TypeError: Cannot read property 'length' undefined (name of the dynamic Script Module: getCustomField #11)

    After a short investigation, it seems that VcVirtualMachine.vimHost.customFieldsManager.field returns null (i.e., no custom attribute definitions are returned in the array of the field). If I browse to the crowd for the same vCenter I can see the table of customFieldDef without problems.

    The vCenter is still the 5.1 and the vCO is now 5.5 and therefore the plugin vCenter.

    Is anyone else seeing this?

    See you soon,.

    Milos

    Hello Milos,

    Could you try to deactivate the service of inventory? We have had many reports for the service of returning incorrect data inventory.

    To disable it, place the following line in your vmo.properties file, and then restart vCO:

    com.vmware.o11n.vim.useInventoryService=false
    

    BTW, I think that the inventory service will be deprecated in future versions (if not already).

    -Ilian

Maybe you are looking for