Virtual Dom

Hi,
I want to know if virtual DOM ( Lazy Manifestation ) support is available in XMLType datatype, if the
data is loaded as a CLOB instead of a Structured storage.
Thanks,
Divakar.

Hi,
I want to know if virtual DOM ( Lazy Manifestation ) support is available in XMLType datatype, if the
data is loaded as a CLOB instead of a Structured storage.
Thanks,
Divakar.

Similar Messages

  • Oracle 9i Release 2 Query Evaluation

    Hi,
    I have a general question regarding the mode of query evaluation in Oracle 9i release 2 XMLDB.
    Specifically whenever a query of the nature:
    select extract(...........)
    from.........
    is the query processed in a lazy mode or in an eager mode?
    Thanks
    JN

    Sorry I do not understand the question ?
    If the document stored in a table that is based on an XML Schema then the query should be resolved using XPATH re-write to convert from a XPath based expression into an equivilant SQL expression.
    Lazy loading comes into play when the data is retrieved. If the extract() results in a large node set, multiple levels deep, with collection of elements that are defined as ComplexType Lazily Loaded Virtual Dom processing would take place when the result of the extract was processed.

  • [9i] poor performance with XMLType.transform

    Hello,
    I've got a problem with the Oracle function XMLType.transform.
    When I try to apply a XSL to a big XML, it is very very slow, and it evens consumes all the CPU, and other users are not able to work until the processing is complete...
    So I was wondering if my XSL was corrupted, but it does not seem so, because when i apply it with Internet Explorer (by just double-clicking on the .xml), it is immediately applied. I've also even tried with oraxsl, and the processing is quick and good.
    So, i tried to use XDB, but it does not work, maybe I should upgrade to a newer version of XDB?
    Please find the ZIP file here :
    http://perso.modulonet.fr/~tleoutre/Oracle/samples.zip
    Please find in this file :
    1) The XSL file k_xsl.xsl
    2) The "big" XML file big_xml.xml
    Here you can try to apply the XSL on the XML with Internet Explorer : processing is very quick...
    3) The batch file transform.bat
    Here you can launch it, it calls oraxsl, and produces a result very quickly...
    4) The SQL file test_xsl_with_xmltype_transform.sql.
    You can try to launch it... First, it applies the same XSL with a little XML, and it's OK... And then, it applies the XSL to the same big XML as in point 1), and then, it takes a lot of time and CPU...
    5) The SQL file test_xsl_with_xdb_1.sql ...
    On my server, it fails... So I tried to change the XSL in the next point :
    6) The SQL file test_xsl_with_xdb_2.sql with a "cleaned" XSL...
    And then, it fails with exactly the same problem as in :
    TransformerConfigurationException  (Unknown expression at EOF: *|/.)
    Any help would be greatly appreciated!
    Thank you!
    P.S. : Sorry for my bad english, I'm a French man :-)

    This is what I see...
    Your tests are measuring the wrong thing. You are measuring the time to create the sample documents, which is being done very innefficiently, as well
    as the time take to do the transform.
    Below is the correct way to get mesasurements for each task..
    Here's what I see on a PIV 2.4Ghz with 10.2.0.2.0 and 2GB of RAM
    Fragments SourceSize  TargetSize createSource       Parse     Transform
            50      28014      104550  00:00:00.04 00:00:00.04   00:00:00.12
           100      55964      209100  00:00:00.03 00:00:00.05   00:00:00.23
           500     279564     1045500  00:00:00.16 00:00:00.23   00:00:01.76
          1000     559064     2091000  00:00:00.28 00:00:00.28   00:00:06.04
          2000    1118064     4182000  00:00:00.34 00:00:00.42   00:00:24.43
          5000    2795064    10455000  00:00:00.87 00:00:02.02   00:03:19.02I think this clearly shows the pattern.
    Of course what this testing really shows is that you've clearly missed the point of performing XSLT transformation inside the database.
    The idea behind database based transformation is to optimize XSLT processing by
    (1), not having to parse the XML and build a DOM tree before commencing the XSLT processing. In this example this is not possible since the
    XML is being created from a CLOB based XMLType, not a schema based XMLType.
    (2) Leveraging the Lazily Loaded Virtual DOM when doing sparse transformation ( A Sparse transformation is one where there are large parts of the
    source document that are not required to create the target document. Again in this case the XSL requires you to walk all the nodes to generate the
    required output.
    If is necessary to process all of the nodes in the source document to generate the entire output it probably makes more sense to use a midtier XSL engine.
    Here's the code I used to generate the numbers in the above example
    BTW in terms of BIG XML we've successully processed 12G documents with Schema Based Storage...So nothing you have hear comes any where our defintion of big.- 1 with Oracle 10g Express on Linux
    Also, please remember that 9.2.0.1.0 is not a supported release for any XML DB related features.
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:44:59 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool createDocument.log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> create or replace directory &1 as '&3'
      2  /
    old   1: create or replace directory &1 as '&3'
    new   1: create or replace directory SCOTT as '/home/mdrake/bugs/xslTest'
    Directory created.
    SQL> drop table source_data_table
      2  /
    Table dropped.
    SQL> create table source_data_table
      2  (
      3    fragCount number,
      4    xml_text  clob,
      5    xml       xmlType,
      6    result    clob
      7  )
      8  /
    Table created.
    SQL> create or replace procedure createDocument(fragmentCount number)
      2  as
      3    fragmentText clob :=
      4  '<AFL LIGNUM="1999">
      5    <mat>20000001683</mat>
      6    <name>DOE</name>
      7    <firstname>JOHN</firstname>
      8    <name2>JACK</name2>
      9    <SEX>MALE</SEX>
    10    <birthday>1970-05-06</birthday>
    11    <salary>5236</salary>
    12    <code1>5</code1>
    13    <code2>6</code2>
    14    <code3>7</code3>
    15    <date>2006-05-06</date>
    16    <dsp>8.665</dsp>
    17    <dsp_2000>455.45</dsp_2000>
    18    <darr04>5.3</darr04>
    19    <darvap04>6</darvap04>
    20    <rcrr>8</rcrr>
    21    <rcrvap>9</rcrvap>
    22    <rcrvav>10</rcrvav>
    23    <rinet>11.231</rinet>
    24    <rmrr>12</rmrr>
    25    <rmrvap>14</rmrvap>
    26    <ro>15</ro>
    27    <rr>189</rr>
    28    <date2>2004-05-09</date2>
    29  </AFL>';
    30
    31    xmlText CLOB;
    32
    33  begin
    34    dbms_lob.createTemporary(xmlText,true,DBMS_LOB.CALL);
    35    dbms_lob.write(xmlText,5,1,'<PRE>');
    36    for i in 1..fragmentCount loop
    37       dbms_lob.append(xmlText,fragmentText);
    38    end loop;
    39    dbms_lob.append(xmlText,xmlType('<STA><COD>TER</COD><MSG>Op?ation R?ssie</MSG></STA>').getClobVal());
    40    dbms_lob.append(xmlText,'</PRE>');
    41    insert into source_data_table (fragCount,xml_text) values (fragmentCount, xmlText);
    42    commit;
    43    dbms_lob.freeTemporary(xmlText);
    44  end;
    45  /
    Procedure created.
    SQL> show errors
    No errors.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> call createDocument(50)
      2  /
    Call completed.
    Elapsed: 00:00:00.04
    SQL> call createDocument(100)
      2  /
    Call completed.
    Elapsed: 00:00:00.03
    SQL> call createDocument(500)
      2  /
    Call completed.
    Elapsed: 00:00:00.16
    SQL> call createDocument(1000)
      2  /
    Call completed.
    Elapsed: 00:00:00.28
    SQL> call createDocument(2000)
      2  /
    Call completed.
    Elapsed: 00:00:00.34
    SQL> call createDocument(5000)
      2  /
    Call completed.
    Elapsed: 00:00:00.87
    SQL> select fragCount dbms_lob.getLength(xmlText)
      2    from sample_data_table
      3  /
    select fragCount dbms_lob.getLength(xmlText)
    ERROR at line 1:
    ORA-00923: FROM keyword not found where expected
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:01 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 50
    1 row updated.
    Elapsed: 00:00:00.04
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 50
    1 row updated.
    Elapsed: 00:00:00.12
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964
           500                       279564
          1000                       559064
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.01
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:02 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 100
    1 row updated.
    Elapsed: 00:00:00.05
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 100
    1 row updated.
    Elapsed: 00:00:00.23
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.03
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564
          1000                       559064
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.01
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:02 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 500
    1 row updated.
    Elapsed: 00:00:00.12
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.03
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 500
    1 row updated.
    Elapsed: 00:00:01.76
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:04 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 1000
    1 row updated.
    Elapsed: 00:00:00.28
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 1000
    1 row updated.
    Elapsed: 00:00:06.04
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.00
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064                    2091000
          2000                      1118064
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:11 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 2000
    1 row updated.
    Elapsed: 00:00:00.42
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.02
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 2000
    1 row updated.
    Elapsed: 00:00:24.43
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.03
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064                    2091000
          2000                      1118064                    4182000
          5000                      2795064
    6 rows selected.
    Elapsed: 00:00:00.00
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Feb 10 07:45:36 2006
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    SQL> spool testcase_&3..log
    SQL> --
    SQL> connect &1/&2
    Connected.
    SQL> --
    SQL> set timing on
    SQL> --
    SQL> update source_data_table
      2     set xml = xmltype(xml_text)
      3   where fragCount = &3
      4  /
    old   3:  where fragCount = &3
    new   3:  where fragCount = 5000
    1 row updated.
    Elapsed: 00:00:02.02
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.05
    SQL> update source_data_table
      2     set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
      3   where fragCount = &3
      4  /
    old   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'&4'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    new   2:    set result = xmltransform(xml,xmltype(bfilename(USER,'k_xsl.xsl'),nls_charset_id('WE8ISO8859P1'))).getClobVal()
    old   3:  where fragCount = &3
    new   3:  where fragCount = 5000
    1 row updated.
    Elapsed: 00:03:19.02
    SQL> commit
      2  /
    Commit complete.
    Elapsed: 00:00:00.01
    SQL> select fragCount, dbms_lob.getLength(xml_text),dbms_lob.getLength(result)
      2    from source_data_table
      3  /
    FRAGCOUNT DBMS_LOB.GETLENGTH(XML_TEXT) DBMS_LOB.GETLENGTH(RESULT)
            50                        28014                     104550
           100                        55964                     209100
           500                       279564                    1045500
          1000                       559064                    2091000
          2000                      1118064                    4182000
          5000                      2795064                   10455000
    6 rows selected.
    Elapsed: 00:00:00.04
    SQL> quit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    bash-2.05b$

  • Error (2912) An internal error has occurred trying to contact the SCVMM01.dom.local server: NO_PARAM: NO_PARAM.

    
    Error (2912)
    An internal error has occurred trying to contact the SCVMM01.dom.local server: NO_PARAM: NO_PARAM.
    WinRM: URL: [http://SCVMM01:5985], Verb: [INVOKE], Method: [GetError], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/microsoft/bits/BitsClientJob?JobId={A210B91B-3239-4347-B251-83E1555356A2}]
    Unknown error (0x80072f0d)
    Recommended Action
    Check that WS-Management service is installed and running on server SCVMM01.dom.local. For more information use the command "winrm helpmsg hresult". If SCVMM01.dom.localis a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.
    When we want to create a template of a virtual machine, we receive the following error. The environment has the following components and servers:
    * Windows Server 2012 R2 U1 with Hyper-V role enabled
    * High available Virtual Machine Manager 2012 R2 RU2 (two virtual servers on Hyper-V 2012 R2)
    * High available Virtual Machine Manager 2012 R2 Library servers (two virtual servers on Hyper-V 2012 R2)
    There're a few things I've already checked:
    * Self-signed certificates in the Trusted People store --> OK
    * Windows Firewall turn off --> OK
    * Re-added a Hyper-V host to the SCVMM environment
    * Reboot the VMM servers and the library servers
    * Export port usage and conflicts with netstat -a -b --> OK, no conflicts
    * Free disk space on the VMM library servers --> OK
    The job is starts fine, but step 1.2 "Store virtual machine W2012R2TMPL from HV01 to CLSCVMMLIB01" Failed. So it looks like the sysprep fase is going well. When VMM is trying to store the virtual machine in the library, it fails.
    Who is familar with this issue and can help me find a solution for this?
    Thanks in advance!!
    Mark

    Have you installed AppController on the same machine with VMM?

  • Why does IE8 running on XP and Win7 Virtual Machine deletes the history while I'm still browsing the same site with client-side hashbang routing?

    Hello, 
    I have a asp.net mvc 5 web application running on .net 4.5 hosted on my local windows 8 machine on macbook pro using parallels. I'm running Internet Explorer 8 Version: 8.0.6001.18702 running on XP and Version: 8.0.7601.17514 running on Windows 7 Enterprise.
     I've got both of the virtual machine source from www.modern.ie 
    My web application is attempting to provide single page user experience by having some client-side routing by using '#!/xxx' hashbangs in the url so that I can get and post via ajax and change the hash in  the url without causing the page to reload. My
    code works fine in IE9+ and other modern browsers.
    However, I'm facing this strange issue in both of the IE8 versions. When running my demo app in IE8, I can login, view home page and can navigate from this home page to many details page. From the very first login page, all the pages are the result
    of form's post action via ajax which then expects html from server and loads in the DOM. The page structure of my app is like summary form => Details page (can also contain summary forms) => Details...so on.
    The above process works fine for few of the navigation steps. If I keep navigating from one page to another & go back, I have observed that the browser back button is removing the history items slowly. And a time comes when it totally forgets about
    all the history pages that I visited to reach this current page I'm viewing!! It treats like I have just started my browsing session and this current page is the first page I've landed on with no back option. Now if I again try to navigate, I have encountered
    problems like both the back and forward buttons gets disabled.
    Hope, my words above is clear enough to explain this problem. The same application works fine in IE9+ and other browsers. 
    Till now, I have tried following steps on both VMs: 
    Resetting IE8.
    Increasing disk space to 1024mb for temporary internet files storage.
    Setting 'Never' for Check for newer versions of stored pages.
    Disabling the automatic crash recovery feature didn't helped in this case. Found this on support website.
    Deleted temporary files, history, cache, etc many a times.
    Search many forums, posted question on StackOverflow, ASP.NET
    Forums - but didn't helped.
    Tried 'beforeunload' event of browser to see if any of the page is reloading because of submit or any other reason. But the page doesn't reload at all.
    The issue is browser forgets about the browsing history while I'm still browsing the same site. 
    Is there any possible fix for the issue above? Does IE8 have any issues as many ajax form post is happening on every page? 

    I have really tried many things to identify any possible reason of the issue above. Even rewrote all my javascript navigation code and checked server-side code.
    But the only place where I got the solution is at site: http://www.enhanceie.com/ie/bugs.asp which states that there is a bug in IE8 which reads like:
     IE0012: IE Travellog broken when navigating back/away from a page with
     a large POST form If there is a form input field with a value longer
     than 523,659 characters, when you navigate away from the page, IE may
     clear the current session's travellog (similar to history), disabling
     the back and forward buttons. Repros in IE6 & IE7.
    There are following solutions that you can go for:
    - Check for the input field that has lots of characters as mentioned above and solve your problem.
    - If you have control over the system where IE8 will be used, you can add the following registry key on that machine. There is no existing key, so, you need to add a new one:
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\TravelLog] "MaxSize"=dword:ffffffff
    I am really relaxed to find this information as I spent really long time to solve this issue. Hope this will help someone.

  • Oracle VM 3.1.1 - Virtual Machines Shuting down

    Hi,
    I have installed an Oracle VM Server Oracle VM Manager 3.1.1 and 3.1.1, I have configured the VNIC, pool server and repository.
    I managed to import my template to the server and create a virtual machine through it. But when I send start the virtual machine after a few seconds she hangs herself.
    Another detail is not able to access the console by VNC.
    I also tried to create a vm by manager, thinking it was problem with my template, but the same happened.
    Here the logs:
    ===AdminServer.log at OVM
    ####<May 25, 2012 11:52:55 AM BRT> <Info> <com.oracle.ovm.mgr.discover.DiscoverEngine> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957575763> <BEA-000000> <Discovering [BRIDGE_STATUS] data from server [ovs3.discover.com.br] address [192.168.0.101]>
    ####<May 25, 2012 11:52:55 AM BRT> <Info> <com.oracle.ovm.mgr.action.ActionEngine> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957575766> <BEA-000000> <Sending command: [dispatch https://?uname?:[email protected]:8899/api/2 discover_network], to server: ovs3.discover.com.br, via virtual IP: 192.168.0.102>
    ####<May 25, 2012 11:52:56 AM BRT> <Info> <com.oracle.ovm.mgr.discover.DiscoverEngine> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957576068> <BEA-000000> <Finished discovering [BRIDGE_STATUS] data from server [ovs3.discover.com.br] address [192.168.0.101]>
    ####<May 25, 2012 11:52:56 AM BRT> <Info> <com.oracle.ovm.mgr.op.physical.network.BridgeConfigureOperation> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957576072> <BEA-000000> <Bridge [0004fb0010db0e6] already exists (and should exist) on interface [eth2] on server [ovs3.discover.com.br]; skipping bridge creation>
    ####<May 25, 2012 11:52:56 AM BRT> <Info> <com.oracle.ovm.mgr.api.virtual.VirtualMachine> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957576098> <BEA-000000> <Starting virtual machine [BI_YOKI] on [ovs3.discover.com.br]>
    ####<May 25, 2012 11:52:56 AM BRT> <Info> <com.oracle.ovm.mgr.action.ActionEngine> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957576102> <BEA-000000> <Sending command: [dispatch https://?uname?:[email protected]:8899/api/2 start_vm 0004fb00000300007eaebdd07b0beedf 0004fb00000600000dc2e0cdb0c7913c], to server: ovs3.discover.com.br, via virtual IP: 192.168.0.102>
    ####<May 25, 2012 11:52:57 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957577312> <BEA-000000> <Domain.process: ovs3.discover.com.br - {DOMAIN} 0004fb00-0006-0000-0dc2-e0cdb0c7913c {START}>
    ####<May 25, 2012 11:52:57 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957577315> <BEA-000000> <Virtual Machine is running on server: ovs3.discover.com.br>
    ####<May 25, 2012 11:52:57 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957577368> <BEA-000000> <Domain.processVirtualMachineStart: VM: BI_YOKI, started on server: ovs3.discover.com.br>
    ####<May 25, 2012 11:52:58 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957578384> <BEA-000000> <Domain.process: ovs3.discover.com.br - {DOMAIN} 0004fb00-0006-0000-0dc2-e0cdb0c7913c {VNC} 5900>
    ####<May 25, 2012 11:52:58 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957578401> <BEA-000000> <Domain.process: ovs3.discover.com.br - {DOMAIN} 0004fb00000600000dc2e0cdb0c7913c {SSLVNC} 6900>
    ####<May 25, 2012 11:52:58 AM BRT> <Info> <com.oracle.ovm.mgr.action.ActionEngine> <ovm3manager> <AdminServer> <Odof Tcp Client Thread: /127.0.0.1:54321/883> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957578476> <BEA-000000> <Sending command: [dispatch https://?uname?:[email protected]:8899/api/2 configure_vm_ha 0004fb00000300007eaebdd07b0beedf 0004fb00000600000dc2e0cdb0c7913c true], to server: ovs3.discover.com.br, via virtual IP: 192.168.0.102>
    ####<May 25, 2012 11:52:59 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957579413> <BEA-000000> <Domain.process: ovs3.discover.com.br - {DOMAIN} 0004fb00000600000dc2e0cdb0c7913c {SSLTTY} 7902>
    ####<May 25, 2012 11:53:39 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957619475> <BEA-000000> <Domain.process: ovs3.discover.com.br - {DOMAIN} 0004fb00-0006-0000-0dc2-e0cdb0c7913c {SHUTDOWN} powered off>
    ####<May 25, 2012 11:53:39 AM BRT> <Info> <com.oracle.ovm.mgr.event.ovs.Domain> <ovm3manager> <AdminServer> <EventProcessor-6> <<anonymous>> <> <0000JU4Ax1SFw0WFLzESOA1FjsWK000002> <1337957619487> <BEA-000000> <Virtual Machine is stopped on server: ovs3.discover.com.br>
    ==== xend.log at ovs-agent
    [2012-05-25 11:53:50 5218] DEBUG (XendDomainInfo:106) XendDomainInfo.create(['vm', ['name', '0004fb00000600000dc2e0cdb0c7913c'], ['memory', 5200], ['maxmem', 5200], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['vcpu_avail', 1], ['vcpus', 1], ['uuid', '0004fb00-0006-0000-0dc2-e0cdb0c7913c'], ['cpu_cap', 0], ['cpu_weight', 27500], ['oos', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['videoram', 4], ['serial', 'pty'], ['acpi', 1], ['apic', 1], ['boot', 'ncd'], ['cpuid', []], ['cpuid_check', []], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['fda', ''], ['fdb', ''], ['guest_os_type', 'linux'], ['hap', 1], ['hpet', 0], ['isa', 0], ['keymap', 'en-us'], ['localtime', 0], ['nographic', 0], ['oos', 1], ['pae', 1], ['pci', []], ['pci_msitranslate', 1], ['pci_power_mgmt', 0], ['rtc_timeoffset', 0], ['soundhw', ''], ['stdvga', 0], ['timer_mode', 0], ['usb', 0], ['usbdevice', 'mouse'], ['vcpus', 1], ['vnc', '1'], ['vncconsole', 1], ['vnclisten', '127.0.0.1'], ['vncunused', '1'], ['viridian', 0], ['vpt_align', 1], ['xauthority', '/root/.Xauthority'], ['xen_platform_pci', 1], ['memory_sharing', 0], ['vncpasswd', 'XXXXXXXX'], ['tsc_mode', 0], ['nomigrate', 0]]], ['s3_integrity', 1], ['device', ['vbd', ['uname', 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000f17147de8ca5527c.img'], ['dev', 'xvda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb00001200001058e2fd644940db.img'], ['dev', 'xvdb'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000ecab0f9442e7273d.img'], ['dev', 'xvdc'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000f18ecea4dc21d9c0.img'], ['dev', 'xvdd'], ['mode', 'w']]], ['device', ['vif', ['bridge', '0004fb0010db0e6'], ['mac', '00:21:f6:00:00:02']]]])
    [2012-05-25 11:53:51 5218] DEBUG (XendDomainInfo:2570) XendDomainInfo.constructDomain
    [2012-05-25 11:53:51 5218] DEBUG (balloon:187) Balloon: 96863048 KiB free; need 16384; done.
    [2012-05-25 11:53:51 5218] DEBUG (XendDomain:476) Adding Domain: 7
    [2012-05-25 11:53:51 5218] DEBUG (XendDomainInfo:2908) XendDomainInfo.initDomain: 7 27500
    [2012-05-25 11:53:51 5218] DEBUG (image:336) No VNC passwd configured for vfb access
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: boot, val: ncd
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: fda, val: None
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: fdb, val: None
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: soundhw, val: None
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: localtime, val: 0
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: serial, val: ['pty']
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: std-vga, val: 0
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: isa, val: 0
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: acpi, val: 1
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: usb, val: 0
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: usbdevice, val: mouse
    [2012-05-25 11:53:51 5218] DEBUG (image:888) args: gfx_passthru, val: None
    [2012-05-25 11:53:51 5218] INFO (image:819) Need to create platform device.[domid:7]
    [2012-05-25 11:53:51 5218] DEBUG (XendDomainInfo:2935) initDomain:shadowmemory=0x0, memory_static_max=0x145000000, memory_static_min=0x0.
    [2012-05-25 11:53:51 5218] INFO (image:179) buildDomain os=hvm dom=7 vcpus=1
    [2012-05-25 11:53:51 5218] DEBUG (image:946) domid = 7
    [2012-05-25 11:53:51 5218] DEBUG (image:947) image = /usr/lib/xen/boot/hvmloader
    [2012-05-25 11:53:51 5218] DEBUG (image:948) store_evtchn = 2
    [2012-05-25 11:53:51 5218] DEBUG (image:949) memsize = 5200
    [2012-05-25 11:53:51 5218] DEBUG (image:950) target = 5200
    [2012-05-25 11:53:51 5218] DEBUG (image:951) vcpus = 1
    [2012-05-25 11:53:51 5218] DEBUG (image:952) vcpu_avail = 1
    [2012-05-25 11:53:51 5218] DEBUG (image:953) acpi = 1
    [2012-05-25 11:53:51 5218] DEBUG (image:954) apic = 1
    [2012-05-25 11:53:51 5218] INFO (XendDomainInfo:2427) createDevice: vfb : {'vncunused': '1', 'other_config': {'vncunused': '1', 'vnclisten': '127.0.0.1', 'vnc': '1', 'keymap': 'en-us'}, 'vnc': '1', 'uuid': '8a21a75f-7dfe-79e6-b748-d9c7f37f582c', 'vnclisten': '127.0.0.1', 'keymap': 'en-us'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/7/0'} to /local/domain/7/device/vfb/0.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'vncunused': '1', 'domain': '0004fb00000600000dc2e0cdb0c7913c', 'frontend': '/local/domain/7/device/vfb/0', 'uuid': '8a21a75f-7dfe-79e6-b748-d9c7f37f582c', 'frontend-id': '7', 'vnclisten': '127.0.0.1', 'state': '1', 'keymap': 'en-us', 'online': '1', 'vnc': '1'} to /local/domain/0/backend/vfb/7/0.
    [2012-05-25 11:53:51 5218] INFO (XendDomainInfo:2427) createDevice: vbd : {'uuid': '7a2a2829-37ee-05b1-b746-240300d5f5ad', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'xvda', 'uname': 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000f17147de8ca5527c.img', 'mode': 'w'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/51712'} to /local/domain/7/device/vbd/51712.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'domain': '0004fb00000600000dc2e0cdb0c7913c', 'frontend': '/local/domain/7/device/vbd/51712', 'uuid': '7a2a2829-37ee-05b1-b746-240300d5f5ad', 'bootable': '1', 'dev': 'xvda', 'state': '1', 'params': '/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000f17147de8ca5527c.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/51712.
    [2012-05-25 11:53:51 5218] INFO (XendDomainInfo:2427) createDevice: vbd : {'uuid': 'eaf9f6e8-c9a8-8288-d9ce-2d625543de0d', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'xvdb', 'uname': 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb00001200001058e2fd644940db.img', 'mode': 'w'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51728', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/51728'} to /local/domain/7/device/vbd/51728.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'domain': '0004fb00000600000dc2e0cdb0c7913c', 'frontend': '/local/domain/7/device/vbd/51728', 'uuid': 'eaf9f6e8-c9a8-8288-d9ce-2d625543de0d', 'bootable': '0', 'dev': 'xvdb', 'state': '1', 'params': '/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb00001200001058e2fd644940db.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/51728.
    [2012-05-25 11:53:51 5218] INFO (XendDomainInfo:2427) createDevice: vbd : {'uuid': '15399e62-64e6-b2f9-8e5d-d4946ce77bae', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'xvdc', 'uname': 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000ecab0f9442e7273d.img', 'mode': 'w'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51744', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/51744'} to /local/domain/7/device/vbd/51744.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'domain': '0004fb00000600000dc2e0cdb0c7913c', 'frontend': '/local/domain/7/device/vbd/51744', 'uuid': '15399e62-64e6-b2f9-8e5d-d4946ce77bae', 'bootable': '0', 'dev': 'xvdc', 'state': '1', 'params': '/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000ecab0f9442e7273d.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/51744.
    [2012-05-25 11:53:51 5218] INFO (XendDomainInfo:2427) createDevice: vbd : {'uuid': '21cbaa7e-fdbc-99a7-1c5c-49d9af21dde7', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'xvdd', 'uname': 'file:/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000f18ecea4dc21d9c0.img', 'mode': 'w'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'virtual-device': '51760', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/51760'} to /local/domain/7/device/vbd/51760.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'domain': '0004fb00000600000dc2e0cdb0c7913c', 'frontend': '/local/domain/7/device/vbd/51760', 'uuid': '21cbaa7e-fdbc-99a7-1c5c-49d9af21dde7', 'bootable': '0', 'dev': 'xvdd', 'state': '1', 'params': '/OVS/Repositories/0004fb00000300007eaebdd07b0beedf/VirtualDisks/0004fb0000120000f18ecea4dc21d9c0.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/51760.
    [2012-05-25 11:53:51 5218] INFO (XendDomainInfo:2427) createDevice: vif : {'bridge': '0004fb0010db0e6', 'mac': '00:21:f6:00:00:02', 'uuid': '945f0e5b-9d64-fcf1-1b71-b62c1026980e'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'backend-id': '0', 'mac': '00:21:f6:00:00:02', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/domain/7/device/vif/0.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'bridge': '0004fb0010db0e6', 'domain': '0004fb00000600000dc2e0cdb0c7913c', 'handle': '0', 'uuid': '945f0e5b-9d64-fcf1-1b71-b62c1026980e', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:21:f6:00:00:02', 'frontend-id': '7', 'state': '1', 'online': '1', 'frontend': '/local/domain/7/device/vif/0'} to /local/domain/0/backend/vif/7/0.
    [2012-05-25 11:53:51 5218] INFO (image:415) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '7', '-domain-name', '0004fb00000600000dc2e0cdb0c7913c', '-videoram', '4', '-k', 'en-us', '-vnc', '127.0.0.1:0', '-vncunused', '-vcpus', '1', '-vcpu_avail', '0x1L', '-boot', 'ncd', '-serial', 'pty', '-acpi', '-usbdevice', 'mouse', '-net', 'nic,vlan=1,macaddr=00:21:f6:00:00:02,model=rtl8139', '-net', 'tap,vlan=1,ifname=tap7.0,bridge=0004fb0010db0e6', '-M', 'xenfv']
    [2012-05-25 11:53:51 5218] INFO (image:464) device model pid: 23114
    [2012-05-25 11:53:51 5218] INFO (image:587) waiting for sentinel_fifo
    [2012-05-25 11:53:51 5218] DEBUG (XendDomainInfo:3511) Storing VM details: {'on_xend_stop': 'ignore', 'pool_name': 'Pool-0', 'shadow_memory': '42', 'uuid': '0004fb00-0006-0000-0dc2-e0cdb0c7913c', 'on_reboot': 'restart', 'start_time': '1337957631.68', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': "(hvm (kernel '') (expose_host_uuid 0) (superpages 0) (tsc_mode 0) (videoram 4) (hpet 0) (boot ncd) (vnclisten 127.0.0.1) (loader /usr/lib/xen/boot/hvmloader) (vncconsole 1) (serial pty) (vpt_align 1) (xen_platform_pci 1) (vncunused 1) (rtc_timeoffset 0) (pci ()) (pae 1) (stdvga 0) (hap 1) (viridian 0) (acpi 1) (localtime 0) (timer_mode 0) (vnc 1) (nographic 0) (guest_os_type linux) (pci_msitranslate 1) (oos 1) (apic 1) (nomigrate 0) (usbdevice mouse) (device_model /usr/lib/xen/bin/qemu-dm) (keymap en-us) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (notes (SUSPEND_CANCEL 1)))", 'name': '0004fb00000600000dc2e0cdb0c7913c'}
    [2012-05-25 11:53:51 5218] DEBUG (XendDomainInfo:1864) Storing domain details: {'console/port': '3', 'description': '', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/0004fb00-0006-0000-0dc2-e0cdb0c7913c', 'domid': '7', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '5324800', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '1044476', 'console/type': 'ioemu', 'name': '0004fb00000600000dc2e0cdb0c7913c'}
    [2012-05-25 11:53:51 5218] DEBUG (DevController:95) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/7/0'} to /local/domain/7/device/console/0.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:97) DevController: writing {'domain': '0004fb00000600000dc2e0cdb0c7913c', 'frontend': '/local/domain/7/device/console/0', 'uuid': '655f6440-ab6d-9db7-8ec1-8133b34fa34a', 'frontend-id': '7', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/7/0.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:139) Waiting for devices vif2.
    [2012-05-25 11:53:51 5218] DEBUG (XendDomainInfo:1951) XendDomainInfo.handleShutdownWatch
    [2012-05-25 11:53:51 5218] DEBUG (DevController:139) Waiting for devices vif.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:144) Waiting for 0.
    [2012-05-25 11:53:51 5218] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:643) hotplugStatusCallback 1.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices vscsi.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices vbd.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:144) Waiting for 51712.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/7/51712/hotplug-status.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:643) hotplugStatusCallback 1.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:144) Waiting for 51728.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/7/51728/hotplug-status.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:643) hotplugStatusCallback 1.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:144) Waiting for 51744.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/7/51744/hotplug-status.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:643) hotplugStatusCallback 1.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:144) Waiting for 51760.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:629) hotplugStatusCallback /local/domain/0/backend/vbd/7/51760/hotplug-status.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:643) hotplugStatusCallback 1.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices ioports.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices irq.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices vkbd.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices vfb.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices console.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:144) Waiting for 0.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices pci.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices tap2.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices tap.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices vusb.
    [2012-05-25 11:53:52 5218] DEBUG (DevController:139) Waiting for devices vtpm.
    [2012-05-25 11:53:52 5218] INFO (XendDomain:1225) Domain 0004fb00000600000dc2e0cdb0c7913c (7) unpaused.

    You can clone disks between repositories, if both repositories are presented to at least one server at the same time.

  • VM creation and Virtual IP to the OVM pool

    hi,
    i have confiugred a pool of 8 servers and repository mounted on Nfs.
    while creating Vms the OVM gives me a error..
    Register virtual machine cdrom
    Register virtual machine preferred server
    Create HVM: preJobs
    Failed. Result - failed:<Exception: failed:<Exception: ['virt-install', '--hvm', '--name=18_Deven1', '--ram=1024', '--vcpus=1', '--vnc', '--vnclisten=0.0.0.0', '--vncpasswd=/tmp/tmp59GP-1', '--noautoconsole', '--keep-cdrom', '--cdrom=/var/ovs/mount/825D2FF7ED2645428AD5AED714B5E777/iso_pool/Win 2003/W2K3-SP2.iso', '--mac=00:16:3E:12:E4:DE', '--bridge=vlan225', '--file=/var/ovs/mount/825D2FF7ED2645428AD5AED714B5E777/running_pool/18_Deven1/System.img', '--file-size=10.0', '--os-type=windows', '--os-variant=win2k3', '--keymap=en-us'] => libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating domain: Acquire running lock failed: 256')
    Failed to create domain 18_Deven1
    Traceback (most recent call last):
    File "/opt/oracle/usr/sbin/virt-install", line 506, in ?
    main()
    File "/opt/oracle/usr/sbin/virt-install", line 470, in main
    dom = guest.start_install(conscb)
    File "/opt/oracle/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 408, in start_install
    self.domain = self.conn.createLinux(cxml, 0)
    File "/opt/oracle/usr/lib/python2.4/site-packages/libvirt.py", line 249, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
    libvirt.libvirtError: virDomainCreateLinux() failed
    +>+
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXXenVMInstall.py", line 173, in xen_install_vm_hvm
    run_cmd(args=cmdlist)
    File "/opt/ovs-agent-2.3/OVSCommons.py", line 69, in run_cmd
    raise Exception('%s => %s' % (cmdlist, p.childerr.read()))
    +>+
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSSiteVMInstall.py", line 100, in install_vm_hvm
    else: raise Exception(rs)
    Now the Virtual IP issue,
    out of the 8 servers, 1 is given role of master, utility and vm server and the rest 7 are utility and vm servers.
    servers have 8 nics in all. i have grouped them in 4 (LACP). 1 grp for network and other for Data.
    Also I have given a virtual IP to the pool, in case the master fails, other server takes over the role of master server..
    when i checked rebooting the master server, a diff server from the pool took over as the master server. the Virtual IP gave RTOs.
    All my servers became unreachable.
    kindly help.

    No. The VM manager is run as a seprate box with 4G RAM..

  • Error: The largest virtual disk that can be allocated is: 0 MB.

    hi, when a create a new virtual machine, Oracle VM Manager gives the following error:
    Error: The largest virtual disk that can be allocated is: 0 MB.
    I have enought disk space in all partitions on VM Server.
    Has anyone solved this??... How to ....
    Regards from Chile (and sorry for my poor english)
    RENÉ FELIPE VIANCOS S.
    Director / IT Manager
    CENTRO DE INFORMÁTICA Y COMPUTACIÓN
    (Informatics and Computing Center)
    UNIVERSIDAD DE LA SERENA
    www.userena.cl
    Message was edited by:
    user621885

    ok, i have changed for a new machine, and the error persists
    Step (1), and the output of virt-install is:
    [root@ovm21 winxpue5]# virt-install
    Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes
    What is the name of your virtual machine? winkkxp
    How much RAM should be allocated (in megabytes)? 1000
    What would you like to use as the disk (path)? winkkxp
    How large would you like the disk (winkkxp) to be (in gigabytes)? 5000
    Would you like to enable graphics support? (yes or no) yes
    What would you like to use for the virtual CD image? /OVS/iso_pool/winxpue5/winxpue5.iso
    Starting install...
    libvir: Xen Daemon error : GET operation failed:
    Traceback (most recent call last):
    File "/usr/sbin/virt-install", line 476, in ?
    main()
    File "/usr/sbin/virt-install", line 440, in main
    dom = guest.start_install(conscb)
    File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 379, in start_install
    self._create_devices()
    File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 281, in createdevices
    disk.setup()
    File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 96, in setup
    os.write(fd, '\x00')
    OSError: [Errno 28] No space left on device
    here is the df command output
    S.ficheros Tamaño Usado Disp Uso% Montado en
    /dev/sda2 3,0G 718M 2,1G 26% /
    /dev/sda3 108G 755M 107G 1% /OVS
    /dev/sda1 99M 24M 70M 26% /boot
    tmpfs 257M 0 257M 0% /dev/shm
    all filesystems have enought disk space....
    Here is the content of the xend.log:
    [2008-03-09 21:48:35 2534] INFO (SrvDaemon:331) Xend Daemon started
    [2008-03-09 21:48:35 2534] INFO (SrvDaemon:335) Xend changeset: unavailable.
    [2008-03-09 21:48:35 2534] INFO (SrvDaemon:342) Xend version: Unknown.
    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:132) XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 9577805624L, 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0, 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running': 1, 'maxmem_kb': 4294967292L, 'shutdown': 0, 'mem_kb': 524288L, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked': 0, 'name': 'Domain-0'})
    [2008-03-09 21:48:35 2534] INFO (XendDomainInfo:148) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:2069) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'image': '(linux (kernel ))', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '2', 'vcpu_avail': '3', 'name': 'Domain-0'}
    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:907) Storing domain details: {'name': 'Domain-0', 'console/limit': '1048576', 'memory/target': '524288', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1'}
    [2008-03-09 21:48:35 2534] DEBUG (XendDomain:434) Adding Domain: 0
    [2008-03-09 21:48:35 2534] DEBUG (XendDomain:379) number of vcpus to use is 0
    [2008-03-09 21:48:35 2534] INFO (SrvServer:180) unix path=/var/lib/xend/xend-socket
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VBD.set_device not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VBD.set_type not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VM.get_auto_power_on not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VM.set_auto_power_on not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: debug.get_all not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: console.get_other_config not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: console.set_other_config not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.get_network not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.set_device not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.set_MAC not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: VIF.set_MTU not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: session.get_all_records not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: event.get_record not found
    [2008-03-09 21:48:35 2534] WARNING (XendAPI:672) API call: event.get_all not found
    [2008-03-09 21:48:35 2534] DEBUG (XendDomainInfo:991) XendDomainInfo.handleShutdownWatch
    [2008-03-09 21:48:38 2534] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xen-api.sock; authentication has been disabled for this server.
    [2008-03-09 21:48:38 2534] INFO (XMLRPCServer:149) Opening Unix domain socket XML-RPC server on /var/run/xend/xmlrpc.sock.
    Step(2) rpc output:
    [root@ovm21 winxpue5]# /opt/ovs-agent-2.2/utils/do_rpc.py https://admin:[email protected]:8899 get_free_space
    get_free_space []
    socket error! code=104, msg=Connection reset by peer
    [root@ovm21 winxpue5]# /opt/ovs-agent-2.2/utils/do_rpc.py https://system:[email protected]:8899 get_free_space
    get_free_space []
    socket error! code=104, msg=Connection reset by peer
    [root@ovm21 winxpue5]# /opt/ovs-agent-2.2/utils/do_rpc.py https://sys:[email protected]:8899 get_free_space
    get_free_space []
    socket error! code=104, msg=Connection reset by peer
    my password for whole system is 'oracle'
    some ideas ????
    Regards
    René Felipe Viancos.

  • Virtual Hosts in Apache HTTP Server

    How to configure virtual hosts in Apache HTTP Server httpd.conf file.
    If I want to access my server with some other name(alias), how can I do this ?
    Suggestions in this matter would be highly helpful.
    Thanks
    Vidhyut Arora

    Following is a note explaining how to setup
    Virtual hosts.
    Hope this helps
    Ranga
    Note:70647.1
    Subject: Apache Server Virtual Hosting
    Last Revision Date: 07-JUN-2001
    PURPOSE
    This document discusses considerations for setting up virtual hosts on an
    Apache machine, to include how to get the hostname working and how to
    configure Apache.
    SCOPE & APPLICATION
    The information in this document is intended for those who manage multiple sites
    using an Apache machine.
    REFERENCES
    First published in Apache Week issue 31 (6th September 1996)
    Last update 20th September 1998
    Using Virtual Hosts
    Virtual Hosts let you run multiple independent Web sites on a single host with
    a single Apache setup.
    One of the most important facilities in Apache is its ability to run virtual
    hosts. This is now the essential way to run multiple Web services - each with
    different host names and URLs - that appear to be completely separate sites.
    This is widely used by ISPs, hosting sites and content providers who need to
    manage multiple sites but do not want to buy a new machine for each one.
    Picking an IP address
    There are two types of virtual hosts: IP-based and non-IP-based. The former is
    where each virtual host has its own IP address. You must have a new IP address
    for each virtual host you want to set up, either from your existing allocation
    or by obtaining more from your service provider. When you have extra IP
    addresses, you tell your machine to handle them. On some operating systems, you
    can give a single ethernet interface multiple addresses (typically with an
    fconfig alias command). On other systems, you must have a different
    physical interface for each IP address (typically by buying extra ethernet
    cards).
    IP addresses are a resource that costs money and are increasingly difficult to
    get, so modern browsers can now also use 'non-IP' virtual hosts. This
    lets you use the same IP address for multiple host names. When the server
    receives an incoming Web connection, it does not know the hostname that was used
    in the URL. However, the new HTTP/1.1 specification adds a facility where the
    browser must tell the server the hostname it is using, on the Host: header. If
    an older browser connects to a non-IP virtual host, it does not send the Host:
    header, so the server must respond with a list of possible virtual
    hosts. Apache provides some help for configuring a site for both old and new
    browsers.
    Picking a Hostname and Updating the DNS
    Having selected an IP address, the next stage is to update the DNS so that
    browsers can convert the hostname into the right address. The DNS is the system
    that every machine connected to the internet uses to find the IP address of host
    names. If your hostname is not in the DNS, no one can connect to
    your server (except by the unfriendly IP address).
    If the virtual hostname you are going to use is under your existing domain,
    you can just add the record into your own DNS server. If the virtual hostname
    is in someone else's domain, you must get them to add it to their DNS
    server files. In some cases, you want to use a domain not yet used on the
    internet, in which case you must apply for the domain name from the
    InterNIC and set up the primary and secondary DNS servers for it, before adding
    the entry for your virtual host.
    In any of these cases, the entry you need to add to the DNS is an address record
    (an A record) pointing to the appropriate IP address. For example, say you want
    the domain www.my-dom.com to access your host with IP address 10.1.2.3: you
    must add the following line to the DNS zone file for my-dom.com:
    www A 10.1.2.3
    Now, users can enter http://www.my-dom.com/ as a URL in their browsers and get
    to your Web server. However, it will return the same information as if the
    machine's original hostname had been used. So, the final stage is to tell Apache
    how to respond differently to the different addresses.
    How Apache Handles Virtual Hosts
    Configuring Apache for virtual hosts is a two-stage process. First, it needs
    to be told which IP addresses (and ports) to listen to for incoming Web
    connections. By default, Apache listens to port 80 on all IP addresses of the
    local machine, and this is often sufficient. If you have a more complex
    requirement, such as listening on various port numbers, or only to specific IP
    addresses, then the BindAddress or Listen directives can be used.
    Second, having accepted an incoming Web connection, the server must be
    configured to handle the request differently, depending on what virtual host it
    was addressed to. This usually involves configuring Apache to use a different
    DocumentRoot.
    Telling Apache Which Addresses to Listen To
    If you are happy for Apache to listen to all local IP addresses on the port
    specified by the Port directive, you can skip this section. However, there are
    some cases where you want to use the directives explained here:
    - If you have many IP addresses on the machine but only want to run a Web
    server on some of them
    - If one or more of your virtual hosts is on a different port
    - If you want to run multiple copies of the Apache server serving different virtual
    hosts
    There are two ways of telling Apache what addresses and ports to listen to:
    - Use the BindAddress directive to specify a single address or port
    - Use the Listen directive to any number of specific addresses or ports
    For example, if you run your main server on IP address 10.1.2.3 port 80, and a
    virtual host on IP 10.1.2.4 port 8000, you would use:
    Listen 10.1.2.3:80
    Listen 10.1.2.4:8000
    Listen and BindAddress are documented on the Apache site.
    Configuring the Virtual Hosts
    Having gotten Apache to listen to the appropriate IP addresses and ports, the
    final stage is to configure the server to behave differently for requests on
    each of the different addresses. This is done using <VirtualHost> sections in
    the configuration files, normally in httpd.conf.
    A typical (but minimal) virtual host configuration looks like this:
    <VirtualHost 10.1.2.3>
    DocumentRoot /www/vhost1
    ServerName www.my-dom.com
    </VirtualHost>
    This should be placed in the httpd.conf file. You replace the text
    10.1.2.3 with one of your virtual host IP addresses. If you want to specify a
    port as well, follow the IP address with a colon and the port number
    (example: 10.1.2.4:8000). If omitted, the port defaults to 80.
    If no <VirtualHost> sections are given in the configuration files, Apache
    treats requests from the different addresses and ports identically. In terms of
    setting up virtual hosts, we call the default behavior the main server
    configuration. Unless overridden by <VirtualHost> sections, the main server
    behaviour is inherited by all the virtual hosts. When configuring virtual
    hosts, you must decide what changes to make in each of the virtual
    host configurations.
    Any directives inside a <VirtualHost> section apply to just that virtual host.
    The directives either override the configuration give in the main server, or
    supplement it, depending on the directive. For example, the DocumentRoot
    directive in a <VirtualHost> section overrides the main server's DocumentRoot,
    while AddType supplements the main server's mime types.
    Now, when a request arrives, Apache uses the IP address and port it arrived on
    to find a matching virtual host configuration. If no virtual host matches the
    address and port, it is handled by the main server configuration. If it does
    match a virtual host address, Apache uses the configuration of that virtual
    server to handle the request.
    For the example above, the server configuration used is the same as the
    main server, except that the DocumentRoot is /www/vhost1, and the
    ServerName is www.my-dom.com. Directives commonly set in <VirtualHost>
    sections are DocumentRoot, ServerName, ErrorLog and TransferLog. Directives
    that deal with handling requests and resources are valid inside <VirtualHost>
    sections. However, some directives are not valid inside <VirtualHost> sections,
    including BindAddress, StartSevers, Listen, Group and User.
    You can have as many <VirtualHost> sections as you want. You can
    leave one or more of your virtual hosts being handled by the main server, or
    have a <VirtualHost> for every available address and port, and leave the main
    server with no requests to handle.
    VirtualHost sections for non-IP Virtual Hosts
    Non-IP virtual hosts are configured in a very similar way. The IP address that
    the requests arrive on is given in the <VirtualHost> directive, and the
    host name is put in the ServerName directive. The difference is that there
    (usually) is more than one <VirtualHost> section handling the same IP address.
    For Apache to know whether a request arriving on a particular IP
    address is supposed to be a name-based requests, the NameVirtualHost directive
    addresses for name-based requests. A virtual host can handle more than one
    non-IP hostname by using the ServerAlias directive, in addition to the
    ServerName.
    null

  • The internal of flash-to-DOM operation?

    Hi, all,
    I'm verifying the Flash security and trying to check the flash-to-dom access control (e.g., use navigateToURL to execute JavaScript which access DOM elements). I thought Adobe uses a different channel other than the browser's to access DOM but I'm not sure. As there is no source code support, it turns to be a hard problem. Does anybody know how Flash access DOM elements outside? Thanks.

    You can use ExternalInterface class. There is an important difference between navigateToURL and ExternalInterface.call methods. When you use navigateToURL method, it just trigger javascript, it does not wait for a result. So navigateToURL is a few slower. But when you use ExternalInterface.call method, you can catch the results that returns from the javascript function and Action Script Virtual Machine does not forward to next command line until the results return. It is very important. Here is simple example: Lets tell your page is containing an input box which named as "username" and you want to get the name before do somethings:
    HTML
    <script>
         function getUsername()
              return document.username.value;
    </script>
    AS3
    import flash.external.ExternalInterface;
    var username:String = ExternalInterface.call("getUsername");
    Also you can send unlimited parameters to the function like ExternalInterface.call("alert", "hello");
    I wish this helps.

  • Detecting Java Virtual Machine

    I am trying to detect if java virtual machine exists on a client computer, and the version of jvm if it does exist. It is my understanding that the javascript DOM does not contain any method to detect jvm, so I have decided to write an applet to detect the jvm.
    Is there any method within java 1.4.1 to detect the virtual machine version??? I have searched through the api and have yet to find any function that can determine the vm version.
    Any other suggestions as to a method of detecting the jvm version would be helpful.
    Any help would be greatly appreciated!
    Thanks

    I just did the same sort of thing...
    A client wanted me to use Applet tags with their applets and run a quick check to ensure that the APPLET tag was utilizing at least a minum version (1.3.1). The following applet takes 2 params, a "GOOD_URL" and a "BAD_URL". The design can be modified as per needed fairly easily....
    import java.awt.*;
    import java.net.URL;
    public class DetectPluginApplet extends java.applet.Applet
    public void init()
         String URLGood = getParameter("URL_GOOD").trim();
    String URLBad = getParameter("URL_BAD").trim();
         System.out.println("GOOD URL: " + URLGood);
         System.out.println("BAD URL: " + URLBad);
         try {
         if (isGoodJVM())
                   getAppletContext().showDocument(new URL(URLGood));
              else
                   getAppletContext().showDocument(new URL(URLBad));
         } catch (Exception e) {
              add(new Label("Error acquiring Good/Bad URL's, check applet params and try again."));
    public boolean isGoodJVM() {
    String version = System.getProperty("java.version");
    String vendor = System.getProperty("java.vendor");
    if (vendor.indexOf("Sun ") == -1 && vendor.indexOf("sun ") == -1) {  //SunSPACE is what we look for in Sun Microsystems.
    return false;
    } else if (version.startsWith("1.1")) //i.e. 1.1.8
    return false;
         return true;     

  • Create RAC on Virtual Nodes

    I have to create 2 node RAC db where the 2 nodes are vm's.
    What is the process?
    Can I get some references to it please.

    user539083 wrote:
    I uderstand that RAC on Vm's where VM's are on the same physical server is not supported?
    Is that correct?No, we support RAC regardless of whether the nodes are on the same or different physical hosts. From Metalink ID 464754.1, here are the restrictions for running Real Application Clusters under Oracle VM:
        * Oracle 10.2.0.4 (10gR2) and 11.1.0.7 (11gR1)RAC for Linux x86 and Linux x86_64 certified on Oracle VM
              o Guest OS: OEL 5.1 (and above) RHEL 5.1 (and above) for Linux x86 / Linux x86_64
              o Paravirtualized (PV) mode only (Guest OS and drivers)
              o Only supported on Oracle VM 2.1.2 and above
              o Over-committing CPUs is not recommended, but supported with the following restrictions:
                    + The total amount of VCPUs allocated to guest domains (running Oracle RAC guests), should not exceed two times (2x)
                        the amount of real CPUs / cores in the Oracle VM server.
                    + The amount of VCPUs allocated to a single guest domain should not exceed the amount of real CPUs / cores in the Oracle VM server.
                    + Maintain Oracle VM’s default VCPU allocation for dom-0: Oracle VM will allocate 1 VCPU for each real CPU or core to dom-0.
                    + CPU pinning is only recommended for hard partitioning. If no hard partitioning is required, CPU pinning should not be used.
              o Static support only (dynamic support is being planned):
                    + Dynamic resizing of guest virtual machine is not supported (VCPU, memory and I/O)
                    + Live Migration is not supported
                    + Virtual Machine Pause/Restore of an active Real Application Cluster virtual machine is not supported. Note that 11gR2 certification is still pending, but expected soon.

  • Problem with DNS and/or Virtual Host (works from inside, not from outside)

    I am running several web sites (as virtual hosts) successfully on one Xserve (192.168.200), which are accessible internally and from the Internet (via forwarding port 80 on our firewall).
    Now I am trying to add another web site (newmini.domain.com), which however is running on a Mac mini (also on the same subnet as the Xserve) at 192.168.100. What I did is make an additional entry under the Xserve's DNS for the domain (domain.com) (+ Machine..., pointing to 192.168.0.100). (I also made the necessary changes to the Mac mini's httpd and hosts configuration--no problem there).
    Now, here's the strange thing: All computers on the subnet, whose DNS points to the Xserve, can see and browse newmini.domain.com fine. No problem. The computers ask the Xserve for the IP of the host in question, the Xserve says, "192.168.100", the request goes to the Mac mini, and it serves the web site as expected.
    But this doesn't happen if the request comes from the Internet. Instead of seeing the Mac mini, the client sees the default web site of the Xserve... So it appears that somewhere, the virtual host part of the HTTP request is lost between our firewall and the Xserve.
    Any ideas? Thanks.

    It's not going to.
    You say you've setup port forwarding on the firewall. Port forwarding only cares about the port number (80). It knows nothing about the nature of the request (e.g. the hostname that the web request is for). Therefore all extenal connections on port 80 get sent to the XServe. The newmini doesn't see the traffic at all.
    If you only have a single public IP address you can only forward port 80 traffic to a single machine. Your options are to either use a different port number, or configure the XServe to proxy the connection to the mini (so now the traffic goes router -> XServe -> Mini -> XServe -> router), although that might not do what you want since it still places load and dependencies on the XServe.

  • Report issue on Virtual cube with services

    Hi,
    I'm following a how-to document to report on a virtual cube using a custom function module and everything seems to be OK except it is dumping at the following line which is included in the How To document "How Tou2026Implement a virtual InfoProvider with Services".
    Both <l_s_data> and E_T_DATA  are of same data types as discussed in the how-to document.
    append <l_s_data> to E_T_DATA
    These are the declarations which are same as HowTo document
    E_T_DATA TYPE  STANDARD TABLE
    FIELD-SYMBOLS: <l_s_data> TYPE ANY.
    Did any one face this issue. Greatly appreciate any insight into this issue. We are on BW 3.0B.
    the dump i'm getting is ...
    Data objects in a Unicode program are not convertible.
    Error analysis                                                                               
    The statement    "MOVE src TO dst"   requires the operands "dst" and "src" to be comvertible.                                                                             
    Since this statement occurs in a Unicode program, the special  convertibility rules for Unicode programs apply.
    Thanks,
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

    Hi,
    In the debugging this is what I found out.. Any further insight?
    Virtual cube has only 1 characteristic Z_CRNUM & only 1 keyfigure Z_SR
    Report has only Z_CRNUM & Z_SR
    <L_S_DATA> has following record & value
    component      type     length     contents
    K____504     P     9     1.000
    S____504     C     18     16EA4D-R
    K____504 is the technical name of Z_SR in virtual provider.
    S____504 is the technical name of Z_CRNUM in virtual provider.
    E_T_DATA (type standard table) has following structure with a total of 5 fields.
    S____504    K____504           &KEYEND 1ROWCOUNT   Z_SR
    Regards
    Hari Immadi
    http://immadi.com
    SEM BW Analyst

  • How Create Virtual Directory On Oracle Application Server 10g on RHEL 5

    Dear Sir
    i have deployed my application on OAS 10g on RHEL 5 ,,now since my application is calling some pro*c programs and then they generate some text based reports on fixed folder named
    /treas/temp
    now i simply have to open these text based reports on web browser
    WEB.SHOW_DOCUMENT('/forms/pcreport/'||v_filename);
    but for that i need to create virtual directory name : " /pcreport " without code
    kindlly help as its working on my developer suit 10g i created a virtual directory in my application server by making following entry in "orion-web.xml" file
    <virtual-directory virtual-path="/pcreport" real-path="/u/treas/temp" />
    kindlly help

    (My paths shown, yours will be different)
    In a text editor :
    /u01/app/oracle/product/midtier/Apache/Apache/conf/httpd.conf
    Add
    Alias /pcreport/ "/u01/app/oracle/product/midtier/forms/pcreport/"
    <Directory "/u01/app/oracle/product/midtier/forms/pcreport/">
    Options Indexes
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    Create the pcreport directory.
    Add a simple test page
    vi /u01/app/oracle/product/midtier/forms/pcreport/test.html
    <html>
    <head>
    <title>Simple test page </title>
    <style type="text/css">
    body {
    margin-left: 20%;;
    margin-right: 20%;
    border: 1px dotted gray;
    padding: 10px 10px 10px 10px;
    </style>
    </head>
    <body>
    <p>test!</p>
    </body>
    </html>
    Test
    http://yourserver.com:7777/pcreport/test.html
    Best Regards
    mseberg

Maybe you are looking for