Xml error from PLSQL Generator

Hello,
I followed the instruction (http://download-east.oracle.com/docs/cd/B25221_04/portal.1013/b25601/pdg_pdk_plsql.htm#CHDCEJGB) and installed OC4J and PL/SQL Generator. When I use the sample provider.xml code with PL/SQL Generator, I received the below "500 Internal Server Error", anyone, any ideas how can I go about fix it? Any help is appreciated!!!
Thanks!
500 Internal Server Error
oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: oracle.webdb.utils.SimpleStringBuffer     Dependent class: oracle.portal.pdk.MultipartInputStreamHandler     Loader: plsqlgenerator.web.plsqlgenerator:0.0.0     Code-Source: /C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar     Configuration: WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\libThe missing class is not available from any code-source or loader in the system.     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1621) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1606) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]     at oracle.portal.pdk.MultipartInputStreamHandler.readLine (MultipartRequest.java:736) [C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar (from WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\lib), by plsqlgenerator.web.plsqlgenerator:0.0.0]     at oracle.portal.pdk.MultipartRequest.readRequest (MultipartRequest.java:329) [C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar (from WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\lib), by plsqlgenerator.web.plsqlgenerator:0.0.0]     at oracle.portal.pdk.MultipartRequest.<init> (MultipartRequest.java:153) [C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar (from WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\lib), by plsqlgenerator.web.plsqlgenerator:0.0.0]     at script.jspService (_script.java:54) [C:/product/10.1.3/OracleAS_2/j2ee/home/application-deployments/plsqlgenerator/plsqlgenerator/persistence/_pages/ (from *.jsp in C:\product\10.1.3\OracleAS_2\j2ee\home\application-deployments\plsqlgenerator\plsqlgenerator\persistence\_pages), by plsqlgenerator.web.plsqlgenerator.jsp8522252:0.0.0]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service (OrionHttpJspPage.java:59) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspPageTable.service (JspPageTable.java:416) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:478) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.service (JspServlet.java:401) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by api:1.4.0]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:719) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:376) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:870) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:451) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:299) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:187) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

Hello,
I followed the instruction (http://download-east.oracle.com/docs/cd/B25221_04/portal.1013/b25601/pdg_pdk_plsql.htm#CHDCEJGB) and installed OC4J and PL/SQL Generator. When I use the sample provider.xml code with PL/SQL Generator, I received the below "500 Internal Server Error", anyone, any ideas how can I go about fix it? Any help is appreciated!!!
Thanks!
500 Internal Server Error
oracle.classloader.util.AnnotatedNoClassDefFoundError:      Missing class: oracle.webdb.utils.SimpleStringBuffer     Dependent class: oracle.portal.pdk.MultipartInputStreamHandler     Loader: plsqlgenerator.web.plsqlgenerator:0.0.0     Code-Source: /C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar     Configuration: WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\libThe missing class is not available from any code-source or loader in the system.     at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2051) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1665) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1621) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1606) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@9627532]     at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]     at oracle.portal.pdk.MultipartInputStreamHandler.readLine (MultipartRequest.java:736) [C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar (from WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\lib), by plsqlgenerator.web.plsqlgenerator:0.0.0]     at oracle.portal.pdk.MultipartRequest.readRequest (MultipartRequest.java:329) [C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar (from WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\lib), by plsqlgenerator.web.plsqlgenerator:0.0.0]     at oracle.portal.pdk.MultipartRequest.<init> (MultipartRequest.java:153) [C:/product/10.1.3/OracleAS_2/j2ee/home/applications/plsqlgenerator/plsqlgenerator/WEB-INF/lib/generator.jar (from WEB-INF/lib/ directory in C:\product\10.1.3\OracleAS_2\j2ee\home\applications\plsqlgenerator\plsqlgenerator\WEB-INF\lib), by plsqlgenerator.web.plsqlgenerator:0.0.0]     at script.jspService (_script.java:54) [C:/product/10.1.3/OracleAS_2/j2ee/home/application-deployments/plsqlgenerator/plsqlgenerator/persistence/_pages/ (from *.jsp in C:\product\10.1.3\OracleAS_2\j2ee\home\application-deployments\plsqlgenerator\plsqlgenerator\persistence\_pages), by plsqlgenerator.web.plsqlgenerator.jsp8522252:0.0.0]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service (OrionHttpJspPage.java:59) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspPageTable.service (JspPageTable.java:416) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.internalService (JspServlet.java:478) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.jsp.runtimev2.JspServlet.service (JspServlet.java:401) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/ojsp.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at javax.servlet.http.HttpServlet.service (HttpServlet.java:856) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/servlet.jar (from <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by api:1.4.0]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke (ServletRequestDispatcher.java:719) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal (ServletRequestDispatcher.java:376) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest (HttpRequestHandler.java:870) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest (HttpRequestHandler.java:451) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:299) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run (AJPRequestHandler.java:187) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run (ServerSocketReadHandler.java:260) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run (ReleasableResourcePooledExecutor.java:303) [C:/product/10.1.3/OracleAS_2/j2ee/home/lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_2\j2ee\home\oc4j.jar), by oc4j:10.1.3]     at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]

Similar Messages

  • Generate xml file from plsql ..

    Hi,
    I am using oracle 9i.
    I have written a script to generate o/p in text file . Its working fine to generate text file.
    I wish to create xml file for the same output. How to do this ??
    declare
    emp_rec emp%ROWTYPE;
    file_id UTL_FILE.FILE_TYPE;
    BEGIN
    file_id := utl_file.FOPEN ('C:\test','test.html','w');
    FOR emp IN (SELECT empno,ename FROM emp)
    LOOP
    utl_file.PUT_LINE( file_id, emp.empno );
    utl_file.PUT_LINE( file_id, emp.ename );
    END LOOP;
    utl_file.fCLOSE(file_id);
    END;
    --- Desired output ---
    <?xml version="1.0" encoding="utf-8" ?>
    <Start>
    <Row>
    <EName>SMITH</EName>
    <EMPNO>7369</EMPNO>
    </Row>
    <Row>
    <EName>SMITH</EName>
    <EMPNO>7499</EMPNO>
    </Row>
    <Row>
    <EName>ALLEN</EName>
    <EMPNO>7521</EMPNO>
    </Row>
    </Start>
    declare
    emp_rec emp%ROWTYPE;
    file_id UTL_FILE.FILE_TYPE;
    BEGIN
    file_id := utl_file.FOPEN ('C:\test','test.html','w');
    FOR emp IN (SELECT empno,ename FROM emp)
    LOOP
    utl_file.PUT_LINE( file_id, emp.empno );
    utl_file.PUT_LINE( file_id, emp.ename );
    END LOOP;
    utl_file.fCLOSE(file_id);
    END;
    Pls guide.

    Michael,
    I've some problem regarding execution of your process -
    satyaki>ed
    Wrote file afiedt.buf
      1  declare
      2    ctx integer := dbms_xmlgen.newcontext('select ename "EName", empno from emp');
      3  begin
      4    dbms_xmlgen.setRowTag(ctx, 'Row');
      5    dbms_xmlgen.setRowSetTag(ctx, 'Start');
      6    dbms_xslprocessor.clob2file(dbms_xmlgen.getxml(ctx), 'c:\', 'Test.xml');
      7* end;
    satyaki>/
      dbms_xslprocessor.clob2file(dbms_xmlgen.getxml(ctx), 'c:\', 'Test.xml');
    ERROR at line 6:
    ORA-06550: line 6, column 3:
    PLS-00201: identifier 'DBMS_XSLPROCESSOR.CLOB2FILE' must be declared
    ORA-06550: line 6, column 3:
    PL/SQL: Statement ignored
    satyaki>select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    satyaki>Why is it throwing error?
    Is this because of lack of privs? Or anything else?
    Regards.
    Satyaki De.

  • How do I Fix This XML Error From my corrupt Premiere Project?

    So I've been trying to recover a corrupt Premiere Pro CC project for the past 3 and a half hours and I think I'm almost there. I kept getting the error "The Project appears to be damaged, it cannot be opened."
    Back Story & Info
    After hours of searching and trying to repair the project I stumbled upon a thread that said to use an app called "XMLWrench" to repair the raw XML file of the project.
    Upon trying to open the project's XML data in XMLWrench I was greeted with complete and utter non-sense code composed of 90% random symbols and alien looking text. But, upon further research I found out that Premiere Pro CC vs CS6 stores the XML data in a some what compressed format. So what I did was add the file extension ".zip" to the end of my project and tried to extract it. Success! The extracted file was the un-compressed XML file which I was able to open and recognize as a Premiere Project.
    Now here's where I need help
    Now that I can import the XML file from the project into XMLWrench I'm able to scan it for errors. Apparently there appears to be only one. (Thank god, I think...). I'll add an image of the error message below along with a download link to the actually XML file to examine.
    Project XML File: MEGA
    Thank you!
    - Matt

    i was able to rename extension to .prproj and it opened in premiere. what happens if you do that?  i did open and save it from notepad++, but that shouldn't have done anything to the file...

  • W3C Errors From Code Generated by Dreamweaver

    Hello,
    I recently uploaded a page I created and tested the code at http://validator.w3.org/.  There were many errors that came back in the javascript that was generated by dreamweaver for my rollover buttons.  Is this something I need to be concerned about and can I fix this without great knowledge of javascript?  Thank you!
    Page:
    http://littlechisel.com/clients/little-chisel-new/index.html
    You can see the error results here:
    http://validator.w3.org/check?uri=http%3A%2F%2Flittlechisel.com%2Fclients%2Flittle-chisel- new%2Findex.html&charset=%28detect+automatically%29&doctype=Inline&group=0
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Little Chisel Design Services</title>
    <meta name="description" content="Websites, advertising materials, logo design and more by designer Kathy Moncelsi.  15 years experience, personal one on-one-communication, dedication and reliability."/>
    <meta name="robots" content="all" />
    <link href="css/little-chisel-styles.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="http://www.littlechisel.com/favicon.ico"/>
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
      </script>
    <link href="css/nivo-slider.css" rel="stylesheet" type="text/css" />
    <link href="css/default.css" rel="stylesheet" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
    <script src="scripts/jquery.nivo.slider.pack.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $('#slider').nivoSlider({
            effect: 'fade', // Specify sets like: 'fold,fade,sliceDown'
            slices: 15, // For slice animations
            boxCols: 8, // For box animations
            boxRows: 4, // For box animations
            animSpeed: 500, // Slide transition speed
            pauseTime: 3000, // How long each slide will show
            startSlide: 0, // Set starting Slide (0 index)
            directionNav: true, // Next & Prev navigation
            controlNav: true, // 1,2,3... navigation
            controlNavThumbs: false, // Use thumbnails for Control Nav
            pauseOnHover: true, // Stop animation while hovering
            manualAdvance: false, // Force manual transitions
            prevText: 'Prev', // Prev directionNav text
            nextText: 'Next', // Next directionNav text
            randomStart: false, // Start on a random slide
            beforeChange: function(){}, // Triggers before a slide transition
            afterChange: function(){}, // Triggers after a slide transition
            slideshowEnd: function(){}, // Triggers after all slides have been shown
            lastSlide: function(){}, // Triggers when last slide is shown
            afterLoad: function(){} // Triggers when slider has loaded
    </script>
    </head>
    <body>
    <div id="wrapper-index">
              <div id="template-social-media-links"><a href="https://www.facebook.com/pages/Little-Chisel-Design/194073243948201?ref=stream&__req=r" target="new" onmouseover="MM_swapImage('facebook','','images/facebook-over.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="images/facebook.jpg" alt="Facebook" width="31" height="29" id="facebook" /></a><a href="https://twitter.com/ChiselDesign" target="new" onmouseover="MM_swapImage('twitter','','images/twitter-over.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="images/twitter.jpg" alt="Twitter" width="31" height="29" class="social-media-links" id="twitter" /></a><a href="http://www.linkedin.com/profile/view?id=117449571&goback=%2Enmp_*1_*1_*1_*1_*1_*1_*1_*1_*1 &trk=spm_pic" target="new" onmouseover="MM_swapImage('linked-in','','images/linked-in-over.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="images/linked-in.jpg" alt="Linked In" width="31" height="29" class="social-media-links" id="linked-in" /></a><a href="http://pinterest.com/littlechisel/" target="new" onmouseover="MM_swapImage('pinterest','','images/pinterest-over.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="images/pinterest.jpg" alt="Pinterest" width="31" height="29" class="social-media-links" id="pinterest" /></a>
              </div>
              <div id="template-header"><a href="index.html"><img src="images/logo.jpg" width="466" height="174" alt="logo" /></a><img src="images/tagline.jpg" alt="Shaping Ideas Into Graphic Art" width="391" height="110" class="tagline" />
        </div>
      <div id="template-nav-bar">
                  <div id="template-nav-bar-color"></div>
                    <div id="template-nav-bar-links"><a href="print.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('print','','images/print-over.jpg',1)"><img src="images/print.jpg" alt="Print" width="54" height="26" id="print" /></a><a href="web.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('web','','images/web-over.jpg',1)"><img src="images/web.jpg" alt="Web" width="53" height="26" id="web" /></a><a href="logos.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('logos','','images/logos-over.jpg',1)"><img src="images/logos.jpg" alt="Logos" width="58" height="26" id="logos" /></a><a href="business-identity.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('business-id','','images/bus-id-over.jpg',1)"><img src="images/bus-id.jpg" alt="Business Identity" width="116" height="26" id="business-id" /></a><a href="photo-retouching.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('photo-ret','','images/photo-ret-over.jpg',1)"><img src="images/photo-ret.jpg" alt="Photo Retouching" width="122" height="26" id="photo-ret" /></a><a href="http://about.me/kathy.moncelsi" target="new" onmouseover="MM_swapImage('about','','images/about-over.jpg',1)" onmouseout="MM_swapImgRestore()"><img src="images/about.jpg" alt="About Me" width="77" height="26" id="about" /></a><a href="contact.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contact','','images/contact-over.jpg',1)"><img src="images/contact.jpg" alt="Contact" width="77" height="26" id="contact" /></a>
            </div>
    <div class="slider-wrapper theme-default">
      <div id="slider" class="nivoSlider">
            <img src="images/index-squares1.jpg" alt="" />
            <img src="images/index-squares2.jpg" alt="" />
            <img src="images/index-squares3.jpg" alt="" />
            <img src="images/index-squares4.jpg" alt="" />
            <img src="images/index-squares5.jpg" alt="" />
            <img src="images/index-squares6.jpg" alt="" />
            <img src="images/index-squares7.jpg" alt="" />
            <img src="images/index-squares8.jpg" alt="" />
            <img src="images/index-squares9.jpg" alt="" />
            <img src="images/index-squares10.jpg" alt="" />
        </div>
    </div>
              <div id="template-footer">
                            <div id="template-footer-links"><a href="index.html">Home</a> | <a href="print.html">Print</a> | <a href="web.html">Web</a> | <a href="logo.html">Logos</a> | <a href="business-id.html">Business Identity</a> | <a href="photo.html">Photo Retouching</a> | <a href="http://about.me/kathy.moncelsi" target="new">About Me</a> | <a href="contact.html">Contact</a></div>
                        <div id="template-footer-info">©2013 All Rights Reserved | Web Design by Little Chisel Design | <a href="mailto: [email protected]">[email protected]</a> | 848.219.2385</div>
                </div> 
    </div>
    <!-- Start of StatCounter Code for Dreamweaver -->
    <script type="text/javascript">
    var sc_project=7879101;
    var sc_invisible=1;
    var sc_security="eaac93c8";
    </script>
    <script type="text/javascript"
    src="http://www.statcounter.com/counter/counter.js"></script>
    <noscript><div class="statcounter"><a title="godaddy
    statistics"
    href="http://statcounter.com/godaddy_website_tonight/"
    target="_blank"><img class="statcounter"
    src="http://c.statcounter.com/7879101/0/eaac93c8/1/"
    alt="godaddy statistics"></a></div></noscript>
    <!-- End of StatCounter Code for Dreamweaver -->
    </body>
    </html>

    The javascript errors are normal and shouldn't pose a problem. You can move the script to an external file to get the page to validate if you like.
    You are missing at least one ending </div> though.

  • Extract nested xml attributes from plsql

    Hi, I need to extract from xml file and insert into 2 oracle tables. The xml file is using attributes and I am having trouble retrieving the nested "code" element with its attributes in context of its parent "table" element. Here is a sample of the xml I have to extract the date from:
    <?xml version="1.0" encoding="UTF-8"?>
    <dataset-cv:dataset-cv dateProduced="2011-09-19 11:50:45" xmlns:dataset-cv="http://www.myurl.com/dataset-cv/1.0.0">
    <lov>
    <table id="00000000000001000" englishName="System Role" isSystem="true" status="Enabled">
    <code id="00000000000000306" englishName="Helpdesk" code="1" status="Enabled"/>
    <code id="000000000000000307" englishName="Reviewer" code="2" status="Enabled"/>
    <code id="00000000000000308" englishName="Administrator" code="3" status="Enabled"/>
    </table>
    <table id="00000000000002000" englishName="Country" sSystem="false" status="Enabled">
    <code id="000000000000002004" englishName="AFGHANISTAN" code="4" status="Enabled"/>
    <code id="000000000000002008" englishName="ALBANIA" code="8" status="Enabled"/>
    <code id="000000000000002010" englishName="ANTARCTICA" code="10" status="Enabled"/>
    </table>
    </lov>
    </dataset-cv:dataset-cv>
    I have been trying to use a query like this but does not retrieve code attributes in context of its parent table record.
    SELECT ID, englishname, frenchname,status ,code
    FROM XMLTABLE ( 'for $i in //lov//table return $i'
    PASSING db_get_xml_from_file ('myfile.xml', 'XMLORADIR')
    COLUMNS id VARCHAR2(32) PATH '@id'
    , englishName VARCHAR2(32) PATH '@englishName'
    , frenchName VARCHAR2(32) PATH '@frenchName'
    , status VARCHAR2(6) PATH '@status'
    , code VARCHAR2(6) PATH '//code//code') ;
    Any assistance will be much appreciated
    Thanks
    Dave

    Hi Dave,
    Do you want something like this :
    SQL> SELECT x1.id
      2       , x1.englishName
      3       , x1.frenchName
      4       , x1.status
      5       , x2.*
      6  FROM XMLTable(
      7         XMLNamespaces('http://www.myurl.com/dataset-cv/1.0.0' as "dc")
      8       , '/dc:dataset-cv/lov/table'
      9         passing xmltype(bfilename('TEST_DIR','myfile.xml'),nls_charset_id('AL32UTF8'))
    10         columns
    11           id          VARCHAR2(32) path '@id'
    12         , englishName VARCHAR2(32) path '@englishName'
    13         , frenchName  VARCHAR2(32) path '@frenchName'
    14         , status      VARCHAR2(6)  path '@status'
    15         , codes       XMLType      path 'code'
    16       ) x1
    17     , XMLTable(
    18         '/code'
    19         passing x1.codes
    20         columns
    21           codeId          VARCHAR2(32) path '@id'
    22         , codeEnglishName VARCHAR2(32) path '@englishName'
    23         , codeStatus      VARCHAR2(6)  path '@status'
    24         , code            NUMBER       path '@code'
    25       ) x2
    26  ;
    ID                               ENGLISHNAME                      FRENCHNAME                       STATUS CODEID                           CODEENGLISHNAME                  CODESTATUS       CODE
    00000000000001000                System Role                                                       Enable 00000000000000306                Helpdesk                         Enable              1
    00000000000001000                System Role                                                       Enable 000000000000000307               Reviewer                         Enable              2
    00000000000001000                System Role                                                       Enable 00000000000000308                Administrator                    Enable              3
    00000000000002000                Country                                                           Enable 000000000000002004               AFGHANISTAN                      Enable              4
    00000000000002000                Country                                                           Enable 000000000000002008               ALBANIA                          Enable              8
    00000000000002000                Country                                                           Enable 000000000000002010               ANTARCTICA                       Enable             10
    6 rows selected

  • How to generate XML Publisher report from PLSQL Stored Procedure in APPS

    Hi,
    I have concurrent program of type PLSQL Stored procedure.I need to generate XML Publisher report from the same.I have changed the output of the concurrent program as "XML" but when I tried running it,the XML tags are not generated.Due to this I am unable to create the template.Its a urgent issue.
    Please help me out .
    Thanks in advance.
    Kaveri

    Hi Kaveri
    Sadly there is nothing magic about that output field. The only program type that you can flip it to XML and then magically get XML is for Oracle Reports. For plsql you will need to recode the plsql to generate XML rather than text that you have now.
    You have some options, best option first:
    1. Move the sql to a data template - check the user guide and blog for help or
    2. Use SQL XML or XMLGEN (not great for large datasets) or
    3. Use dbms_output.put_line and write the XML file manually - not performant at all
    Regards, Tim

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

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

    Use JDK 1.4.

  • Error parsing XML file from a HttpServletRequest using JAXP

    Hi,
    I am trying to generate an XML file from an HttpServletRequest. I am actually using file uploading method in JSP to send the XML file. I think the parser isnt able to correctly identify the XML file from the message body and hence it is giving some strange error messages. Has anyone of u managed to solve this problem ?
    Code snippet:
    //now build an XML document from the requested input stream
    InputStream in = myRequest.getInputStream();
    try {
    myDocRequest = myParser.parse(in);
    } catch (Throwable t) {
    throw new Exception("Could not build document",t);
    Error message is:
    [Fatal Error] :1:1: Content is not allowed in prolog.
    java.lang.Exception: Could not build document
    at XMLUtil.<init>(XMLUtil.java:91)
    at WCS.doPost(WCS.java:44)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at XMLUtil.<init>(XMLUtil.java:89)
    ... 20 more
    Actually if i just print out the message, it gives something like this:
    -----------------------------7d63dc71b06b2
    Content-Disposition: form-data; name="W"; filename="C:\work_projects\Capas.xml"
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8"?>
    <GetCapabilities version="1.0.0" service="wcs">
    <section>/WCS_Capabilities/Capability</section>
    </GetCapabilities>
    -----------------------------7d63dc71b06b2--
    Cheers.

    The ServletInput stream contains this:
    -----------------------------7d63dc71b06b2
    Content-Disposition: form-data; name="W"; filename="C:\work_projects\Capas.xml"
    Content-Type: text/xml
    <?xml version="1.0" encoding="UTF-8"?>
    i.e., its the HTTP File Upload MIME stuff, followed by the XML. You need to wrap around the input stream something that can decode the HTTP MIME stuff and let you get at the XML itself, i.e., something like: com.orielly.servlet.multipart.MultipartParser (Apache has a similar 'file upload servlet).
    Jeremy

  • Urgetnt:Generate XML Document from Oracle Tables.

    Environment is :9i Release 2
    Requirement : Generate XML document from the data which is vailable in Oracle tables at client location.
    Could some body help me on how to get ahead on this.
    Thanks in advance,
    Kumar.

    Implimentation in PowerBuilder7(Source is experimental.. need optimization):
    kml_store = create datastore
    selectblob kml into :kml_result from (select get_kml(:querry_type,:tmp_querry_value,1) as kml from dual) using sqlca;
    if sqlca.sqlcode=100 then
    MessageBox("INFO","No data found");
    return false;
    end if
    if sqlca.sqlcode = -1 then
         MessageBox("INFO","Error in generating KMl file");
         return false
    end if
    li_FileNum = FileOpen("test.kml",StreamMode!, Write!, LockWrite!, Replace!);
    b_len=Len(kml_result)
    b_len=64244;
    /*inserting in file :)*/
    DO WHILE b_pos<=b_len
         s_pipe=String(BlobMid(kml_result,b_pos,i_str_len))
         ret = FileWrite(li_FileNum,s_pipe);
         s_pipe="";
         b_pos=b_pos+i_str_len;
    LOOP
    FileClose(li_FileNum);
    Message was edited by:
    user601564

  • How to generate XML file from SQL file !

    I am new to XML publisher. I known one way to generate XML file is register one report file in concurrent manager.
    But I want to generate XML file from sql file.
    Could someone show me how to code in sql file, how to register is in concurrent manager.
    Thanks !

    Hi
    Phew ... not sure we have the space here. So I can point you in the right direction:
    1. XML data generation - there are two packages in the db you can use with a plsql procedure, XMLGEN and SQL XML. You can also use java APIs too. Try checking the db documentation and search for the above methods.
    2. Registering the report - the system administrators guide will provide this info. Hooking the program up with XMLP is covered here - http://www.oracle.com/technology/products/applications/publishing/resource/CM%20Whitepaper5.0.pdf
    Regards, Tim

  • Best Practices:: How to generate XML file from a ResultSet

    Hi all,
    Could someone please suggest the best practices of how to generate an XML file from a resultset? I am developing a web application in Java with Oracle database and one of my tasks is to generate an XML file when the user, for example, click a "download as XML" button on the JSP. The application is basically like an Order with line items. I am using Struts and my first thought has been to have an action class which will extend struts's DownloadAction and through StAX's Iterator API to create an XML file. I intend to have a POJO which will have properties of all columns of my order and line items tables so that for each order I get all line items and:
    1. Write order details then
    2. Through an iterator write line items of that order to an XML file.
    I will greatly appreciate for comments or suggestions on the best way to do this through any pointers on the Web.
    alex

    Use a OracleWebRowSet in which an XML representation of the result set may be obtained.
    http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/files/oracle10g/webrowset/Readme.html
    http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/jcrowset.htm

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • 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.

  • "Error retrieving xml file from database"

    Hello All,
    I have installed and configured planning with Shared services. While I try to create an instance in Configuration Utility by entering the Instance Name, Host Name, Port (8300) and Click "Next", I get this error -
    *"System failure:Error retrieving xml file from database".*
    My RDBMS is - SQL Server 2005
    OS - Windows 2003 Server
    I am unable to work on planning for few months due to this error.. I would sincerely appreciate if someone can provide me a solution for this..
    Thanks much,
    Varma.

    Hi,
    Ive seen this before.
    If this is a new environment could you create a blank database and configure it as your System database? Then try again and you should be fine.
    I think you may have some invalid entries in your sys database.
    Seb
    www.taysols.com.au

  • Product Instance Registration Error Message: "System Failure: Error while retrieving xml file from database"

    Hi Planning installation Gurus,
    Did u get any luck to resolve this problem as i am also facing same problem "Error creating instance" during install of Planning 9.3.1. i tried 30-50 times reconfiguration every time same problem..
    OS: Vista Premium
    SQL Server 2005
    Essbase:9.3.1
    Error Message: "System Failure: Error while retrieving xml file from database"
    Details of error:::::::::::::::::::::::::
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection.
    java.lang.NullPointerException
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection.
    java.lang.NullPointerException
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.actionPoller(Unkno
    wn Source)
    at com.hyperion.planning.event.HspSysExtChangeHandler.run(Unknown Source
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection.
    Pls provide Solution

    Hi John,
    though i am trying with SQl server authentication with different user but still status is same of planningSystemDB.properties
    SYSTEM_DB_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
    SYSTEM_DB_URL=jdbc:hyperion:sqlserver://neeraj-PC:1433
    SYSTEM_DB_USER=windowsAuthentication
    SYSTEM_DB_PASSWORD=CAFBAEFNBGEAABHEDOADFKADACBGBIFHBLCDFBAFFH
    SYSTEM_DB_CATALOG=plandb
    SYSTEM_DB_TYPE=SQL
    INSTANCE=
    my steps:
    Using SQL Server Management Studio
    Changed Widows authentication to SQL server authentication mode
    In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
    On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
    In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
    In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.
    On the Security page, under Server authentication, select the new server authentication mode, and then click OK.
    In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server.
    To restart SQL Server from SQL Server Management Studio
    To enable the sa login by using Management Studio
    In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
    On the General page, you might have to create and confirm a password for the sa login.
    On the Status page, in the Login section, click Enabled, and then click OK.
    In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.
    On the General page, you might have to create and confirm a password for the sa login.
    On the Status page, in the Login section, click Enabled, and then click OK.}}}
    anything else should i change.................

Maybe you are looking for