SQL*Loader problem - not efficient, parsing error for big xml files

Hi Experts,
First of all, I would like to store xml files in object relation way. Therefore I created a schema and a table for it (see above).
I wants to propagate it (by using generated xml files), hence I created a control file for sql loader (see above).
I have two problems for it.
1, It takes a lot of time. It means I can upload a ~80MB file in 2 hours and a half.
2, At bigger files, I got the following error messages (OCI-31011: XML parsing failed OCI-19202: Error occurred in XML processing LPX-00243: element attribute value must be enclosed in quotes). It is quite interesting because my xml file is generated and I could generated and uploaded the first and second half of the file.
Can you help me to solve these problems?
Thanks,
Adam
Control file
UNRECOVERABLE
LOAD DATA
CHARACTERSET UTF8
INFILE *
APPEND
INTO TABLE coll_xml_objrel
XMLTYPE(xml)
FIELDS
ident constant 2
,file_name filler char(100)
,xml LOBFILE (file_name) TERMINATED BY EOF
BEGINDATA
generated1000x10000.xml
Sql Loader command
sqlldr.exe username/password@//localhost:1521/SID control='loader.ctl' log='loadr.log' direct=true
Schema
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.something.com/shema/simple_searches" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.something.com/shema/simple_searches">
    <element name="searches" type="tns:searches_type"></element>
    <element name="search" type="tns:search_type"></element>
    <element name="results" type="tns:results_type"></element>
    <element name="result" type="tns:result_type"></element>
    <complexType name="searches_type">
        <sequence>
            <element ref="tns:search" maxOccurs="unbounded"></element>
        </sequence>
    </complexType>
    <complexType name="search_type">
        <sequence>
            <element ref="tns:results"></element>
        </sequence>
        <attribute ref="tns:id" use="required"></attribute>
        <attribute ref="tns:type" use="required"></attribute>
    </complexType>
    <complexType name="results_type">
        <sequence maxOccurs="unbounded">
            <element ref="tns:result"></element>
        </sequence>
    </complexType>
    <complexType name="result_type">
        <attribute ref="tns:id" use="required"></attribute>
    </complexType>
    <simpleType name="type_type">
        <restriction base="string">
            <enumeration value="value1"></enumeration>
            <enumeration value="value2"></enumeration>
        </restriction>
    </simpleType>
    <attribute name="type" type="tns:type_type"></attribute>
    <attribute name="id" type="string"></attribute>
</schema>
Create table
create table coll_xml_objrel
ident Number(20) primary key,
xml xmltype)
Xmltype column xml
store as object relational
xmlschema "http://www.something.com/schema/simple_searches.xsd"
Element "searches";

Hi Odie_63,
Thanks for your answer.
I will post this question in the XML DB forum too (edit: I realized that you have done it. Thanks for it).
1, Version: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
2, see above
3, I have registered my schema with using dbms_xmlschema.registerSchema function.
Cheers,
Adam
XML generator:
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import javax.xml.stream.XMLOutputFactory;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.XMLStreamWriter;
public class mainGenerator {
    public static void main(String[] args) throws FileNotFoundException, XMLStreamException {
        // TODO Auto-generated method stub
        final long numberOfSearches = 500;
        final long numberOfResults = 10000;
        XMLOutputFactory xof = XMLOutputFactory.newFactory();
        XMLStreamWriter writer = xof.createXMLStreamWriter(new FileOutputStream("C:\\Working\\generated500x10000.xml"));
        writer.writeStartDocument();
        writer.writeStartElement("tns","searches", "http://www.something.com/schema/simple_searches");
        writer.writeNamespace("tns", "http://www.something.com/schema/simple_searches");
        for (long i = 0; i < numberOfSearches; i++){
            Long help = new Long(i);
            writer.writeStartElement("tns","search", "http://www.something.com/schema/simple_searches);
            writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "type", "value1");
            writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "id", help.toString());
            writer.writeStartElement("tns","results", "http://www.something.com/schema/simple_searches");
            for (long j = 0; j < numberOfResults; j++){
                writer.writeStartElement("tns","result", "http://www.something.com/schema/simple_searches");
                Long helper = new Long(i*numberOfResults+j);
                writer.writeAttribute("tns", "http://www.something.com/schema/simple_searches", "id", helper.toString());
                writer.writeEndElement();
            writer.writeEndElement();
            writer.writeEndElement();
        writer.writeEndElement();
        writer.writeEndDocument();
        writer.close();
registerSchema:
begin
dbms_xmlschema.registerSchema(
'http://www.something.com/schema/simple_searches',
'<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.something.com/schema/simple_searches" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.something.com/schema/simple_searches">
    <element name="searches" type="tns:searches_type"></element>
    <element name="search" type="tns:search_type"></element>
    <element name="results" type="tns:results_type"></element>
    <element name="result" type="tns:result_type"></element>
    <complexType name="searches_type">
        <sequence>
            <element ref="tns:search" maxOccurs="unbounded"></element>
        </sequence>
    </complexType>
    <complexType name="search_type">
        <sequence>
            <element ref="tns:results"></element>
        </sequence>
        <attribute ref="tns:id" use="required"></attribute>
        <attribute ref="tns:type" use="required"></attribute>
    </complexType>
    <complexType name="results_type">
        <sequence maxOccurs="unbounded">
            <element ref="tns:result"></element>
        </sequence>
    </complexType>
    <complexType name="result_type">
        <attribute ref="tns:id" use="required"></attribute>
    </complexType>
    <simpleType name="type_type">
        <restriction base="string">
            <enumeration value="value1"></enumeration>
            <enumeration value="value2"></enumeration>
        </restriction>
    </simpleType>
    <attribute name="type" type="tns:type_type"></attribute>
    <attribute name="id" type="string"></attribute>
</schema>',
TRUE, TRUE, FALSE, FALSE);
end

Similar Messages

  • Parsing Error is struts xml files org.xml.s

    Hello ,
    I am getting a peculiar error while starting the Tomcat , the struts xml files are not being parsed correctly (they used to be before) .I get a parse error when I shut/start the tomcat (at each deployment) and hence due to the error the application fails (I guess ...)
    The errors I get on the log file while starting the tomcat are ...(only part of the error stack)
    parsing error processing resource path /WEB-INF/struts-action.xml
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    Servlet /ProteinBank threw load() exception
    javax.servlet.UnavailableException: Parsing error processing resource path /WEB-INF/struts-action.xml

    Have you changed your struts-config or web.xml files?
    Back it up, and try starting with a 'minimal' version of struts-config to see if it succeeds.

  • Not able to download a big xml file through Http

    Hi
    I am trying to download a large file around 8 MB, but I am  not able to download this file through Http or WebClient. can anyone please let me know how can I download the large file in Windows Phone 8 through Http or WebClient.
    When I trying to download the file then System got hang for some time and after that connection break type of popup shown the  nothing happened.
    sandeep chauhan

    Hi Sandeep,
    I used
    this code snippet to download
    the sample file (9.9M) in windows phone 8, it seems work fine. Since you’ve not posted anything about your code, I suggest you test the above code to see if the problem is caused by your code snippet.
    Windows phone silverlight 8.1 provides an effective way to download large file.
    https://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.networking.backgroundtransfer.backgrounddownloader.aspx. Please consider if you can upgrade to silverlight 8.1
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
    the survey.

  • Problem when adding ascx user control in the MasterPage: Parser Error Message: The referenced file ... is not allowed on this page.

    Hello,
    I have to maintain a SharePoint 2010 project, in which a TopNavigation User Control for SiteCollection is registered in the MasterPage in this way:
    <%@ Register TagPrefix="ABC" TagName="TopNavigation" src="~/_layouts/ABCApplication/MainSite/Navigation/TopNavigation.ascx" %>
    <asp:ContentPlaceHolder id="PlaceHolderTopNavBar" runat="server">
    <asp:ContentPlaceHolder id="PlaceHolderHorizontalNav" runat="server">
                                        <ABC:TopNavigation ID="TopNavi" XMLDataLocation="/_layouts/ABCApplicatopm/MainSite/TopNavigation.xml" IsRoot="true"
    runat="server" />
    </asp:ContentPlaceHolder>
    </asp:ContentPlaceHolder>
    When I deploy the SiteCollection, the TopNavigation user control is working correctly. Unfortunately when i modify the masterpage over SharePoint Designer, the following error message comes allways, regardless of the art of changes i did in the MAsterPage
    ( even if I open the MasterPage, add an space and do save/close the MasterPage).
    "Problem when adding user control in my custom master page, Parser Error Message: The referenced file '/_layouts/Navigation/TopNavigation.ascx' is not allowed on this page."
    Any ideas?

    Hi Simon,
     When we use UserControl in SharePoint Page or MasterPage, and the UserControl is kept in any folder other than ControlTemplates, we will got the error. Here is an article about this issue and provided the solution:
    http://sharepoint-tina.blogspot.com/2009/07/referenced-file-pathxyzascx-is-not.html 
    The solution can also be used in SharePoint 2010.
    Qiao Wei
    TechNet Community Support

  • SQl loader is not working in 10g but working in 9i

    In My PC i have installed both 9i and 10g. could you please tell me why it is not working

    "SQL loader is not working" is rather like "my car won't start" http://tkyte.blogspot.com/2005/06/how-to-ask-questions.html
    The 9i Oracle Client install includes sqlldr. The 10g Oracle Client install does NOT include sqlldr. You'd have to do a "Custom" Install and specifically select "Oracle Database Utilities" to install.
    See MetaLink Note#437377.1
    Edited by: Hemant K Chitale on Dec 31, 2008 3:58 PM
    Edited by: Hemant K Chitale on Dec 31, 2008 4:00 PM

  • Efficient way of searching multiple xml files for multiple entries

    As I�m quite new to using xml in java I can't figure out how to solve my problem.
    I've got about 20 xml files, each about 500-1000kB big. each files contains about 500 questions, each with a unique ID.
    A user had to be capable of entering any number of ',' separated id's, and the program needs to show the user the questions.
    Using a SQL server this would be easy, but in this situation I can't. As this had to be a small program I can't add a 10MB jar file either, nor can I ask the users to install an additional program.
    Creating a brute search will be easy, but searching 20MB of xml files multiple times will be hard even for a modern PC.
    So my question is: What will be the most efficient way of searching these files?
    Hope that someone will be kind enough to respond :)
    Rick

    I'd still go with a database. There are databases that are significantly more light-weight than MS SQL Server.
    More concretely there are databases that run completely in memory. HSQLDB is one, Java DB (formerly Derby) is another one.
    I'd parse the XML files once, add them to the database and query from there later on.
    If even that is to complicated for you, then you could simply parse the XML files once and put the Questions into a HashMap with the ID as the key.

  • Error while uploading .xml file for Customer/Vendor List for Italy

    Hi All,
    We are facing problem while uploading the .xml file in DMEE transaction for the new Customer/Vendor List for Italy.
    We have followed the entire process given in the OSS Note(1090857).
    We have SAP 4.6c and followed the below steps:
    1. Created ID-FI-IT Development class
    2. Added domains
    3. Added Data elements
    4. Tried to upload the given .xml file and got any error saying ".xml file could not be interpreted".
    Also there is a .SAR file mentioned to upload if we receive any errors while uploading .xml file.
    Tried uploading the .SAR file also. STill we are recieving the same Error.
    Can any one of you help us out.
    Thanks in Advance.
    Ramesh

    Ok, we upload .SAR file in this way:
    1. unpack .SAR file with SAPCAR.EXE program. Yuo obtain 2 files
    R492445.P9C and K492445.P9C
    2. put K492445.P9C in directory \SAPMNT\TRANS\COFILES and put R492445.P9C in directory \SAPMNT\TRANS\DATA of your system (DEV, TST or PRD)
    3. Use Tx STMS. If You want create DMEE tree in DEV system, go to DEV import queue. Choose menu Extras | Other requests | Add. Insert P9CK492445 in Transp. request field.
    4. Import the request. This creates the DMEE tree. You don't need ti upload XML file after. You can see the DMEE tree created with Tx DMEE and inserting
    Tree type        UMS1            
    Format tree     IT_CUST_VEN_LIST
    5. after continue follow the note
    I hope this help you
    Roberto

  • Parser dimension ACCOUNT's xml file error.

    Hi friends,
    i manully uploading master data in ACCOUNT dimension.
    what i did here, i manually added PARENTH1hierarchy and i changed that column position infront of "ACCTYPE" property. While pasting i might paste on ACCTYPE property & processed ACCOUNT dim.So it gone and disturbed underlying XML file. I checked 3 files XLS,XLT and XML files in UJFS. But XLS & XLT doesn't have ACCTYPE property. So how can i put it back? Any suggestions pls.
    Eventhough ACCTYPE dim property defined and existed(under maintain dim property of ACCOUNT dim). when i try to check maintain members data for manually entering data, it not available in columns. when i try to process ACCOUT dim, system saying below error message. 
    Parser dimension ACCOUNT's xml file error.
    How to correct this error.?
    Thanks,
    Naresh
    Edited by: Naresh P on Jan 13, 2011 7:20 AM

    Hi,
    It will be better to delete the XML file from UJFS and process your dimension once again. However, it might happen that you are still unable to edit the membersheet. In that case, it will be advisable to take a backup of the member sheet and recreate the same member sheet once again.
    Hope this helps.

  • ORA-01034: ORACLE not available  Linux Error: 2: No such file or directory

    Hi,
    I have oracle 10.2.0 on Redhat 4 Linux. Yesterday i transport my database from windows to linux and it was working fine.
    but today when i try to log in it gives me error like,
    [oracle@satish bin]$ ./sqlplus sys as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 19 15:33:22 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-01031: insufficient privileges
    Enter user-name: system
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Enter user-name:My all environment variables are fine.
    According to me any file is missing by
    Linux Error: 2: No such file or directory
    but can't find out what.
    While i have another database on same system which is working fine.
    Thanks
    UMesh

    Thanks for reply
    I applied all the thing
    1. my user is already in dba group.
    2. I change the permission on orapwORCL and i recreate the same file.
    3. [oracle@satish bin]$ ./sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue May 19 16:06:25 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-01031: insufficient privilegesBut nothing works.
    any other suggestions.

  • SQL Developer is not able to identify the Tnsnames.ora file

    Hi,
    I have installed the following in the laptop having Win XP:
    1) Oracle 10gR2 Client software in the D: drive of laptop. Tnsnames.ora is located in this clients Network\Admin path. This client is used to access the databases on the other servers.
    2) Oracle 10gR2 Database software in the E: drive of laptop. Right now there is not Tnsnames.ora file in this softwares Network\Admin path. This db software has been installed to create local databases in the laptop.
    3) Oracle SQL Developer Version 2.1.1.64 is also installed in C: drive of laptop.
    The problem which now I'm facing is that the SQL Developer is not able to identify the Tnsnames.ora file mentioned in the above point-1 which contains entries of databases on the different servers. Could you please help me out in solving this problem?
    Thanks in advance.
    MAK

    I forget what version I was using at the time, but when I had an ORACLE_HOME defined for the environment and TNSNAMES file defined in SQL Developer (different one than was in ORACLE_HOME), that I would see results from both tns files. I don't know if that is still the case. I have since dropped my ORACLE_HOME environmental variable.

  • ORA-27101: shared memory realm does not exist Linux Error: 2: No such file

    hello i have a 10 Database R1 installed on Redhat linux AS 4.
    i'm having a problem connecting to my database, whenever i try to connect i get the error
    ORA-01034: Oracle not available.
    ORA-27101 shared memory realm does not exist
    Linux Error: 2: No such file or directory.
    i checked my startup.log and i found the following after issuing a dbstart.
    ORACLE instance started.
    Total System Global Area 130023424 bytes
    Fixed Size          1218100 bytes
    Variable Size          109054412 bytes
    Database Buffers     16777216 bytes
    Redo Buffers          2973696 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated
    on dbshut i get the same error message in the shutdown.log
    ORA-01034: Oracle not available.
    ORA-27101 shared memory realm does not exist
    Linux Error: 2: No such file or directory.
    my alert_ASYDB.log file has the following
    ORA-01534: rollback segment 'R01' doesn't exist
    Tue Feb 27 23:14:19 2007
    Error 1534 happened during db open, shutting down database
    USER: terminating instance due to error 1534
    Instance terminated by USER, pid = 3272
    ORA-1092 signalled during: ALTER DATABASE OPEN...
    in the database creation log, i noticed that this segment could not be created.
    i can mount the databse but cannot open it
    is there anyway to recreate these segments or any other solution for that?
    i have tried to comment the line in initASYDB.ora but dd not work.
    regards

    Hi,
    >>do you recommend using auto undo_management instead of RBS?
    Yes. To simplify management of rollback segments, the Oracle9i database introduced Automatic Undo Management (AUM) where the database automatically manages allocation and management of undo (rollback) space among various active sessions. In a database using AUM, all transactions share a single undo tablespace. Any executing transaction can consume free space in this tablespace. Undo space is dynamically transferred from committed transactions to executing transactions in the event of space scarcity in the undo tablespace..The AUM feature also provides a way for administrators to exert control on undo retention. You can specify the amount of undo to be retained in terms of wall clock time (number of seconds). With retention control, you can configure your systems to allow long running queries to execute successfully without encountering ORA-1555 (Snapshot too old) errors ...
    For more information, you can take a look on these links below:
    http://www.oracle.com/technology/obe/obe10gdb/manage/undoadv/undoadv.htm
    http://www.oracle-base.com/articles/9i/AutomaticUndoManagement.php
    Cheers

  • Source Reformat menu item disabled for some XML files, but not all

    For some reason, the 'Reformat' option isn't available for some of my XML files (in Source menu it's disabled, in the right-click pop up menu it's not even there). For example in my META-INF folder it's enabled for .wsdl files but not .xml files. In the same project, it's enabled for all .xml files in the WEB-INF folder.
    Any idea what's going on?
    TIA

    Thanks to everyone for their response. But - it is NOT a copyright issue , it is NOT a DRM issue, it is not a Faber College double secret probation encoding issue.
    This is a simple .wmv file, that I have copied, burned, created a disk image, made a copy of and sent to the UK, Germany, Ireland and even New Jersey. It has been played on a MacBook Pro, a MacBook, a Dell whatever, a Sony stand alone DVD player, an LG DVD player. At least three nieces or nephews, and at least 2 canines have put it through ISO 9XXX rigors.
    The problem is that Apple Quick Time 7 Pro with Flip4Mac Pro "can't handle it"
    It opens fine, it plays fine --- but when I try to "output" it via the FILE menu - all of the options
    Share ...
    Export ...
    Export to Web ...
    are greyed out.
    I know nothing abour codecs and wrappers but I tihnk that this is the problem.
    What should I know about the file?
    Ffor example, years ago, all you needed to know about a Mac file was the "Creator" and the "Type" - both were 4 character codes. something like ADOB for Adobe and PMK2 for Pagemaker 2.0.
    Any help identifying the file and what I can use to get it onto my iPhone will be appreciated.
    Thank you.

  • XML publisher report not generating output for huge XML files

    Changed Depreciation Projections Report output type to XML.
    Defined a Data Definition and a new Data Template (RTF) for this report.
    Ran the Depreciation Projection Report to generate the XML output.
    Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
    Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
    Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
    The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
    The XML file size is approximately 33 MB.
    Please let me know if there is any way we can increase the memory size to see the output.
    Thanks,
    Ram.

    for publisher use Category: E-Business Suite

  • Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?

    Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?

    Has anyone had a opf parse error with container.xml missing, when it is actually present plz ?

  • Error while retreiving xml file from database

    Hi-
    I am trying to configure Planning and getting the following error message at instance configuration step:
    "Error while retreiving xml file from database"
    We looked at PlanningSystemDB.properties, changes server name to its ip, reinstalled planning, made sure both auth methods are selected (sql server and windows), created new relational repository.. still the same error.
    Here is the contents of the configtool error file:
    (Dec 11, 2008, 04:36:44 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:37:09 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:38:41 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:39:07 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:39:12 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:39:22 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    (Dec 11, 2008, 04:40:46 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Dec 11, 2008, 04:41:05 PM), com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    (Dec 11, 2008, 04:48:28 PM), com.hyperion.cis.DBConfigurator, ERROR, Invalid SQL statement: begin transaction IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_PROPERTIES]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_PROPERTIES IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_APP_CLUSTER_DTL]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_APP_CLUSTER_DTL IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_APPLICATION]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_APPLICATION IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_DATASOURCE]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_DATASOURCE IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_CLUSTER]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_CLUSTER IF EXISTS (select * from sysobjects where id = object_id(N'[HSP_ACTION]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSP_ACTION IF EXISTS (select * from sysobjects where id = object_id(N'[HSPSYS_PI_INFO]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) DROP TABLE HSPSYS_PI_INFO commit begin transaction CREATE TABLE HSP_ACTION ( ID INTEGER NOT NULL IDENTITY, CONSTRAINT PK_HSP_ACTION PRIMARY KEY(ID) , FROM_ID INTEGER, TO_ID INTEGER, ACTION_ID INTEGER, OBJECT_TYPE INTEGER, PRIMARY_KEY VARCHAR(255), ACTION_TIME DATETIME ); CREATE TABLE HSPSYS_CLUSTER ( CLUSTER_ID INTEGER NOT NULL, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255), CONSTRAINT PK_HSPCLUSTER PRIMARY KEY(CLUSTER_ID) ); CREATE TABLE HSPSYS_DATASOURCE ( DATASOURCE_ID INTEGER NOT NULL, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255), APP_ID INTEGER, RDB_SERVER_URL VARCHAR(255), RDB_TYPE VARCHAR(255) NOT NULL, RDB_CATALOG_NAME VARCHAR(255) NOT NULL, RDB_USER VARCHAR(255) NOT NULL, RDB_PASSWORD VARCHAR(255), RDB_DRIVER VARCHAR(255) NOT NULL, ESS_SERVER VARCHAR(255) NOT NULL, ESS_USER VARCHAR(255) NOT NULL, ESS_PASSWORD VARCHAR(255), CONSTRAINT PK_HSPDTASRC PRIMARY KEY(DATASOURCE_ID) ); CREATE TABLE HSPSYS_APPLICATION ( APP_ID INTEGER NOT NULL, NAME VARCHAR(255) NOT NULL, DESCRIPTION VARCHAR(255), DATASOURCE_ID INTEGER NOT NULL, CONSTRAINT FK_HSPAPP_DSID FOREIGN KEY(DATASOURCE_ID) REFERENCES HSPSYS_DATASOURCE, VERSION VARCHAR(255) NOT NULL, CONSTRAINT PK_HSPAPP PRIMARY KEY(APP_ID) ); CREATE TABLE HSPSYS_APP_CLUSTER_DTL ( APP_ID INTEGER NOT NULL , CONSTRAINT FK_HSP_APP_ID FOREIGN KEY (APP_ID) REFERENCES HSPSYS_APPLICATION , CLUSTER_ID INTEGER NOT NULL, CONSTRAINT FK_HSPCS_CLID FOREIGN KEY(CLUSTER_ID) REFERENCES HSPSYS_CLUSTER, CONSTRAINT PK_APP_CLSTR_DTL PRIMARY KEY(CLUSTER_ID, APP_ID) ); CREATE TABLE HSPSYS_PROPERTIES ( PROPERTY_ID INTEGER NOT NULL, OBJECT_ID INTEGER NOT NULL, PROPERTY_NAME VARCHAR(255) NOT NULL, PROPERTY_VALUE VARCHAR(255), CONSTRAINT PK_HSPPROP PRIMARY KEY(PROPERTY_ID, OBJECT_ID, PROPERTY_NAME) ); CREATE TABLE HSPSYS_PI_INFO ( XML_FILE NTEXT NOT NULL ); commit
    (Dec 11, 2008, 04:50:32 PM), com.hyperion.planning.PIRegistrationPanelManager, ERROR, Exception :Error while retreiving xml file from database.
    Thanks for any help.

    After spending 2+ hrs with Hyperion Support nothing got resolved.. Just to give more background on this problem, we originally reconfigured all Hyperion components to use different SQL server, that is when the problem started happening as soon as we got to Planning Instance Configuration. Could this be the situations when old server name is still somewhere in the system?.. Could this be Shared Services problem.
    Here is another quote from SharedServices_Security.log
    2008-12-12 15:08:48,249 [http-58080-Processor1] WARN com.hyperion.css.spi.impl.nv.NativeProvider.getHierarchicalRoleTree(Unknown Source) - Exception getting Child Roles in hierarchy due to Illegal or invalid id.dflt passed in. Please check the argument.
    2008-12-12 15:31:18,121 [main] WARN com.hyperion.css.common.configuration.CSSConfigurationImplXML.<init>(Unknown Source) - Skipping the validation of the configuration because the required validating parser library not found or errors in validation. This does not guarantee the proper initialization of the component.
    2008-12-12 15:31:29,808 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.resolveCircularDependency(Unknown Source) - INFO: Time to resolve circular dependency on the Cache for provider: DIPORTAL is : 0
    2008-12-12 15:31:29,808 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.refreshProviderCache(Unknown Source) - INFO: Time to build Cache for provider: DIPORTAL in millis is : 1016
    2008-12-12 15:31:30,823 [main] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /F:/Hyperion/deployments/Tomcat5/SharedServices9/config/CSS.xml.
    2008-12-12 15:31:41,229 [http-58080-Processor4] ERROR com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - Unable to get CSS.xml file or the file may be read only
    2008-12-12 15:31:41,229 [http-58080-Processor4] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /null.
    2008-12-12 15:38:01,938 [main] WARN com.hyperion.css.common.configuration.CSSConfigurationImplXML.<init>(Unknown Source) - Skipping the validation of the configuration because the required validating parser library not found or errors in validation. This does not guarantee the proper initialization of the component.
    2008-12-12 15:38:13,454 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.resolveCircularDependency(Unknown Source) - INFO: Time to resolve circular dependency on the Cache for provider: DIPORTAL is : 0
    2008-12-12 15:38:13,454 [Thread-8] WARN com.hyperion.css.spi.impl.msad.MSADCacheUpdater.refreshProviderCache(Unknown Source) - INFO: Time to build Cache for provider: DIPORTAL in millis is : 813
    2008-12-12 15:38:35,453 [main] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /F:/Hyperion/deployments/Tomcat5/SharedServices9/config/CSS.xml.
    2008-12-12 15:42:09,776 [http-58080-Processor3] ERROR com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - Unable to get CSS.xml file or the file may be read only
    2008-12-12 15:42:09,776 [http-58080-Processor3] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /null.
    2008-12-12 15:42:09,776 [http-58080-Processor2] ERROR com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - Unable to get CSS.xml file or the file may be read only
    2008-12-12 15:42:09,776 [http-58080-Processor2] WARN com.hyperion.css.CSSAPIImpl.initialize(Unknown Source) - The system has already been configured; skipping attempt to configure the system again with the new config file /null.

Maybe you are looking for