ORA-31061, ORA-19202

I've upgraded database version *11.2.0.1* to *11.2.0.2* by DBUA, during upgrade this error came up.
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
I chose Ignore then finally DBUA report all upgrade processes have been successful. This is my production database and it's now running fine but I'm worry that the error might cause further issues. Is there any idea or suggestion?

... that the error might cause further issuesIt depends. If you don't use XDB (it's installed by default), you can ignore the error. Otherwise you have to find the 'XML event error' and to fix it. There should be more errors in the logfile, when XDB is upgraded.
Werner

Similar Messages

  • ORA-31061: XDB error

    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for 64-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Productionnot sure what I am doing wrong here. (I don't use xml often so I'm sure it is something obvious)
    ok created the following table and sequence
    CREATE TABLE saved_queries
       seq_cd           NUMBER,
       user_id          VARCHAR2 (50 BYTE) NOT NULL,
       query_name       VARCHAR2 (200 BYTE) NOT NULL,
       create_dt        DATE NOT NULL,
       last_update_dt   DATE NOT NULL,
       query_info       SYS.XMLTYPE NOT NULL
    ALTER TABLE saved_queries ADD (
      CONSTRAINT SAVED_QUERIES_PK
      PRIMARY KEY (SEQ_CD));
      ALTER TABLE saved_queries ADD (
      CONSTRAINT SAVED_QUERIES_UQ unique  (user_id , query_name ));
    CREATE SEQUENCE saved_queries_seq
       START WITH 1
       INCREMENT BY 1
       NOCACHE
       NOCYCLE;however when I try my insert
    INSERT INTO saved_queries (seq_cd,
                               user_id,
                               query_name,
                               create_dt,
                               last_update_dt,
                               query_info)
         VALUES (
                   saved_queries_seq.nextval,
                   'Bdellinger',
                   'My First Query',
                   SYSDATE,
                   SYSDATE,
                   sys.xmltype.
                    createxml (
                      '<query>
        <DropDownListAssignedTo>Bryan Dellinger</DropDownListAssignedTo>
       < DropDownListTaskStatus>In-Progress</DropDownListTaskStatus>
        < DropDownListTaskStatus>Pending</DropDownListTaskStatus>
    </query>'));I receive
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    In line 3 of orastream:
    LPX-00231: invalid character 32 (' ') found in a Name or Nmtokenthanks for your help
    let me know if you need any more info.

    Could it be the space after the '<' in this part:
    < DropDownListTaskStatus>In-Progress</DropDownListTaskStatus>
        < DropDownListTaskStatus>Pending</DropDownListTaskStatus>?

  • CTAS causes ORA-31061: XDB error: XML event error

    The query works, the CTAS fails:
    CREATE TABLE Moocows AS
    ERROR at line 1:
    ORA-31061: XDB error: XML event error
    ORA-19202: Error occurred in XML processing
    In line 1 of orastream:
    LPX-00245: extra data after end of document
    CREATE TABLE Moocows AS
    WITH
         XML(Document)
    AS
          SELECT
              --Amazon_PAPI.Get_Response(Amazon_PAPI.ItemLookup('032244047145', 'UPC', 'Toys', '5011363525517', 'EAN', 'Toys'))
              --Amazon_PAPI.Get_Response(Amazon_PAPI.ItemLookup('032244047145', 'UPC', 'All', '5011363525517', 'EAN', 'All'))
              Amazon_PAPI.Get_Response(Amazon_PAPI.ItemSearch('Hungry Hungry Hippos', 'All', '', '', '', 'Mastermind', 'All', '', '', ''))
         FROM
              Dual
    SELECT
         Items.Id,
         Items.Code,
         Items.Message,
         Items.Isvalid,
         Item.Id                         Item_Id,
         Item.ASIN,
         Item.DetailPageURL,
         XMLAGG(Item.ItemLink)               ItemLink,
         Item.SmallImage_URL,
         Item.SmallImage_Height,
         Item.SmallImage_Height_Units,
         Item.SmallImage_Width,
         Item.SmallImage_Width_Units,
         Item.MediumImage_URL,
         Item.MediumImage_Height,
         Item.MediumImage_Height_Units,
         Item.MediumImage_Width,
         Item.MediumImage_Width_Units,
         Item.LargeImage_URL,
         Item.LargeImage_Height,
         Item.LargeImage_Height_Units,
         Item.LargeImage_Width,
         Item.LargeImage_Width_Units,
         XMLAGG(Item.ImageSet)               ImageSet,
         XMLAGG(Item.Actor)               Actor,
         XMLAGG(Item.Artist)               Artist,
         Item.AspectRatio,
         Item.AudienceRating,
         XMLAGG(Item.AudioFormat)          AudioFormat,
         XMLAGG(Item.Author)               Author,
         Item.Binding,
         Item.Brand,
         XMLAGG(Item.CatalogNumberListElement)     CatalogNumberListElement,
         XMLAGG(Item.Category)               Category,
         Item.CEROAgeRating,
         Item.ClothingSize,
         Item.Color,
         XMLAGG(Item.Creator)               Creator,
         XMLAGG(Item.Director)               Director,
         Item.EAN,
         XMLAGG(Item.EANListElement)          EANListElement,
         Item.Edition,
         XMLAGG(Item.EISBN)               EISBN,
         Item.EpisodeSequence,
         Item.ESRBAgeRating,
         XMLAGG(Item.Feature)               Feature,
         XMLAGG(Item.Format)               Format,
         Item.Genre,
         Item.HardwarePlatform,
         Item.HazardousMaterialType,
         Item.IsAdultProduct,
         Item.IsAutographed,
         Item.ISBN,
         Item.IsEligibileForTrade,
         Item.IsMemorabilia,
         Item.IssuesPerYear,
         XMLAGG(Item.ItemDimensions)          ItemDimensions,
         Item.ItemPartNumber,
         Item.Label,
         XMLAGG(Item.Langauge)     Langauge,
         Item.LegalDisclaimer,
         Item.ListPrice,
         Item.MagazineType,
         Item.Manufacturer,
         Item.ManufacturerMaximumAge,
         Item.ManufacturerMinimumAge,
         Item.ManufacturerPartsWarrantyDesc,
         Item.MediaType,
         Item.Model,
         Item.ModelYear,
         Item.MPN,
         Item.NumberOfDiscs,
         Item.NumberOfIssues,
         Item.NumberOfItems,
         Item.NumberOfPages,
         Item.NumberOfTracks,
         Item.OperatingSystem,
         Item.PackageDimensions_Height,
         Item.PackageDimensions_Height_Units,
         Item.PackageDimensions_Length,
         Item.PackageDimensions_Length_Units,
         Item.PackageDimensions_Weight,
         Item.PackageDimensions_Weight_Units,
         Item.PackageDimensions_Width,
         Item.PackageDimensions_Width_Units,
         Item.PackageQuantity,
         Item.PartNumber,
         XMLAGG(Item.PictureFormat)          PictureFormat,
         XMLAGG(Item.Platform)               Platform,
         Item.ProductGroup,
         Item.ProductTypeName,
         Item.ProductTypeSubcategory,
         Item.PublicationDate,
         Item.Publisher,
         Item.RegionCode,
         Item.ReleaseDate,
         Item.RunningTime,
         Item.SeikodoProductCode,
         Item.Item_Size,
         Item.SKU,
         Item.Studio,
         Item.SubscriptionLength,
         Item.Title,
         Item.TrackSequence,
         Item.TradeInValue,
         Item.UPC,
         XMLAGG(Item.UPCListElement)          UPCListElement,
         Item.Warranty,
         Item.WEEETaxValue
    FROM
         XMLTABLE
          XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
          '//OperationRequest/Errors/Error
          | //Items'
          PASSING
              (SELECT Document FROM XML)
          COLUMNS
              Id          FOR ORDINALITY,
              Code          VARCHAR2(0050)     PATH 'Code',
              Message          VARCHAR2(4000)     PATH 'Message',
              IsValid          VARCHAR2(005)     PATH 'Request/IsValid',
              Item          XMLTYPE          PATH 'Item'
         ) Items
    LEFT JOIN
         XMLTABLE
          XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
          '/Item'
          PASSING
              Items.Item
          COLUMNS
              Id                    FOR ORDINALITY,
              ASIN                    VARCHAR2(0010)     PATH 'ASIN',
              DetailPageURL               VARCHAR2(0256)     PATH 'DetailPageURL',
              ItemLink               XMLTYPE          PATH 'ItemLinks/ItemLink',
              SmallImage_URL               VARCHAR2(0256)     PATH 'SmallImage/URL',
              SmallImage_Height          NUMBER(4)     PATH 'SmallImage/Height',
              SmallImage_Height_Units          VARCHAR2(0006)     PATH 'SmallImage/Height/@Units',
              SmallImage_Width          NUMBER(4)     PATH 'SmallImage/Width',
              SmallImage_Width_Units          VARCHAR2(0006)     PATH 'SmallImage/Width/@Units',
              MediumImage_URL               VARCHAR2(0256)     PATH 'MediumImage/URL',
              MediumImage_Height          NUMBER(4)     PATH 'MediumImage/Height',
              MediumImage_Height_Units     VARCHAR2(0006)     PATH 'MediumImage/Height/@Units',
              MediumImage_Width          NUMBER(4)     PATH 'MediumImage/Width',
              MediumImage_Width_Units          VARCHAR2(0006)     PATH 'MediumImage/Width/@Units',
              LargeImage_URL               VARCHAR2(0256)     PATH 'LargeImage/URL',
              LargeImage_Height          NUMBER(4)     PATH 'LargeImage/Height',
              LargeImage_Height_Units          VARCHAR2(0006)     PATH 'LargeImage/Height/@Units',
              LargeImage_Width          NUMBER(4)     PATH 'LargeImage/Width',
              LargeImage_Width_Units          VARCHAR2(0006)     PATH 'LargeImage/Width/@Units',
              ImageSet               XMLTYPE          PATH 'ImageSets/ImageSet',
              Actor                    XMLTYPE          PATH 'ItemAttributes/Actor',
              Artist                    XMLTYPE          PATH 'ItemAttributes/Artist',
              AspectRatio               VARCHAR2(0020)     PATH 'ItemAttributes/AspectRatio',
              AudienceRating               VARCHAR2(0020)     PATH 'ItemAttributes/AudienceRating',
              AudioFormat               XMLTYPE          PATH 'ItemAttributes/AudioFormat',
              Author                    XMLTYPE          PATH 'ItemAttributes/Author',
              Binding                    VARCHAR2(0050)     PATH 'ItemAttributes/Binding',
              Brand                    VARCHAR2(4000)     PATH 'ItemAttributes/Brand',
              CatalogNumberListElement     XMLTYPE          PATH 'ItemAttributes/CatalogNumberList/CatalogNumberListElement',
              Category               XMLTYPE          PATH 'ItemAttributes/Category',
              CEROAgeRating               VARCHAR2(0020)     PATH 'ItemAttributes/CEROAgeRating',
              ClothingSize               VARCHAR2(0050)     PATH 'ItemAttributes/ClothingSize',
              Color                    VARCHAR2(0100)     PATH 'ItemAttributes/Color',
              Creator                    XMLTYPE          PATH 'ItemAttributes/Creator',
              Department               VARCHAR2(0050)     PATH 'ItemAttributes/Department',
              Director               XMLTYPE          PATH 'ItemAttributes/Director',
              EAN                    NUMBER(15)     PATH 'ItemAttributes/EAN',
              EANListElement               XMLTYPE          PATH 'ItemAttributes/EANList/EANListElement',
              Edition                    VARCHAR2(0020)     PATH 'ItemAttributes/Edition',
              EISBN                    XMLTYPE      PATH 'ItemAttributes/EISBN',
              EpisodeSequence               VARCHAR2(0020)     PATH 'ItemAttributes/EpisodeSequence',
              ESRBAgeRating               VARCHAR2(0020)     PATH 'ItemAttributes/ESRBAgeRating',
              Feature                    XMLTYPE          PATH 'ItemAttributes/Feature',
              Format                    XMLTYPE          PATH 'ItemAttributes/Format',
              Genre                    VARCHAR2(0050)     PATH 'ItemAttributes/Genre',
              HardwarePlatform          VARCHAR2(0020)     PATH 'ItemAttributes/HardwarePlatform',
              HazardousMaterialType          VARCHAR2(0050)     PATH 'ItemAttributes/HazardousMaterialType',
              IsAdultProduct               VARCHAR2(0005)     PATH 'ItemAttributes/IsAdultProduct',
              IsAutographed               VARCHAR2(0005)     PATH 'ItemAttributes/IsAutographed',
              ISBN                    VARCHAR2(0013)     PATH 'ItemAttributes/ISBN',
              IsEligibileForTrade          VARCHAR2(0005)     PATH 'ItemAttributes/IsEligibileForTrade',
              IsMemorabilia               VARCHAR2(0005)     PATH 'ItemAttributes/IsMemorabilia',
              IssuesPerYear               VARCHAR2(0050)     PATH 'ItemAttributes/IssuesPerYear',
              ItemDimensions               XMLTYPE          PATH 'ItemAttributes/ItemDimensions',
              ItemPartNumber               VARCHAR2(0255)     PATH 'ItemAttributes/ItemPartNumber',
              Label                    VARCHAR2(4000)     PATH 'ItemAttributes/Label',
              Langauge               XMLTYPE          PATH 'ItemAttributes/Languages/Langauge',
              LegalDisclaimer               VARCHAR2(4000)     PATH 'ItemAttributes/LegalDisclaimer',
              ListPrice               VARCHAR2(0020)     PATH 'ItemAttributes/ListPrice',
              MagazineType               VARCHAR2(0020)     PATH 'ItemAttributes/MagazineType',
              Manufacturer               VARCHAR2(4000)     PATH 'ItemAttributes/Manufacturer',
              ManufacturerMaximumAge          VARCHAR2(0050)     PATH 'ItemAttributes/ManufacturerMaximumAge',
              ManufacturerMinimumAge          VARCHAR2(0050)     PATH 'ItemAttributes/ManufacturerMinimumAge',
              ManufacturerPartsWarrantyDesc     VARCHAR2(4000)     PATH 'ItemAttributes/ManufacturerPartsWarrantyDesc',
              MediaType               VARCHAR2(0020)     PATH 'ItemAttributes/MediaType',
              Model                    VARCHAR2(0100)     PATH 'ItemAttributes/Model',
              ModelYear               NUMBER(4)     PATH 'ItemAttributes/ModelYear',
              MPN                    VARCHAR2(0255)     PATH 'ItemAttributes/MPN',
              NumberOfDiscs               NUMBER(3)     PATH 'ItemAttributes/NumberOfDiscs',
              NumberOfIssues               NUMBER(3)     PATH 'ItemAttributes/NumberOfIssues',
              NumberOfItems               NUMBER(7)     PATH 'ItemAttributes/NumberOfItems',
              NumberOfPages               NUMBER(4)     PATH 'ItemAttributes/NumberOfPages',
              NumberOfTracks               NUMBER(3)     PATH 'ItemAttributes/NumberOfTracks',
              OperatingSystem               VARCHAR2(20)     PATH 'ItemAttributes/OperatingSystem',
              PackageDimensions_Height     NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Height',
              PackageDimensions_Height_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Height/@Units',
              PackageDimensions_Length     NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Length',
              PackageDimensions_Length_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Length/@Units',
              PackageDimensions_Weight     NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Weight',
              PackageDimensions_Weight_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Weight/@Units',
              PackageDimensions_Width          NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Width',
              PackageDimensions_Width_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Width/@Units',
              PackageQuantity               NUMBER(5)     PATH 'ItemAttributes/PackageQuantity',
              PartNumber               VARCHAR2(0100)     PATH 'ItemAttributes/PartNumber',
              PictureFormat               XMLTYPE          PATH 'ItemAttributes/PictureFormat',
              Platform               XMLTYPE          PATH 'ItemAttributes/Platform',
              ProductGroup               VARCHAR2(0050)     PATH 'ItemAttributes/ProductGroup',
              ProductTypeName               VARCHAR2(4000)     PATH 'ItemAttributes/ProductTypeName',
              ProductTypeSubcategory          VARCHAR2(50)     PATH 'ItemAttributes/ProductTypeSubcategory',
              PublicationDate               VARCHAR2(20)     PATH 'ItemAttributes/PubliucationDate',
              Publisher               VARCHAR2(0255)     PATH 'ItemAttributes/Publisher',
              RegionCode               VARCHAR2(20)     PATH 'ItemAttributes/RegionCode',
              ReleaseDate               VARCHAR2(20)     PATH 'ItemAttributes/ReleaseDate',
              RunningTime               VARCHAR2(20)     PATH 'ItemAttributes/RunningTime',
              SeikodoProductCode          VARCHAR2(50)     PATH 'ItemAttributes/SeikodoProductCode',
              Item_Size               VARCHAR2(50)     PATH 'ItemAttributes/Size',
              SKU                    VARCHAR2(0255)     PATH 'ItemAttributes/SKU',
              Studio                    VARCHAR2(0255)     PATH 'ItemAttributes/Studio',
              SubscriptionLength          VARCHAR2(20)     PATH 'ItemAttributes/SubscriptionLength',
              Title                    VARCHAR2(4000)     PATH 'ItemAttributes/Title',
              TrackSequence               VARCHAR2(0100)     PATH 'ItemAttributes/TrackSequence',
              TradeInValue               VARCHAR2(4000)     PATH 'ItemAttributes/TradeInValue',
              UPC                    NUMBER(12)     PATH 'ItemAttributes/UPC',
              UPCListElement               XMLTYPE          PATH 'ItemAttributes/UPCList/UPCListElement',
              Warranty               VARCHAR2(4000)     PATH 'ItemAttributes/Warranty',
              WEEETaxValue               VARCHAR2(0100)     PATH 'ItemAttributes/WEEETaxValue'
         ) Item
    ON
         1 = 1
    GROUP BY
         Items.Id,
         Items.Code,
         Items.Message,
         Items.Isvalid,
         Item.Id,
         Item.ASIN,
         Item.DetailPageURL,
         Item.SmallImage_URL,
         Item.SmallImage_Height,
         Item.SmallImage_Height_Units,
         Item.SmallImage_Width,
         Item.SmallImage_Width_Units,
         Item.MediumImage_URL,
         Item.MediumImage_Height,
         Item.MediumImage_Height_Units,
         Item.MediumImage_Width,
         Item.MediumImage_Width_Units,
         Item.LargeImage_URL,
         Item.LargeImage_Height,
         Item.LargeImage_Height_Units,
         Item.LargeImage_Width,
         Item.LargeImage_Width_Units,
         Item.AspectRatio,
         Item.AudienceRating,
         Item.Binding,
         Item.Brand,
         Item.CEROAgeRating,
         Item.ClothingSize,
         Item.Color,
         Item.EAN,
         Item.Edition,
         Item.EpisodeSequence,
         Item.ESRBAgeRating,
         Item.Genre,
         Item.HardwarePlatform,
         Item.HazardousMaterialType,
         Item.IsAdultProduct,
         Item.IsAutographed,
         Item.ISBN,
         Item.IsEligibileForTrade,
         Item.IsMemorabilia,
         Item.IssuesPerYear,
         Item.ItemPartNumber,
         Item.Label,
         Item.LegalDisclaimer,
         Item.ListPrice,
         Item.MagazineType,
         Item.Manufacturer,
         Item.ManufacturerMaximumAge,
         Item.ManufacturerMinimumAge,
         Item.ManufacturerPartsWarrantyDesc,
         Item.MediaType,
         Item.Model,
         Item.ModelYear,
         Item.MPN,
         Item.NumberOfDiscs,
         Item.NumberOfIssues,
         Item.NumberOfItems,
         Item.NumberOfPages,
         Item.NumberOfTracks,
         Item.OperatingSystem,
         Item.PackageDimensions_Height,
         Item.PackageDimensions_Height_Units,
         Item.PackageDimensions_Length,
         Item.PackageDimensions_Length_Units,
         Item.PackageDimensions_Weight,
         Item.PackageDimensions_Weight_Units,
         Item.PackageDimensions_Width,
         Item.PackageDimensions_Width_Units,
         Item.PackageQuantity,
         Item.PartNumber,
         Item.ProductGroup,
         Item.ProductTypeName,
         Item.ProductTypeSubcategory,
         Item.PublicationDate,
         Item.Publisher,
         Item.RegionCode,
         Item.ReleaseDate,
         Item.RunningTime,
         Item.SeikodoProductCode,
         Item.Item_Size,
         Item.SKU,
         Item.Studio,
         Item.SubscriptionLength,
         Item.Title,
         Item.TrackSequence,
         Item.TradeInValue,
         Item.UPC,
         Item.Warranty,
         Item.WEEETaxValue
    ORDER BY
         Items.Id,
         Item.Id;

    By using //, i am able to use the same query for both. Is there a better way?If using a single query is a must, then I guess it's OK.
    Ideally, however, i would like the text of each (without tags), separated by commas.The fn:string-join() function can do that, e.g. :
    ItemLinkDesc          VARCHAR2(4000)     PATH 'fn:string-join(ItemLinks/ItemLink/Description, ";")'But I'm not sure it's a good idea because you'll be losing the structured nature of the data.
    Maybe it would be better to collect repeating elements into a collection of SQL object types, but again it all depends on how you want to use the data later.
    So, following your advice, i removed the XMLAGGs and GROUP BY clause, but, again the query works, the CTAS does not:Strange...
    Works for me :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE     11.2.0.2.0     Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL>
    SQL> CREATE TABLE Moocows AS
      2  SELECT
      3       Items.Id,
      4       Items.Code,
      5       Items.Message,
      6       Items.Isvalid,
      7       Item.Id                         Item_Id,
      8       Item.ASIN,
      9       Item.DetailPageURL,
    10       Item.ItemLink,
    11       Item.SmallImage_URL,
    12       Item.SmallImage_Height,
    13       Item.SmallImage_Height_Units,
    14       Item.SmallImage_Width,
    15       Item.SmallImage_Width_Units,
    16       Item.MediumImage_URL,
    17       Item.MediumImage_Height,
    18       Item.MediumImage_Height_Units,
    19       Item.MediumImage_Width,
    20       Item.MediumImage_Width_Units,
    21       Item.LargeImage_URL,
    22       Item.LargeImage_Height,
    23       Item.LargeImage_Height_Units,
    24       Item.LargeImage_Width,
    25       Item.LargeImage_Width_Units,
    26       Item.ImageSet,
    27       Item.Actor,
    28       Item.Artist,
    29       Item.AspectRatio,
    30       Item.AudienceRating,
    31       Item.AudioFormat,
    32       Item.Author,
    33       Item.Binding,
    34       Item.Brand,
    35       Item.CatalogNumberListElement,
    36       Item.Category,
    37       Item.CEROAgeRating,
    38       Item.ClothingSize,
    39       Item.Color,
    40       Item.Creator,
    41       Item.Director,
    42       Item.EAN,
    43       Item.EANListElement,
    44       Item.Edition,
    45       Item.EISBN,
    46       Item.EpisodeSequence,
    47       Item.ESRBAgeRating,
    48       Item.Feature,
    49       Item.Format,
    50       Item.Genre,
    51       Item.HardwarePlatform,
    52       Item.HazardousMaterialType,
    53       Item.IsAdultProduct,
    54       Item.IsAutographed,
    55       Item.ISBN,
    56       Item.IsEligibileForTrade,
    57       Item.IsMemorabilia,
    58       Item.IssuesPerYear,
    59       Item.ItemDimensions,
    60       Item.ItemPartNumber,
    61       Item.Label,
    62       Item.Langauge,
    63       Item.LegalDisclaimer,
    64       Item.ListPrice,
    65       Item.MagazineType,
    66       Item.Manufacturer,
    67       Item.ManufacturerMaximumAge,
    68       Item.ManufacturerMinimumAge,
    69       Item.ManufacturerPartsWarrantyDesc,
    70       Item.MediaType,
    71       Item.Model,
    72       Item.ModelYear,
    73       Item.MPN,
    74       Item.NumberOfDiscs,
    75       Item.NumberOfIssues,
    76       Item.NumberOfItems,
    77       Item.NumberOfPages,
    78       Item.NumberOfTracks,
    79       Item.OperatingSystem,
    80       Item.PackageDimensions_Height,
    81       Item.PackageDimensions_Height_Units,
    82       Item.PackageDimensions_Length,
    83       Item.PackageDimensions_Length_Units,
    84       Item.PackageDimensions_Weight,
    85       Item.PackageDimensions_Weight_Units,
    86       Item.PackageDimensions_Width,
    87       Item.PackageDimensions_Width_Units,
    88       Item.PackageQuantity,
    89       Item.PartNumber,
    90       Item.PictureFormat,
    91       Item.Platform,
    92       Item.ProductGroup,
    93       Item.ProductTypeName,
    94       Item.ProductTypeSubcategory,
    95       Item.PublicationDate,
    96       Item.Publisher,
    97       Item.RegionCode,
    98       Item.ReleaseDate,
    99       Item.RunningTime,
    100       Item.SeikodoProductCode,
    101       Item.Item_Size,
    102       Item.SKU,
    103       Item.Studio,
    104       Item.SubscriptionLength,
    105       Item.Title,
    106       Item.TrackSequence,
    107       Item.TradeInValue,
    108       Item.UPC,
    109       Item.UPCListElement,
    110       Item.Warranty,
    111       Item.WEEETaxValue
    112  FROM
    113       XMLTABLE
    114       (
    115        XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
    116        '//OperationRequest/Errors/Error
    117        | //Items'
    118        PASSING get_document()
    119        COLUMNS
    120            Id          FOR ORDINALITY,
    121            Code          VARCHAR2(0050)     PATH 'Code',
    122            Message          VARCHAR2(4000)     PATH 'Message',
    123            IsValid          VARCHAR2(005)     PATH 'Request/IsValid',
    124            Item          XMLTYPE          PATH 'Item'
    125       ) Items
    126  LEFT JOIN
    127       XMLTABLE
    128       (
    129        XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
    130        '/Item'
    131        PASSING
    132            Items.Item
    133        COLUMNS
    134            Id                    FOR ORDINALITY,
    135            ASIN                    VARCHAR2(0010)     PATH 'ASIN',
    136            DetailPageURL               VARCHAR2(0256)     PATH 'DetailPageURL',
    137            ItemLink               XMLTYPE          PATH 'ItemLinks/ItemLink',
    138            SmallImage_URL               VARCHAR2(0256)     PATH 'SmallImage/URL',
    139            SmallImage_Height          NUMBER(4)     PATH 'SmallImage/Height',
    140            SmallImage_Height_Units          VARCHAR2(0006)     PATH 'SmallImage/Height/@Units',
    141            SmallImage_Width          NUMBER(4)     PATH 'SmallImage/Width',
    142            SmallImage_Width_Units          VARCHAR2(0006)     PATH 'SmallImage/Width/@Units',
    143            MediumImage_URL               VARCHAR2(0256)     PATH 'MediumImage/URL',
    144            MediumImage_Height          NUMBER(4)     PATH 'MediumImage/Height',
    145            MediumImage_Height_Units     VARCHAR2(0006)     PATH 'MediumImage/Height/@Units',
    146            MediumImage_Width          NUMBER(4)     PATH 'MediumImage/Width',
    147            MediumImage_Width_Units          VARCHAR2(0006)     PATH 'MediumImage/Width/@Units',
    148            LargeImage_URL               VARCHAR2(0256)     PATH 'LargeImage/URL',
    149            LargeImage_Height          NUMBER(4)     PATH 'LargeImage/Height',
    150            LargeImage_Height_Units          VARCHAR2(0006)     PATH 'LargeImage/Height/@Units',
    151            LargeImage_Width          NUMBER(4)     PATH 'LargeImage/Width',
    152            LargeImage_Width_Units          VARCHAR2(0006)     PATH 'LargeImage/Width/@Units',
    153            ImageSet               XMLTYPE          PATH 'ImageSets/ImageSet',
    154            Actor                    XMLTYPE          PATH 'ItemAttributes/Actor',
    155            Artist                    XMLTYPE          PATH 'ItemAttributes/Artist',
    156            AspectRatio               VARCHAR2(0020)     PATH 'ItemAttributes/AspectRatio',
    157            AudienceRating               VARCHAR2(0020)     PATH 'ItemAttributes/AudienceRating',
    158            AudioFormat               XMLTYPE          PATH 'ItemAttributes/AudioFormat',
    159            Author                    XMLTYPE          PATH 'ItemAttributes/Author',
    160            Binding                    VARCHAR2(0050)     PATH 'ItemAttributes/Binding',
    161            Brand                    VARCHAR2(4000)     PATH 'ItemAttributes/Brand',
    162            CatalogNumberListElement     XMLTYPE          PATH 'ItemAttributes/CatalogNumberList/CatalogNumberListElement',
    163            Category               XMLTYPE          PATH 'ItemAttributes/Category',
    164            CEROAgeRating               VARCHAR2(0020)     PATH 'ItemAttributes/CEROAgeRating',
    165            ClothingSize               VARCHAR2(0050)     PATH 'ItemAttributes/ClothingSize',
    166            Color                    VARCHAR2(0100)     PATH 'ItemAttributes/Color',
    167            Creator                    XMLTYPE          PATH 'ItemAttributes/Creator',
    168            Department               VARCHAR2(0050)     PATH 'ItemAttributes/Department',
    169            Director               XMLTYPE          PATH 'ItemAttributes/Director',
    170            EAN                    NUMBER(15)     PATH 'ItemAttributes/EAN',
    171            EANListElement               XMLTYPE          PATH 'ItemAttributes/EANList/EANListElement',
    172            Edition                    VARCHAR2(0020)     PATH 'ItemAttributes/Edition',
    173            EISBN                    XMLTYPE      PATH 'ItemAttributes/EISBN',
    174            EpisodeSequence               VARCHAR2(0020)     PATH 'ItemAttributes/EpisodeSequence',
    175            ESRBAgeRating               VARCHAR2(0020)     PATH 'ItemAttributes/ESRBAgeRating',
    176            Feature                    XMLTYPE          PATH 'ItemAttributes/Feature',
    177            Format                    XMLTYPE          PATH 'ItemAttributes/Format',
    178            Genre                    VARCHAR2(0050)     PATH 'ItemAttributes/Genre',
    179            HardwarePlatform          VARCHAR2(0020)     PATH 'ItemAttributes/HardwarePlatform',
    180            HazardousMaterialType          VARCHAR2(0050)     PATH 'ItemAttributes/HazardousMaterialType',
    181            IsAdultProduct               VARCHAR2(0005)     PATH 'ItemAttributes/IsAdultProduct',
    182            IsAutographed               VARCHAR2(0005)     PATH 'ItemAttributes/IsAutographed',
    183            ISBN                    VARCHAR2(0013)     PATH 'ItemAttributes/ISBN',
    184            IsEligibileForTrade          VARCHAR2(0005)     PATH 'ItemAttributes/IsEligibileForTrade',
    185            IsMemorabilia               VARCHAR2(0005)     PATH 'ItemAttributes/IsMemorabilia',
    186            IssuesPerYear               VARCHAR2(0050)     PATH 'ItemAttributes/IssuesPerYear',
    187            ItemDimensions               XMLTYPE          PATH 'ItemAttributes/ItemDimensions',
    188            ItemPartNumber               VARCHAR2(0255)     PATH 'ItemAttributes/ItemPartNumber',
    189            Label                    VARCHAR2(4000)     PATH 'ItemAttributes/Label',
    190            Langauge               XMLTYPE          PATH 'ItemAttributes/Languages/Langauge',
    191            LegalDisclaimer               VARCHAR2(4000)     PATH 'ItemAttributes/LegalDisclaimer',
    192            ListPrice               VARCHAR2(0020)     PATH 'ItemAttributes/ListPrice',
    193            MagazineType               VARCHAR2(0020)     PATH 'ItemAttributes/MagazineType',
    194            Manufacturer               VARCHAR2(4000)     PATH 'ItemAttributes/Manufacturer',
    195            ManufacturerMaximumAge          VARCHAR2(0050)     PATH 'ItemAttributes/ManufacturerMaximumAge',
    196            ManufacturerMinimumAge          VARCHAR2(0050)     PATH 'ItemAttributes/ManufacturerMinimumAge',
    197            ManufacturerPartsWarrantyDesc     VARCHAR2(4000)     PATH 'ItemAttributes/ManufacturerPartsWarrantyDesc',
    198            MediaType               VARCHAR2(0020)     PATH 'ItemAttributes/MediaType',
    199            Model                    VARCHAR2(0100)     PATH 'ItemAttributes/Model',
    200            ModelYear               NUMBER(4)     PATH 'ItemAttributes/ModelYear',
    201            MPN                    VARCHAR2(0255)     PATH 'ItemAttributes/MPN',
    202            NumberOfDiscs               NUMBER(3)     PATH 'ItemAttributes/NumberOfDiscs',
    203            NumberOfIssues               NUMBER(3)     PATH 'ItemAttributes/NumberOfIssues',
    204            NumberOfItems               NUMBER(7)     PATH 'ItemAttributes/NumberOfItems',
    205            NumberOfPages               NUMBER(4)     PATH 'ItemAttributes/NumberOfPages',
    206            NumberOfTracks               NUMBER(3)     PATH 'ItemAttributes/NumberOfTracks',
    207            OperatingSystem               VARCHAR2(20)     PATH 'ItemAttributes/OperatingSystem',
    208            PackageDimensions_Height     NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Height',
    209            PackageDimensions_Height_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Height/@Units',
    210            PackageDimensions_Length     NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Length',
    211            PackageDimensions_Length_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Length/@Units',
    212            PackageDimensions_Weight     NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Weight',
    213            PackageDimensions_Weight_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Weight/@Units',
    214            PackageDimensions_Width          NUMBER(6)     PATH 'ItemAttributes/PackageDimensions/Width',
    215            PackageDimensions_Width_Units     VARCHAR2(0018)     PATH 'ItemAttributes/PackageDimensions/Width/@Units',
    216            PackageQuantity               NUMBER(5)     PATH 'ItemAttributes/PackageQuantity',
    217            PartNumber               VARCHAR2(0100)     PATH 'ItemAttributes/PartNumber',
    218            PictureFormat               XMLTYPE          PATH 'ItemAttributes/PictureFormat',
    219            Platform               XMLTYPE          PATH 'ItemAttributes/Platform',
    220            ProductGroup               VARCHAR2(0050)     PATH 'ItemAttributes/ProductGroup',
    221            ProductTypeName               VARCHAR2(4000)     PATH 'ItemAttributes/ProductTypeName',
    222            ProductTypeSubcategory          VARCHAR2(50)     PATH 'ItemAttributes/ProductTypeSubcategory',
    223            PublicationDate               VARCHAR2(20)     PATH 'ItemAttributes/PubliucationDate',
    224            Publisher               VARCHAR2(0255)     PATH 'ItemAttributes/Publisher',
    225            RegionCode               VARCHAR2(20)     PATH 'ItemAttributes/RegionCode',
    226            ReleaseDate               VARCHAR2(20)     PATH 'ItemAttributes/ReleaseDate',
    227            RunningTime               VARCHAR2(20)     PATH 'ItemAttributes/RunningTime',
    228            SeikodoProductCode          VARCHAR2(50)     PATH 'ItemAttributes/SeikodoProductCode',
    229            Item_Size               VARCHAR2(50)     PATH 'ItemAttributes/Size',
    230            SKU                    VARCHAR2(0255)     PATH 'ItemAttributes/SKU',
    231            Studio                    VARCHAR2(0255)     PATH 'ItemAttributes/Studio',
    232            SubscriptionLength          VARCHAR2(20)     PATH 'ItemAttributes/SubscriptionLength',
    233            Title                    VARCHAR2(4000)     PATH 'ItemAttributes/Title',
    234            TrackSequence               VARCHAR2(0100)     PATH 'ItemAttributes/TrackSequence',
    235            TradeInValue               VARCHAR2(4000)     PATH 'ItemAttributes/TradeInValue',
    236            UPC                    NUMBER(12)     PATH 'ItemAttributes/UPC',
    237            UPCListElement               XMLTYPE          PATH 'ItemAttributes/UPCList/UPCListElement',
    238            Warranty               VARCHAR2(4000)     PATH 'ItemAttributes/Warranty',
    239            WEEETaxValue               VARCHAR2(0100)     PATH 'ItemAttributes/WEEETaxValue'
    240       ) Item
    241   ON
    242       1 = 1
    243  ORDER BY
    244       Items.Id,
    245       Item.Id;
    Table created

  • ORA-31061 error while creating XMLType table with virtual column

    I'm not calling it frustration ;)
    but still... what about this one :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE    11.2.0.2.0      Production
    TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7        passing object_value returning content)
      8        as number
      9      )
    10    )
    11  )
    12  ;
    Table created.Now, on the latest version :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE    11.2.0.3.0      Production
    TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7        passing object_value returning content)
      8        as number
      9      )
    10    )
    11  )
    12  ;
          passing object_value returning content)
    ERROR at line 7:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-31061: XDB error: dbms_xdbutil_int.get_tablespace_tab
    ORA-06512: at "XDB.DBMS_XDBUTIL_INT", line 1002Is there something I should be aware of?
    Right now, I'm just evaluating the version so I can't submit any SR.
    Thanks for anyone trying to reproduce the issue.

    Just tested again on a new installation (64-bit server).
    It works :
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE     11.2.0.3.0     Production
    TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
    NLSRTL Version 11.2.0.3.0 - Production
    SQL>
    SQL> create table test_virtual of xmltype
      2  xmltype store as binary xml
      3  virtual columns (
      4    doc_id as (
      5      xmlcast(
      6        xmlquery('/root/@id'
      7                 passing object_value returning content)
      8        as number
      9      )
    10    )
    11  );
    Table created
    Now I'll try to see what are the differences between the two installations.
    Thanks Dan and Marco for looking into this.
    Edited by: odie_63 on 2 mai 2012 15:51

  • SQL   Loader and Error ORA-01847/ORA-01839

    Hi,
    While using the direct loading in SQL-LOADER when we get the ORA-01847/ORA-01839 all the other records are getting errorred out. It goes fine with the conventional loading.
    Should I use some parameters or anything to make sure that all the other records are not rejected when we get the ORA-01847/ORA-01839 error while going with the DIRECT loading.
    Thanks
    Jibin

    In internet I found this short message:
    “AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
    If you have same table definitions in both databases you likely face error ORA-12899.
    This metalink note discusses this problem, it's also applicable to sqlloader:
    Import reports "ORA-12899: Value too large for column" when using BYTE semantic
    Doc ID: Note:563893.1”
    By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
    I'm waiting you suggestion... thanks very much in advance.
    Regards.
    Giovanni

  • ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION"

    Hi,
    I am having a wft program, which checks a function activity and depending on the value returned sends difference notifications.
    The package body completed successfully from backend and while running the workflow program it sends a notification also. But while opening the notification it gives the following error,
    ORA-20006: ORA-01722: invalid number ORA-06512: at "APPS.WF_NOTIFICATION", line 5328 ORA-06512: at line 5
    I have 3 procedures in my package body and all the 3 procedures have exceptions defined as follows, if they are using any workflow activities.
    ==========================================================
    EXCEPTION
         WHEN OTHERS THEN
              WF_CORE.context (
              'WFCustCheck',
              'MisCustDataFromTableDoc',
              document_id,
              display_type,
              document,
              document_type,
              SQLERRM
    RAISE_APPLICATION_ERROR (-20006, SQLERRM);
    ==========================================================
    But I am not able to figure out what is causing this error. What does this "line 5328 ORA-06512: at line 5" in the error message indicate?. My package body has only 600 lines. And why is the error message not displaying the procedure name? though I have defined the procedure name in the exception.
    What is the best way to get the procedure name in the error message? So that it becomes easier for identifying which procedure is causing the erro?
    Please let me know.
    Thanks

    Hi,
    Instead of the RAISE_APPLICATION_ERROR command, just replace that with RAISE;
    The error is coming out of the package that is sending the notification (WF_NOTIFICATION), which is invoked when you open the notification. I'm guessing that line 5 is the line in your code though.
    Are you using documents to send the notification, or are they purely defined in the .wft file?
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com
    NEW! - WorkflowFAQ Blog at http://thoughts.workflowfaq.com

  • Difference between ORA-00018 & ORA-00020

    Hi experts,
    I am confused about ORA-00018 & ORA-00020, it easier to understand how number of session increased [ora-18],
    but what are the special causes that increase number of oracle processes [ora-20] ?
    Thanks in advance.

    There is a relationship between sessions on a database and the
    number of
    processes. What happens if we increase the number of sessions without
    increasing the number of processes???
    The parameters SESSIONS and PROCESSES determine the
    size of two arrays in the SGA.
    If you try to create more sessions on an instance than specified
    by the SESSIONS parameter, you will get an ORA-00018: maximum
    number of sessions exceeded.
    If you try to create more processes on an instances than specified
    by the PROCESSES prameter, you wil get an ORA-00020: maximum
    number of processes exceeded.
    The number of sessions and processes on your instance can been
    seen using a COUNT(*) against V$PROCESS and V$SESSION.
    Your job is to determine resonable values, so your users can continue
    to work without getting neither ORA-18 nor ORA-20 during normal
    conditions. (A run away job, that keeps starting new sessions is not
    a normal condition, and it should be stopped by ORA-18 or ORA-20
    whichever happens first).
    You can join the two V$-views using the columns V$SESSION.PADDR
    and V$PROCESS.ADDR.
    It is quite normal to see a 1:1 relationship between processes
    and sessions. However one OCI-program can create multiple
    sessions belonging to one process. Users of Oracle Portal
    will experience this behaviour.
    The default value for SESSIONS is 1.1*PROCESSES + 5.
    It is appropriate for some databases and inappropriate for
    others (e.g. Oracle Portal).
    Also, I remember a limit on the OS regarding the number of processes
    allowed per Oracle user - also I know there is a semaphore
    relationship.
    On HP-UX there is a kernel parameter called NPROC. Like
    PROCESSES and SESSIONS it should have a reasonable
    value.
    answered by
    Jesper Haure Norrevangsource:-http://ora-00020.ora-code.com/msg/40800.html

  • Errors - ORA-01034, ORA-27101 & Linux-x86_64 Error: 2: No such file or dir

    I have installed Oracle 10g database and AS 10g on SUSE linux EE 10 (SP2)
    When I try to log in as system/system using sqlplus locally on the server, it works fine. However, when I try the following I get error messages:
    SQL> conn system/system@botsdb
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux-x86_64 Error: 2: No such file or directory
    I tried the same from my laptop through sqlplus and the error message is the same.
    I checked if the database was up and to check this I executed follwing commands whicle still being logged as system/system:
    SQL>Select * from v$database;
    SQL>Select * from v$instance;
    SQL>Select * from tab;
    These do bring results. Also if I try to start up the database again, it gives error message that the database is already up. I have restarted the db number of times, checked if my listener was listening on the service BOTSDB and these all seem fine.
    It is very intriguing that when @BOTSDB is attached while connecting, the connection fails.
    Can someone please guide me to sort this error?
    Thanks and kind regards,
    Aparna

    Hi
    I am answering all the three questions here.
    1) No of instances on the machine, I understand it is 1.
    2) Results of lsnrctl status
    oracle@linuxserver:~> lsnrctl status
    LSNRCTL for Linux: Version 10.1.0.4.2 - Production on 28-JUL-2010 09:19:33
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=linuxserv.dcdm.mu)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.4.2 - Production
    Start Date 27-JUL-2010 11:24:12
    Uptime 0 days 21 hr. 55 min. 20 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10ginfra/network/admin/listener.ora
    Listener Log File /oracle/app/ora10ginfra/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=linuxserver.dcdm.mu)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "metarep.dcdm.mu" has 1 instance(s).
    Instance "metarep", status READY, has 3 handler(s) for this service...
    The command completed successfully
    --Note that lsnrctl status command was issued after loading 10ginfra.env file.
    Please note that the listener for the database is set as DBLISTENER and lsnrctl status DBLISTENER was executed after loading 10gdb.env file. The results of lsnrctl status DBLISTENER are as follows:
    oracle@linuxserver:~> . ./10gdb.env
    oracle@linuxserver:~> lsnrctl status DBLISTENER
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 28-JUL-2010 09:24:44
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.16.107.123)(PORT=1650)))
    STATUS of the LISTENER
    Alias DBLISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 27-JUL-2010 15:11:28
    Uptime 0 days 18 hr. 13 min. 15 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/app/ora10gdb/network/admin/listener.ora
    Listener Log File /oracle/app/ora10gdb/network/log/dblistener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.16.107.123)(PORT=1650)))
    Services Summary...
    Service "BOTSDB" has 1 instance(s).
    Instance "BOTSDB", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    3) The output of ps -ef |grep pmon is
    oracle@linuxserver:~> ps -ef |grep pmon
    oracle 12524 12091 0 09:16 pts/1 00:00:00 grep pmon
    oracle 12525 1 0 Jul27 ? 00:00:00 ora_pmon_metarep
    oracle 25776 1 0 Jul27 ? 00:00:00 ora_pmon_BOTSDB
    The contents of listener.ora in two different Oracle Homes (one for AS infrastrcuture and another one for database) are as follows:
    oracle@linuxserver:/oracle/app/ora10ginfra/network/admin> vi listener.ora
    # listener.ora Network Configuration File: /oracle/app/ora10ginfra/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10ginfra)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = linuxserv.dcdm.mu)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    oracle@linuxserver:/oracle/app/ora10gdb/network/admin> vi listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_DBLISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = BOTSDB)
    (ORACLE_HOME = /oracle/app/ora10gdb/)
    DBLISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.107.123)(PORT = 1650))
    Kind regards,
    Aparna

  • Errors-Ora-01157,ORA-01110,ORA-01033

    HI all,
    i am unable to login into database,i will explain clearly what has happened,please help me out...my /home directory was 100%,so i was unable to login,what i have did is i have not deleted
    archive files but i have moved to other directory /ora_bkp,then i was able to login,today i have rebboted the system and later i have started database,started listener,but when i try to login
    through sql*plus or toad i am getting this error.....ORA-01033 (ORACLE INITIALIZATION OR SHUTDOWN IN PROGRESS),and when i have tried to check from sql promt ....i am getting this
    error....ORA-01157(CANNOT IDENTIFY/LOCK DATAFILE 6 -SEE DBWR TRACE FILE),& ORA-01110(DATA FILE 6: '/SAPDATA/SPO'...
    HOW SHOULD I RECTIFY MY PROBLEM...AS I AM VERY NEW IAM TRYING TO EXPLAIN CLEARLY ...PLEASE HELP ME IN SOLVING THIS ISSUE....I HAVE EVEN TRIED ALTER DATABASE OPEN...I AM GETTING ERRORS OF ORA-01157,ORA-01110....WHAT IS MY PROBLEM HOW SHOULD I RECTIFY IT..PLEASE SORT THIS....
    THANKS,
    MIKE

    Well, did you check f.i. your alert.log and other dumps?
    They will be on your server in the bdump, udump, cdump directories:
    Where to Find Files for Analyzing Errors
    Oracle records information about important events that occur in your Oracle RAC environment in trace files. The trace files for Oracle RAC are the same as those in single-instance Oracle databases. As a best practice, monitor and back up trace files regularly for all instances to preserve their content for future troubleshooting.
    Information about ORA-600 errors appear in the alert_SID.log file for each instance where SID is the instance identifier. For troubleshooting, you may need to also provide files from the following bdump locations:
    * $ORACLE_HOME/admin/db_name/bdump on UNIX-based systems
    * %ORACLE_HOME%\admin\db_name\bdump on Windows-based systems
    Some files may also be in the udump directory.
    In addition, the directory cdmp_timestamp contains in-memory traces of Oracle RAC instance failure information. This directory is located in ORACLE_HOME/admin/db_name/bdump/cdmp_timestamp, where timestamp is the time at which the error occurred.
    Trace dump files are stored under the cdmp directory. Oracle creates these files for each process that is connected to the instance. The naming convention for the trace dump files is same as for trace files, but with .trw as the file extension.
    (http://download.oracle.com/docs/cd/B19306_01/rac.102/b14197/appsupport.htm#RACAD512)

  • Errors ORA-01034, ORA-27101 and ORA-01033

    Hi!
    I have Oracle 9i DB and DevSuite 10g installed on my laptop. There are three databases on my machine.
    Recently, I tried to install Oracle Discoverer 10g and that's where the problem started. I could no longer connect to the databse using either SQL*Plus, TOAD or even from the front end application.
    I realised that some of the regisrty entries were no longer in place after the Discoverer installation. After doing these entries, I am still getting the following errors while connecting:
    ORA-01034 : Oracle not available
    ORA-27101 : Shared memory realm does not exist
    After doing the following entries in the registry, for the default database, I'm getting the 'ORA-01033 : Oracle Initialization or shutdown in progress' error while connecting for that particular db:
    ORACLE_SID=DTA
    ORA_DTA_AUTOSTART=TRUE
    ORA_DTA_SHUTDOWN=TRUE
    ORA_DTA_SHUTDOWN_TIMEOUT=30
    ORA_DTA_SHUTDOWNTYPE=i
    And for the other two DBs, the errors ORA-01034, ORA-27101 remain the same.
    Can anyone please help?
    Best regards,
    Aparna

    Have you checked your Windows services for the Oracle instances? Started and set to auto-start on boot.
    Also check your $path variable to make sure the Oracle home(s) appear in the path
    HTH -- Mark D Powell --

  • ORA-02068 + ORA-03135

    Hi,
    we are getting this two ORA-02068 + ORA-03135 errors on application side using dblink .... can any one pls help....
    for 03135 we did some changes on db side .. what about ORA-02068 , is there is any action we have to made for this 2068 error
    Thanks,

    Hi,
    I have a similar problem... but more strange...
    The customer have an aplication on JBOSS with a Oracle database 10.2.0.4.
    When the user is logged in the application, he makes a query through the application, this query run a procedure that makes a select on the DB local an conects a remote DB with a db_link connection, with a synonym on the table remote and the procedure that fails
    This procedure have a EXCEPTION clause at the end, that insert in a "error table" that shows the following information:
    PET_ID ERROR DESCRIPTION F_CREATION USER_CREATION
    4565 -2068 ORA-02068: error grave de DB_COSTES 25/05/2011 09:41;11 [jboss]-xxxxxxxxx
    ORA-03135: la conexión ha perdido contacto
    4566 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;47 [jboss]-xxxxxxxxx
    4567 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;48 [jboss]-xxxxxxxxx
    4568 -1001 ORA-01001: cursor no válido 25/05/2011 09:41;49 [jboss]-xxxxxxxxx
    The error "ORA-01001: cursor no válido" appears on the "error table" when the user tries to re-run another searh in the application
    The DBA (in client side) must drop/create the synonym on the table and recompile the procedure to be able to work again... so, this error INVALID the procedure.
    It's not for iddle time of application, because I asked for the user and he said me that when he logged at the first time in the morning, and make the search, he got the error too.
    Can anybody help me?
    Thank you
    Bond2

  • ORA-20500+ ORA-02055+ORA-02068+ORA-03113

    i got this error in my front end .....any idea what might be the reason?
    Failed: ORA-20500: ORA-20500: ORA-20500: ORA-20500:
    ORA-02055: distributed update operation failed;
    rollback required
    ORA-02068: following severe error from MUDR2SEBL(db_link name)
    ORA-03113: end-of-file on communication channel
    Thanks all
    Gagan

    The remote site (server process) crashed. There should be something in the alert.log, and trace file on the remote site.
    It may also be the local site, so also look for local trace files.

  • ORA-02068+ORA-03113 on database link

    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    Rudi

    Rudi wrote:
    Hi all
    I have the following scenario:
    The application is connecting to DB (Oracle 10.2.0.5) using jdbc connection pool.
    The database is a 3-node RAC.
    Using DB Link we access a PLSQL package on a remote database (10.2.0.4).The remote database is a single instance.
    The remote database is not located behind FW.
    Sometimes the remote DB is restarted, but we seem to hit these errors about 30 mins afterwards.
    From time to time we get these errors and we cant find the root cause.
    Any ideas how to address this?
    Thanks,
    RudiORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support

  • When trying to create new DB ORA-01109 ORA-01092

    Hi all,
    When I try to create a new database on a two-node clustered machine using dbca and the "General Purpose" template, it returns ORA-01109 ORA-01092 errors.
    Following is what I did:
    1. Installed Oracle 10 Release 2 on the two Oracle Enterprise Linux 4.5 nodes
    2. Installed patch set 3 (upgrade from 10.2.0.1 to 10.2.0.4)
    3. Installed Oracle clusterware on both nodes
    4. Installed ASM instance
    5. when I used the dbca to create a new db, it returns DB ORA-01109 ORA-01092
    I guess, the reason is that the seed of the "General Purpose" template was not upgraded by the patch set. If this is the case, my questions are:
    *(1) Why the patchset didn't upgrade the template seeds? Is it a bug?*
    *(2) How to upgrade the template seeds?*
    Oracle 10g R2 (10.2.0.4) on Oracle EL 4.5
    Following is a copy of a few last lines in the log generated by the dbca:
    [Thread-158] [10:22:57:99] [CloneDBCreationStep.executeImpl:352]  createCtl=Create
    controlfile reuse set databa se "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477',
    [Thread-158] [10:22:57:100] [CloneDBCreationStep.executeImpl:359]  crtCtl=Create
    controlfile reuse set database  "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477'
    [Thread-158] [CloneDBCreationStep.executeImpl:374]  Length of OriginalRedoLogsGrNames=2
    [Thread-158][CloneDBCreationStep.executeImpl:382]  0th redoLogText = GROUP 1  SIZE 51200K
    [Thread-158][CloneDBCreationStep.executeImpl:382]  1th redoLogText = GROUP 2  SIZE 51200K
    [Thread-158][CloneDBCreationStep.executeImpl:403]  createCTLSql=Create controlfile reuse
    set da tabase "rac"
    MAXINSTANCES 32
    MAXLOGHISTORY 1
    MAXLOGFILES 192
    MAXLOGMEMBERS 3
    MAXDATAFILES 1024
    Datafile
    '+DG1/rac/datafile/system.277.705320457',
    '+DG1/rac/datafile/undotbs1.279.705320475',
    '+DG1/rac/datafile/sysaux.278.705320469',
    '+DG1/rac/datafile/users.280.705320477'
    LOGFILE GROUP 1  SIZE 51200K,
    GROUP 2  SIZE 51200K RESETLOGS;
    [Thread-158] [10:23:22:541] [CloneDBCreationStep.executeImpl:415]  calling zerodbid
    [Thread-158] [10:23:41:517] [CloneDBCreationStep.executeImpl:425]  Shutdown database
    [Thread-158] [10:23:41:717] [CloneDBCreationStep.executeImpl:447]  Startup ......nomount......
    [Thread-158] [10:23:57:523] [CloneDBCreationStep.executeImpl:455]  deleting dummy control file from v$controlfi le: +DG1/rac/controlfile/current.281.705320591
    [Thread-158] [10:24:1:293] [CloneDBCreationStep.executeImpl:455]  deleting dummy control file from v$controlfil e: +DG2/rac/controlfile/current.265.705320595
    [Thread-158] [10:24:24:628] [CloneDBCreationStep.executeImpl:466]  Enabling restricted session.
    [Thread-158] [10:24:29:60] [CloneDBCreationStep.executeImpl:468]  alter database "rac" open resetlogs;
    [Thread-156] [10:24:58:683] [BasicStep.handleNonIgnorableError:430]  oracle.sysman.assistants.util.UIMessageHan dler@1b8099a:messageHandler
    [Thread-156] [10:24:58:703] [BasicStep.handleNonIgnorableError:431]  ORA-01092: ORACLE instance terminated. Dis connection forced

    alertlog tail contents:
    SMON: enabling cache recovery
    Fri Dec 11 10:24:57 2009
    Errors in file /u01/app/oracle/admin/rac/udump/rac1_ora_5482.trc:
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Fri Dec 11 10:24:57 2009
    Error 704 happened during db open, shutting down database
    USER: terminating instance due to error 704
    Instance terminated by USER, pid = 5482
    ORA-1092 signalled during: alter database "rac" open resetlogs...

  • SQL*LOADER ERROR 비교 (ORA-2359, ORA-1401)

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-09
    SQL*LOADER ERROR 비교 (ORA-2359, ORA-1401)
    ==========================================
    PURPOSE
    SQL*LOADER 를 사용하는 경우 ORA-2359 ERROR가 나는 경우와
    ORA-1401 ERROR가 나는 경우를 비교한다.
    Examples
    table 의 desc가 다음과 같다고 가정하자.
    SQL> create table test5(a varchar2(1000));
    이 경우 delimiter 가 comma 인지 position 으로 구분되는지에 따라 error
    message가 달리 나타난다.
    1) ORA-2359 : field in datafile exceeded maximum specified length
    load data
    infile test.dat
    replace
    into table test5
    fields terminated by ','
    (a char) 로 실행 시 발생.
    ---> a char(1000) 으로 하면 error 해결이 가능하다.
    2) ORA-1401: inserted value too large for column
    load data
    infile test.dat
    replace
    into table test5
    fields terminated by ','
    (a position(1:2000) char)
    ---> 이 경우 a position (1:1000) char 로 하면 해결 가능하다 .
    * 참고로 + , - 기호와 comma 를 load 하기 위해서는 decimal external을
    사용한다. (a position decimal external (10))
    Reference Documents
    ---------------------

    You hit Bug 3531336
    Run the script catcio.sql from $ORACLE_HOME/rdbms/admin directory.
    Run this in sys schema.
    And then load the data with sqlloader.

Maybe you are looking for

  • Report problem (Paginations show record count, report blank)

    I am using a custom report template to show data in detail form and allowing users to use the pagination to move from record to record. I have the maximum rows returned as 1. The problem is in a very specific set of circumstances if the query returns

  • Help with Planning Query - 0CALMONTH not showing up

    Hi, I have a simple planning query where I am trying to allow users to input or change an Amount by Material/Month.  The User inputs a Version and a Date Range to maintain.  The selected dates should show up going across the screen even if there is n

  • MacBook Pro did not shut down (hang)...

    Good Afternoon, About 2 days ago I upgraded to Mac OS X Lion (clean install), and I haven't had any major problems so far in term of system freezes or missing user files. However, today when I shuted down my MacBook Pro it went to a white shutdown sc

  • Redistribution of Oracle Instant Client in a linux distro

    Hello, Im one of the Archlinux TUs (Trusted Users, who are packagers for the community repository, i mean, a repository of users packages). I want to know if that is possible and legal to redistribute the oracle-instant-client in a binary form (in a

  • Elements 11 -- add people, does not appear to work

    Have selected a sub set of photo's with many people in the photo's.  When I then go to the bottom of the page and hit "add people" .. it goes thru and say none to add.  Yet there are plenty of people in the photo's to add.  What am i doing wrong?