Partitioning on 10g XML DB

Hi, So far I can partition the root element tables. This is through the xdb:tableProps a(see end of post for context). Anyway how do i get the nested tables that it generates to be partitioned as well, the xdb:tableProps is apparently ignored for these.
If this isn't possible how would i genearate a view containing 8 identically defined tables, to give the same apparent functionality as if only the one xml table were being queried. An xsd with the problem for 3 is listed below.
oraxdb:tableProps="partition by range
=====================================
- <xs:element name="jurisdictionPOI" type="cim:jurisdictionPOIType" oraxdb:SQLName="JURISDICTIONPOI" oraxdb:SQLSchema="SCOTT" oraxdb:defaultTable="JURISDICTIONPOI" oraxdb:tableProps="partition by range (xmldata.source) (partition p1 values less than ('AFQ%') TABLESPACE MNPP_DATA1, partition p2 values less than ('NSX%') TABLESPACE MNPP_DATA2, partition p3 values less than ('NTQ%') TABLESPACE MNPP_DATA3, partition p4 values less than ('QLE%') TABLESPACE MNPP_DATA4, partition p5 values less than ('SAQ%') TABLESPACE MNPP_DATA5, partition p6 values less than ('TAQ%') TABLESPACE MNPP_DATA6, partition p7 values less than ('VID%') TABLESPACE MNPP_DATA7, partition p8 values less than (MAXVALUE) TABLESPACE MNPP_DATA8)">
xsd
===
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="1.0" xdb:storeVarrayAsTable="true">
     <xs:element name="PurchaseOrder1" type="PurchaseOrderType" xdb:tableProps="TABLESPACE CPRS_DATA31" xdb:defaultTable="PURCHASEORDER31"/>
     <xs:element name="PurchaseOrder2" type="PurchaseOrderType" xdb:tableProps="TABLESPACE CPRS_DATA32" xdb:defaultTable="PURCHASEORDER32"/>
     <xs:element name="PurchaseOrder3" type="PurchaseOrderType" xdb:tableProps="TABLESPACE CPRS_DATA33" xdb:defaultTable="PURCHASEORDER33"/>
     <xs:complexType name="PurchaseOrderType" xdb:SQLType="PURCHASEORDER_T10">
          <xs:sequence>
               <xs:element name="Reference" type="ReferenceType" xdb:SQLName="REFERENCE"/>
               <xs:element name="Actions" type="ActionsType" xdb:SQLName="ACTIONS"/>
               <xs:element name="Reject" type="RejectionType" minOccurs="0" xdb:tableProps="TABLESPACE CPRS_DATA21" xdb:SQLName="REJECTION" xdb:defaultTable="REJECTION"/>
               <xs:element name="Requestor" type="RequestorType" xdb:SQLName="REQUESTOR"/>
               <xs:element name="User" type="UserType" xdb:SQLName="USERID"/>
               <xs:element name="CostCenter" type="CostCenterType" xdb:SQLName="COST_CENTER"/>
               <xs:element name="ShippingInstructions" type="ShippingInstructionsType" xdb:tableProps="TABLESPACE CPRS_DATA31" xdb:SQLName="SHIPPING_INSTRUCTIONS"/>
               <xs:element name="SpecialInstructions" type="SpecialInstructionsType" xdb:SQLName="SPECIAL_INSTRUCTIONS"/>
               <xs:element name="LineItems" type="LineItemsType" xdb:defaultTable="LINEITEMS" xdb:SQLName="LINEITEMS" xdb:tableProps="TABLESPACE CPRS_DATA11" />
               <xs:element name="source" type="xs:string" xdb:SQLName="SOURCE" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="LineItemsType" xdb:SQLType="LINEITEMS_T10">
          <xs:sequence>
               <xs:element name="LineItem" type="LineItemType" maxOccurs="unbounded" xdb:SQLName="LINEITEM" xdb:tableProps="TABLESPACE CPRS_DATA21" xdb:SQLCollType="LINEITEM_V"/>
          </xs:sequence>
          <xs:attribute name="source" type="xs:string"/>
     </xs:complexType>
     <xs:complexType name="LineItemType" xdb:SQLType="LINEITEM_T10">
          <xs:sequence>
               <xs:element name="source" type="xs:string" xdb:SQLName="SOURCE" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="Description" type="DescriptionType" xdb:SQLName="DESCRIPTION"/>
               <xs:element name="Part" type="PartType" xdb:tableProps="TABLESPACE CPRS_DATA11" xdb:SQLName="PART"/>
          </xs:sequence>
          <xs:attribute name="source" type="xs:string"/>
          <xs:attribute name="ItemNumber" type="xs:integer" xdb:SQLName="ITEMNUMBER" xdb:SQLType="NUMBER"/>
     </xs:complexType>
     <xs:complexType name="PartType" xdb:SQLType="PART_T10">
          <xs:attribute name="source" type="xs:string"/>
          <xs:attribute name="Id" xdb:SQLName="PART_NUMBER" xdb:SQLType="VARCHAR2">
               <xs:simpleType>
                    <xs:restriction base="xs:string">
                         <xs:minLength value="10"/>
                         <xs:maxLength value="14"/>
                    </xs:restriction>
               </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="Quantity" type="moneyType" xdb:SQLName="QUANTITY"/>
          <xs:attribute name="UnitPrice" type="quantityType" xdb:SQLName="UNITPRICE"/>
     </xs:complexType>
     <xs:simpleType name="ReferenceType">
          <xs:restriction base="xs:string">
               <xs:minLength value="18"/>
               <xs:maxLength value="30"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:complexType name="ActionsType" xdb:SQLType="ACTIONS_T10">
          <xs:sequence>
               <xs:element name="Action" maxOccurs="4" xdb:SQLName="ACTION" xdb:tableProps="TABLESPACE CPRS_DATA31" xdb:SQLCollType="ACTION_V">
                    <xs:complexType xdb:SQLType="ACTION_T10">
                         <xs:sequence>
                              <xs:element name="User" type="UserType" xdb:SQLName="ACTIONED_BY"/>
                              <xs:element name="Date" type="DateType" minOccurs="0" xdb:SQLName="DATE_ACTIONED"/>
               <xs:element name="source" type="xs:string" xdb:SQLName="SOURCE" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
                         </xs:sequence>
                    </xs:complexType>
               </xs:element>
          </xs:sequence>
          <xs:attribute name="source" type="xs:string"/>
     </xs:complexType>
     <xs:complexType name="RejectionType" xdb:SQLType="REJECTION_T10">
          <xs:all>
               <xs:element name="User" type="UserType" minOccurs="0" xdb:SQLName="REJECTED_BY"/>
               <xs:element name="Date" type="DateType" minOccurs="0" xdb:SQLName="DATE_REJECTED"/>
               <xs:element name="Comments" type="CommentsType" minOccurs="0" xdb:SQLName="REASON_REJECTED"/>
          </xs:all>
          <xs:attribute name="source" type="xs:string"/>
     </xs:complexType>
     <xs:complexType name="ShippingInstructionsType" xdb:SQLType="SHIPPING_INSTRUCTIONS_T10">
          <xs:sequence>
               <xs:element name="name" type="NameType" minOccurs="0" xdb:SQLName="SHIP_TO_NAME"/>
               <xs:element name="address" type="AddressType" minOccurs="0" xdb:SQLName="SHIP_TO_ADDRESS"/>
               <xs:element name="telephone" type="TelephoneType" minOccurs="0" xdb:SQLName="SHIP_TO_PHONE"/>
          </xs:sequence>
               <xs:attribute name="source" type="xs:string"/>
     </xs:complexType>
     <xs:simpleType name="moneyType">
          <xs:restriction base="xs:decimal">
               <xs:fractionDigits value="2"/>
               <xs:totalDigits value="12"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="quantityType">
          <xs:restriction base="xs:decimal">
               <xs:fractionDigits value="4"/>
               <xs:totalDigits value="8"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="UserType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="10"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="RequestorType">
          <xs:restriction base="xs:string">
               <xs:minLength value="0"/>
               <xs:maxLength value="128"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="CostCenterType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="4"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="VendorType">
          <xs:restriction base="xs:string">
               <xs:minLength value="0"/>
               <xs:maxLength value="20"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="PurchaseOrderNumberType">
          <xs:restriction base="xs:integer"/>
     </xs:simpleType>
     <xs:simpleType name="SpecialInstructionsType">
          <xs:restriction base="xs:string">
               <xs:minLength value="0"/>
               <xs:maxLength value="2048"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="NameType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="20"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="AddressType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="256"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="TelephoneType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="24"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="DateType">
          <xs:restriction base="xs:date"/>
     </xs:simpleType>
     <xs:simpleType name="CommentsType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="2048"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="DescriptionType">
          <xs:restriction base="xs:string">
               <xs:minLength value="1"/>
               <xs:maxLength value="256"/>
          </xs:restriction>
     </xs:simpleType>
</xs:schema>

The view would have to be a union all view, I'm not sure how well XPath re-write would work...
I had writen a union all view to pick from the Parents but how do i write a general view which covers the tables and all their nested tables (and their nest tables nested tables).
Can you help me understand the volume of data you are going to be managing
8,000,000 records in the top tables, there will be an average of 8 nested table rows per parent row foir several items.
the particular benefits you are looking from partitioning in this case...
We get the data from several area sources. Some of these send in a complete refresh of data weekly as opposed to a list of changes. having all the records for an area in the same block will greatly improve times for updates even if we can't blow away and the reload a partition because of the nested tables ( i know this was unavailable with nested tables in 8i )
The option of a clever view could enable swapping by renaming tables in the view which have last weeks data and this weeks already loaded.
Thanks for all help
Trev

Similar Messages

  • Pls send me oracle 10g xml desktop publisher ebook and software.

    can any body send me oracle 10g xml desktop publisher ebook and software.
    Thankin you in advance.

    Hi,
    It looks like it is trying to create an account for SAP and getting error. It's permission problem. You may want to continue installation with administration previliges.
    or try restart.
    Thanks,

  • How to override the 'default' partition in composite.xml - urgent

    All,
    Version: 11.1.1.4
    I have created a simple BPEL A which invokes another BPEL B which is deployed to 'default' partition. In the composite.xml of BPEL A I can see the WSDL location of BPEL B as *"http://localhost:7001/soa-infra/services/default/BPELB/BPELB.wsdl"*. I noticed that the name of the partition (i.e in our case its 'default') is hardcoded in the wsdl location. During deployment I want to override to other partition, how I can achieve this?
    thanks
    sen

    If you want to change the partion name at run time then used Token ,value concept and define it in build.xml
    For Example
    <target name="replaceAllValues">
    <input
    message="Please enter full path of the file directory:"
    addproperty="dirPath"/>
    <replace dir="${dirPath}">
    <replacefilter
    token="OldValue."
    value="Newvalue"/>
    </replace>
    </target>
    Call the above target from ant build.xml before you deploying the service.
    Regards,
    Tarak.

  • Oracle 10g : XML* packages have become synonyms of DBMS_XML* paclages

    Hello,
    I noticed that old 9i XML* packages are now synonyms for DBMS_XML* packages.
    Those package in Oracle 9i were different from the DBMS_ packages.
    Now my application is not working anymore because we are now Is there a kit to install on 10g to get the old packages ?

    David
    The decsion to prevent access to the filesystem was taken as part of the general process of hardening the database for security reasons.
    I use XSL with includes in the following form without any problems
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.w3.org/2001/XMLSchema" xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xfiles="http://xmlns.oracle.com/xfiles" xmlns:xr="http://xmlns.oracle.com/xdb/XDBResource.xsd">
         <xsl:output version="1.0" encoding="utf-8" omit-xml-declaration="no" indent="no" media-type="text/html" method="html"/>
         <xsl:include href="/cabo/XSL/XFilesCommon.xsl"/>
         <xsl:variable name="reverseSort">

  • Linux Cluster File System partitions for 10g RAC

    Hi Friends,
    I planned to install 2 Node Oracle 10g RAC on RHEL and I planned to use Linux File system itself for OCR,Voting Disk and datafiles (no OCFS2/RAW/ASM)
    I am having SAN storage.
    I would like to know how do i create shared/cluster partitions for OCR,Voting Disk and Datafiles (common storage on SAN).
    Do i need to install any Linux cluster file system for creating these shared partitions (as we have sun cluster in solaris)?
    If so let me know what versions are supported and provide the necessary Note / Link
    Regards,
    DB

    Hi ,
    Below link may be useful to you:
    ORACLE-BASE - Oracle 10g RAC On Linux Using NFS

  • Partitioning in 10g

    Hi,
    We have to projects to implement. One is upgradation to 10g from 9i and the other one is partitioning 13 of our major tables. We have already partitioned 4 of them.
    Will it be safer to complete patitioning before moving over to 10g?
    What are the new features with 10g on partitioning?
    We have some tables with hybrid partitioning on them. Anything I need to keep in mind with respect to this when I move over to 10g?
    Thanks for the help in advance.

    There are couple of new partition types were added to 10g, like,
    Composite Range-Hash Partitioning
    Composite Range-List Partitioning
    For more information, you can browse the docs.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14231/partiti.htm
    If you want to make avail new features of 10g partitions, you can create them in 10g, or you can do the partition in 9i before you migrate.
    Jaffar

  • Linux performance for LVM vs independent partition on 10G XE?

    Hi groups,
    I am a programmer and now requested to evaluate using Oracle 10G XE to replace MySQL for some of running web application. I remember the old experience that when playing with oracle 8i with linux, the guideline said that datafile of oracle should be placed at a independent partition. I m now testing XE with SUSE Enterprise 9, which using LVM(logical volume management).
    So far there's not seen guideline that talking about if 10G XE should using dependent partition. And the case is that SUSE using LVM that application see multiple physical partitions as one logicial partition. This is totally an opposite to what Oracle intended for using independent partition. I would like is that the 4GB datafile limit make this not a concern?
    I m not a DBA, thus hoping some gurus can give me some advise. Thanks!

    You can separate the redo logs, tablespaces etc in XE onto separate disks if you want. It's a manual exercise but there is nothing to stop you from doing it.
    But as Andrea mentioned, this is largely an exercise in futility given that XE is 4 Gb of data and a single CPU. If performance is an issue then you would probably be better to use Standard Edition or Standard Edition One that gives you greater control, and also includes advanced storage management techniques such as Automatic Storage Management.
    The default install of XE should be more than adequate for the majority of usages that XE is targeted at. With one proviso - the production release will use a defined flashback recovery area (FRA) for some of the online redo logs, archived redo logs, and backupsets.
    We would strongly recommend that if you have more than 1 disk, then the FRA should be placed on a seperate disk other than the one that holds the database.

  • Dynamic partitioning in 10g -

    Hi,
    I am on 10g and need to implement dynamic partitioning.
    In a table based on a column I need to implement dynamic partitioning .
    id
    name
    value
    1
    name1
    val1
    2
    name1
    val2
    3
    name2
    val3
    4
    name2
    val4
    5
    name2
    val5
    From the above table for each name uniquely (i.e for name1 ,name2 ) different partitions have to be created.
    If a name3 is added a new partition has to be created dynamically.
    If the column value is deleted (if name1 is deleted) the relevant partition should also be deleted
    Please suggest on how to achieve  this .
    Thanks

    Dynamic partitioning isn't available in Oracle 10g. It's there starting with 11g with the name 'Interval Partitioning'.
    If a name3 is added a new partition has to be created dynamically.
    If you are on 10g, the only option you have is to create partitions ahead of time. Oracle won't create it for you dynamically.
    If the column value is deleted (if name1 is deleted) the relevant partition should also be deleted
    This too would have to be done manually. If you delete a particular row or even entire set from the partition, the partition still exists. You need to drop the partition explicitly. It can be truncated as well. And this remains same in 10g and 11g.
    Having said that, partitioning in general a feature of DWH. You truncate entire partition and load it back again. Updates and deletes for a small set or a single row, in general, is not a feature that normally goes with the partitioning.
    Thanks,
    Ishan

  • No swap partition on 10g DB

    I had a doubt that is a partition with the name 'swap' needs to exist on a 10g DB server for swap space to be used. My current 10g DB server does not have a partition with the name 'swap' explicitly. It has the following kind of structure.
    [root@JispNewDB scripts]# df -kh
    Filesystem Size Used Avail Use% Mounted on
    /dev/cciss/c0d0p8 48G 12G 34G 26% /
    /dev/cciss/c0d0p3 48G 22G 24G 49% /backup
    /dev/cciss/c0d0p1 99M 12M 83M 12% /boot
    /dev/cciss/c0d0p2 191G 33G 149G 18% /crestel
    none 4.0G 0 4.0G 0% /dev/shm
    /dev/cciss/c0d0p9 24G 81M 23G 1% /home
    /dev/cciss/c0d0p5 48G 6.6G 39G 15% /indexes
    /dev/cciss/c0d0p7 48G 85M 46G 1% /tmp
    /dev/cciss/c0d0p6 48G 32G 14G 70% /u01
    Does, it mean that swap space will not be used in the system? There is 16 GB of swap space otherwise on the system.
    I hope, my question is clear.
    Please, help in solving the doubt.
    regards

    Is command free showing swap?
    If You have linux, then You can execute
    swapon -s - this will show all swap files or partition defined on system
    look into /etc/fstabs as well to see is there defined swap partition.
    fdisk -ls will show as well.
    If above are showing swap - then You are using swap.

  • WebRowSet properties for Oracle 10g XML

    //I am writing data into a database
    //Clob field then useing a WebRowSet writing
    //it as XML to the clob
    ResultSet rs = statement.executeQuery();
    WebRowSet webRowSet = new WebRowSetImpl();
    webRowSet.setCommand(sql);
    webRowSet.populate(rs);
    // First add the base entry to the database
    ReportResultDao rrDao = new ReportResultDao();
    ReportResultVo rrVo = new ReportResultVo();
    rrVo.setProcessRequestId(processRequest.getRequestId());
    rrVo.setDescription("Report_UserListByRealmSecurityCode");
    int reportResultId = rrDao.addReportResult(rrVo);
    // Next read that entry back so that the CLOB can be inserted
    rrVo = rrDao.getReportResult(reportResultId);
    Clob results = rrVo.getResult();
    // write the clob value
    Writer clobWriter = new BufferedWriter(results.setCharacterStream(0L));
    webRowSet.writeXml(clobWriter);
    clobWriter.close();
    //I then read the XMl but get an error
    Clob clob = reportResult.getResult();
    clobCharacterStream = new BufferedReader(clob.getCharacterStream());
    webRowSet = new WebRowSetImpl();
    webRowSet.readXml(clobCharacterStream);
    // This is the error
         : XML-20220: (Fatal Error) Invalid InputSource.
    // I validated the XML using an XML Validator tool
    //and found the following flaws
    <datasource><null /></datasource>
    <table-name><null /></table-name>
    <url><null /></url>
    // I removed the <null /> string and re-validate
    // and success with
    <datasource></datasource>
    <table-name></table-name>
    <url></url>
    //Now how do I do that so the row set produces the
    //same thing???
    //I tried the following
    // before writing the xml I set the following
    webRowSet.setDataSourceName(" "); // there was no setdataSource method
    webRowSet.setTableName(" ");
    webRowSet.setUrl(" ");
    // and before reading I set
    webRowSet.setDataSourceName(" "); // there was no setdataSource method
    webRowSet.setTableName(" ");
    webRowSet.setUrl(" ");
    // Still I got error
         : XML-20220: (Fatal Error) Invalid InputSource.
    // But this time when I validated I just got an reported flaw on
    <datasource><null /></datasource>
    // The url and table-name both accepted " "
    Can anyone help me with this issue?
    Edited by: user1814985 on Oct 23, 2008 6:18 AM

    David
    The decsion to prevent access to the filesystem was taken as part of the general process of hardening the database for security reasons.
    I use XSL with includes in the following form without any problems
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:n1="http://www.w3.org/2001/XMLSchema" xmlns:r="http://xmlns.oracle.com/xdb/XDBResource.xsd" xmlns:xfiles="http://xmlns.oracle.com/xfiles" xmlns:xr="http://xmlns.oracle.com/xdb/XDBResource.xsd">
         <xsl:output version="1.0" encoding="utf-8" omit-xml-declaration="no" indent="no" media-type="text/html" method="html"/>
         <xsl:include href="/cabo/XSL/XFilesCommon.xsl"/>
         <xsl:variable name="reverseSort">

  • Error while generating an XML Document from XML Schema with JAXB

    Hi,
    I am following this OTN tutorial to generate the XML document from Java classes got from the XSD document.
    http://www.oracle.com/technology/pub/notes/technote_jaxb.html
    I am able to generate all the Java classes but getting error on compiling the XMLConstructor.java class which is use for generating the XML document :
    I am using JDK 1.5 and
    Oracle 10g XML Developer's Kit (XDK) Production for Java. xdk_nt_10_1_0_2_0_production
    (though these are warnings I am not able to run it.)
    Error
    C:\Prototype\classes\jaxbderived\catalog>javac -Xlint XMLConstructor.java
    warning: [path] bad path element "%CLASSPATH%": no such file or directory
    XMLConstructor.java:42: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List
    journalList.add(journal);
    ^
    XMLConstructor.java:46: warning: [unchecked] unchecked call to add(E) as a membe
    r of the raw type java.util.List
    articleList.add(article);
    Thanks
    Sanjeev ([email protected])

    Use JDK 1.4.

  • Can't run form from Form Builder 10g - Port configuration problem?

    Hi,
    I have installed the Database (10.2.0.1.0) and the Developer Suite (10.1.2.0.2) on two Linux machines (Red Hat Enterprise Linux ES 4 Basic).
    If I enter the frmservlet-URL manually everything seems to be fine.
    In one case I enter http://127.0.0.1:8890/forms/frmservlet, in the other http://127.0.0.1:8889/forms/frmservlet; in BOTH cases I get eventually a dark square and the status bar says "Applet oracle.forms.engine.Main started".
    HOWEVER, if I create a simple form with Form Builder and click on the Button with the green traffic light ("Run Form"), the form runs only on the machine where frmservlet listens on port 8890.
    On the other machine (frmservlet configured to listen on port 8889) Firefox pops up, the URL "http://127.0.0.1:32979/6dOrpwghCqnp8PhMT7KVT533m3IaArqFbPqPBOztZXWYSsNy" gets called, and nothing else happens. The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and it stays like this forever.
    I assume this is a port configuration problem, but I don't have a clue where to start.
    Any suggestions how I should proceed are greatly appreciated.
    Thank you very much in advance!

    Hi Frank,
    Thank you for your reply.
    I doublechecked my configuration.
    In the dialog Edit --> Preferences --> Runtime the Application Server URL is set to "127.0.0.1:8889/forms/frmservlet".
    However, when I attempt to run the form, the URL "http://127.0.0.1:33140/W2dwbV9eXS2fPkuKlxNhCxFWdEihwDviat2uV7ycrSotqwDN" gets called.
    The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and that's it.
    I wonder how the port number 33140 got selected. Interestingly, this time it is a different number; last time it was port 32979. In fact, the port number seems to change each time; I tried again and now it is 33189.
    I will now try to set the port number for the frmservlet to 8890.
    I choose Edit --> Preferences --> Runtime and set the application server URL to "127.0.0.1:8890/forms/frmservlet".
    I stop the container, open /home/oracle/OraHome_1/j2ee/DevSuite/config/default-web-site.xml and change the port number to 8890:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE web-site PUBLIC "Oracle Application Server 10g XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <!-- change the host name below to your own host name. Localhost will -->
    <!-- not work with clustering -->
    <!-- also add cluster-island attribute as below
    <web-site host="localhost" port="0" protocol="ajp13"
    display-name="Default Oracle Application Server 10g Java WebSite" cluster-island="1" >
    -->
    <web-site port="8890" protocol="http"
    display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site">
    <!-- Uncomment the following line when using clustering -->
         <!-- <frontend host="your_host_name" port="80" /> -->
         <!-- The default web-app for this site, bound to the root -->
         <default-web-app application="default" name="defaultWebApp" root="/j2ee" />
    <!-- Do not delete this line. -->
    <web-app application="forms" name="formsweb" root="/forms" />
    <!-- -->
    <!-- <web-app application="forms" name="formsweb" root="/forms" /> -->
    <web-app application ="reports" name="web" root="/reports" />
    <web-app application = "reports" name="demo" root="/repdemo" />
         <!-- Access Log, where requests are logged to -->
         <access-log path="../log/default-web-access.log" />
    </web-site>
    I restart the container, start Form Builder, connect to the database, and open my test form.
    When attempting to run the form, the URL "http://127.0.0.1:33437/Pl0n3ky9vmU5z37A7ScBnQhsGwq3jwuzJpgTAKWPMOYIzT8K" gets called (again a new port number, apparently picked radomly within a certain range) and nothing happens: "Waiting for 127.0.0.1...".
    However, when I enter the URL http://127.0.0.1:8890/forms/frmservlet I do (eventually, after confirming that I trust the certificate etc.) get a darc rectangle and the status message "Applet oracle.forms.engine.Main started", which tells me that my setup can't be that far off target.
    Here is the output of netstat:
    [root@localhost ~]# netstat -anp --tcp
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN 2779/rpc.statd
    tcp 0 0 0.0.0.0:23910 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2759/portmap
    tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 4265/tnslsnr
    tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2983/xinetd
    tcp 0 0 127.0.0.1:7830 0.0.0.0:* LISTEN 4429/spamd --port 7
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2928/cupsd
    tcp 0 0 0.0.0.0:9240 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3002/sendmail: acce
    tcp 0 0 0.0.0.0:8890 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 0.0.0.0:32795 0.0.0.0:* LISTEN 4231/ora_d000_orcl
    tcp 0 0 127.0.0.1:1521 127.0.0.1:32817 ESTABLISHED 4265/tnslsnr
    tcp 0 0 127.0.0.1:32817 127.0.0.1:1521 ESTABLISHED 4209/ora_pmon_orcl
    tcp 0 0 127.0.0.1:33425 127.0.0.1:1521 ESTABLISHED 5298/frmbld
    tcp 0 0 127.0.0.1:1521 127.0.0.1:33425 ESTABLISHED 5311/oracleorcl
    tcp 1 0 80.133.127.83:33485 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33484 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33494 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33520 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 0 0 80.133.127.83:33529 209.132.177.100:443 ESTABLISHED 4060/python
    tcp 0 0 80.133.127.83:33528 209.132.177.100:443 ESTABLISHED 4060/python
    tcp 1 0 80.133.127.83:33460 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33470 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 0 0 :::22 :::* LISTEN 2968/sshd
    tcp 0 0 ::ffff:127.0.0.1:33437 :::* LISTEN 5298/frmbld
    tcp 697 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33439 CLOSE_WAIT -
    tcp 348 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33440 CLOSE_WAIT -
    [root@localhost ~]#
    The question remains: Where do those port numbers come from?
    Regards,
    jme

  • XML schema changes

    Hi,
    Can someone tell me whats the best way to handle XML schema changes if there are already XMLType tables creates using the schema?
    I checked the Oracle XML DB developer's guide but didnt find any information on updating schema.
    Thanks,
    Hiren

    Fundamentally the process behind copyEvolve is...
    For each table or column based on the schema
    1. Create a table with a column of XMLType which is not based on the XMLSchema. EG XMLType stored as CLOB
    2. Copy the content of the existing table into the CLOB based table.
    3. Delete the existing schema
    4. REgister the New Schema.
    5. Recreate teh tables and columns
    6. COpy the data into the new tables using supplied XSL transformation where necessary
    7. Delete tempoarary tables....
    The manual schema evoluiton method outlined in the 10g XML DB documentation will work in 9.2.x. The copyEvolve() method is only available in 10g. It should be noted that we do cheat a little under the covers with the copyEvolve() process, so in general, in 10g using copyEvolve() will be a little faster than the above process.
    THe other thing related to using the repository. We carefully preserve any OID's related to the XMLType tables affected by this process so that all the repository references remain valid.

  • Comparing two XML Schemas

    Hi All,
    I want to compare two versions of the same XML Schema. I am working with Oracle 10g XML DB. I think we have something in 11g but I am constrainted to 10g.
    Requirement:
    1. I start afresh and register the XML Schema and also insert XML documents compliant to that schema in my XMLTYPE table.
    2. Now after some time, I need to add a new element. So, I modify the XML Schema and write the XSLT for its addition to XML documents and do a CopyEvolve(). Let us assume, I have a script for this.
    3. Now if accidentally, I rerun the script, I may run into errors as the element is already there.
    So, I thought I should find the differences between the new version of the schema and the old version and if there are differences apply the XSLT and also evolve the schema. How do we do this?
    Also, Can we generate the XSLT automatically based on the two versions of XML Schema?
    Thanks
    Ramesh

    XML Schemas are just XML documents.
    Compare the XML Schemas using the XDK's XMLDiff class and generate the XSLT from the differences.
    http://www.devx.com/Java/Article/30943

  • Relating rdf and xml reports

    Hi all
    i have one report6i/10g xml output file and xml report xml output file.
    both output files are xml format. My question is how to
    find out whether it's report6i/10g output or xml report output?
    Thanks in advance,
    Narendra G.

    My question is how tofind out whether it's report6i/10g output or xml report output?>
    i think did not find
    but you can add some tag: ...<source>rdf</source>...or add any comment to xml: <!-- from xml reports -->

Maybe you are looking for

  • HP LaserJet CM1415fnw stop printing

    My CM 1415fnw stopped printing today from every computer in the house. I have had this printer for about a year without any other problems. The wirless network test report states "pass" but the HP Toolbox FX states printer not connected to the networ

  • Cannot establish TLS with SMTP...wrong address, connection error 5

    An error occurred sending mail: The mail server sent an incorrect greeting: Cannot establish TLS with SMTP server 65.55.176.126:587, SSL_connect error 5:connection closed.

  • Nikon AW100 JPEG file conversion

    Acrobat X does not convert my JPEG pictures from my Nikon AW100. this is a 16M pic camera. I try to reduce the size of the pic and it still will not convert. It just runs and then gives the following error; "Adobe Acrobat has stopped working A proble

  • Launch JNLP file which required full-qualified domain name

    Hi all, My suitation is like this: I need to launch an JNLP file which I need a domain name in order to access it: (using JDK 1.5.0_11) e.g. http://hostname.domain.domain/xxx/yyy/zzz.jnlp But when it try to access one of the jar file, it will refer t

  • Include a link in issue tracker notification

    I have my issue tracker sending "New Issue Assignment" and "Overdue Issues for Project..." email notifications. I would also like to include a link to the related issue in the body of the message. Can you help me?