Error while running XML data definition

Hi,
Want to run report using XML Publisher, created one Data Definition using xml file,
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="EmpDT" description="Employee Details" Version="1.0">
<parameters>
<parameter name="p_DeptNo" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[ SELECT Empno, Ename,Job,Mgr,Hiredate,Deptno FROM Emp WHERE deptno = nvl(:p_DeptNo,deptno) ]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_EMP" source="Q1">
<element name="EMPLOYEE_NUMBER" value="Empno"/>
<element name="NAME" value="Ename"/>
<element name="JOB" value="Job"/>
<element name="MANAGER" value="Mgr"/>
<element name="HIREDATE" value="Hiredate"/>
<element name="DEPTNO" value="Deptno"/>
</group>
</dataStructure>
</dataTemplate>
Added concurrent program and trying to run request but it's getting completed with error, when i checked log file it was showing error like,
XDO Data Engine Version No: 5.6.3
Resp: 20420
Org ID : 204
Request ID: 5810677
All Parameters: p_Dept_No=20
Data Template Code: EMP_DET
Data Template Application Short Name: AMW
Debug Flag: N
{p_Dept_No=20}
Calling XDO Data Engine...
[042811_124713802][][EXCEPTION] java.lang.NullPointerException
     at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:334)
     at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:266)
     at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:140)
     at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
     at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:231)
     at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:283)
     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
     at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
     at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
     at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1796)
     at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:331)
     at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
     at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
     at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
     at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
     at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
     at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
     at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:334)
     at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:294)
     at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
can any one help me to solve this error? it's urgent.....
reply awaited..
Regards,
Priyanka.

HI,
We are facing some issue with CXML. I have posted a new thread [cXML with SAP PI;. 
The content of that thread is pasted below: You can give your solution in the above mentioned thread so that I can grant points.
We need to use cXML for our project. Based on the thread ( [Error while uploading CXML data definition.; )
the following steps need to be done with the cXML DTD.
1.First Delete the Multiple Declaration of "Method .ANY"
2.replace all "ds:" character with 'ds_'
3.replace all "xades: " with 'xades_'
4.replace all "xmlns" with 'attr_'
5) After this use Altova to convert the DTD to XSD.
First of all, we could not carry out the 4th point, as in that case Altova says that it is invalid, and it fails to get imported in PI as well.
Without step 4 , if we import it as external definition, then there are certain attributes with type xml:lang coming in Red.
Can anybody tell us on how to fix this.
Thanks,
Himadri

Similar Messages

  • Compiling Error While Viewing XML Data in Word

    I received the following message, "Compile error in hidden module: Module_starter" while trying to load sample xml data to view within MS Word while using BI Publisher. Any ideas of what causes this and how to fix it would be greatly appreciated.
    Thanks.
    G. Wright

    Getting this error as well.
    I've read the announcement from Tim, and also the Metalink article: Note:457235.1
    However, our desktops at work are locked down to such an extent that I don't have an 'all programs' entry on my start menu.
    I tried what I thought might be the 'Template Builder for Word Language' executable but that also gave me an error (changeUILang.exe).
    Error is: Runtime error '9'. Subscript out of range.
    Could someone please confirm what the shortcut:
    "All Programs --> Oracle BI Publisher Desktop --> Template Builder for Word Language "
    actually points to.
    As to the other option (uninstalling the security patch) this is just a non-starter where I work.
    Thanks for your help,
    Ben

  • BIP Trial 11.1.1..6: Error while generating XML data in Data Model

    Hello,
    I have created a Data Model with a single query. After saving the DM and clicking on the XML icon to generate sample data, I get the following error:
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    End tag 'span' does not match the start tag 'img'. Error processing resource 'http://localhost:7001/xmlpserver/servlet/xdo'...
    *<table style='background=color: #d9e5ef; margin-top: 10px;' width='100%' cellspacing='0' cellpadding='0' border='0' summa...*
    I have verified that the SQL runs without errors in SQL Developer using the same connection parameters as whats used in the DM.
    There are no html tags/key-words etc being used in the sql our it's output.
    Is there a a way to debug this? This is extremely frustrating. Especially since the same sql works without any issues in Oracle Reports.
    Thanks,
    Manish

    ya i can understand we wont do the sql logic at the data model part as some time performance issue may come when comparaed to sql run in package and sql running in data model . so i have mostly done using package and i will just do select * from table in the data set of data model so i didn't face any issue's like this .
    once check this tutorial may be you already
    i use to create parameters like this i didn't face any issue
    SELECT * from TEST where ID=:p_id
    http://st-curriculum.oracle.com/obe/fmw/bi/bip/bip11g/gettingstarted/gettingstarted.htm

  • Error while running Validation Data for category  not found in application

    Dear Experts
    While running Validation and IC Matching I am getting Error i.e. "Data for category  not found in application CONSOLIDATION"
    May some one tell me the reason and resolution.
    Thanks
    Ritesh

    Hi RItesh,
    I suppose your problem was solved in the meanwhile.
    Anyway we had the same issue, when running Validations against ICMatching App.
    That was because Method VALIDATION of Class CL_UJP_VALIDATE tries to relevant data in order to perform calculations (line 127), but if no data is found, ends raising an exception (with a misleading text line 143).
      read_trans_data_sqe( exporting i_application = d_application
                                     it_dim_list = dt_app_dim_list
                                     it_sel = lt_sel
                           importing
                                     er_t_data = lr_data
      assign lr_data->* to <lt_finance>.
      create data lr_data like line of <lt_finance>.
      assign lr_data->* to <ls_finance>.
      lr_data1 = lr_data.
      if <lt_finance> is initial.
    NO DATA FOUND -> EXCEPTION
        raise exception type cx_ujp_process_exception
              exporting textid = cx_ujp_process_exception=>ex_no_data_found
                        d_application = d_application
                        d_value       = l_value.
      endif.
    Hope it helps
    GFV

  • Error while inserting XML data

    Hi,
    When I try to insert xml data, it gives the following error.
    --CREATE TABLE XMLTABLE OF XMLType;
    INSERT INTO XMLTABLE VALUES(XMLTYPE(getCLOBDocument('example.xml')));
    ORA-00600: internal error code, arguments: [qmxiUnpPacked2], [121], [], [], [], [], [], []
    ORA-06512: at "SYS.XMLTYPE", line 0
    ORA-06512: at line 1
    Any ideas?

    I've updated the FAQ with the answer to this one..
    XML DB FAQ

  • Getting error while creating XML data source

    Hi,
    I have converted access database into xml and now wants to convert the xml file into oracle database.while creating the xml database resource geting error ora-065550.PLS-00103:Encountered the symbol"Push" when expecting one of the following .(),*etc.
    Why this problem I am facing.
    Any Idea
    Thanks in advace....

    The error message is explicit the WAERS field is hidden...you must edit the datasource structure in RSO2 and uncheck the "hidden" checkbox for that field....
    It will solve your problem...
    Regards

  • ORA-03120 error while running XML on 8.1.7

    Hi Steve and others,
    We were getting errors returned XSU on Oracle 8.1.6 whenever the query resultset exceeded certain size. Steve, if you remember you advised us to move up to 8.1.7 which apparently fixes the bug.
    I did.
    But now whenever I run a XML statement I get
    this error:
    select xmlgen.getXML('select content_id from
    bc_content where content_id < ''100''', 1) from dual
    ORA-03120: two-task conversion routine: integer overflow
    Now, I didn't install XSU again on this database. I believe that's pre-installed with 8.1.7. But do I need to install it on top? Or is there some other issue I am not aware of?
    Thanks in appreciation,
    NM
    null

    Steve,
    Thanks very much for replying. Here is the rub: I get this error for EVERY statement (involving XML etc) that is executed through SQL*Net. But on SQLPlus of the server the queries run just fine.
    I analyzed and found the following:
    *** On server SQLPLUS of 8.1.7 database:
    SQL> select xmlgen.getXML('select content_id from bc_content where content_id < ''1800''', 1) from dual ;
    XMLGEN.GETXML('SELECTCONTENT_IDFROMBC_CONTENTWHERECONTENT_ID<''1800''',1)
    <?xml version = '1.0'?>
    <!DOCTYPE ROWSET [
    <!ELEMENT ROWSET (ROW)*>
    <!ELEMENT RO
    ** On a client for the new 8.1.7 database (BTW We didn't upgrade the client)
    ORA-03120: two-task conversion routine: integer overflow
    Ora-3120 is a TWO-TASK error.
    Typically something is wrong for two-task errors with either
    (a) Database. Which is not the case. As we saw the query works when executed from server the query works!
    (b) Application Code: Which is not. As it works with the version of application talking to 8.1.6 database (which fails when filesize retrievd is big. Doesn't fail always)
    (c) Network (SQL*Net): And the error is HERE! That's why even though the query is executed on server we fail to execute it on a client.
    Our clients are on SQL*Net belonging to Oracle 8.1.6 as well. But we talk to an Oracle 8.1.7 server. Theoritically 8.1.6 client should work just fine with 8.1.7 server.
    Thanks very much again for replying,
    NM

  • Error While Running XML Inline Report From OAF Page.

    Team,
    Iam getting the below error whiile generating the XML Inline Report using : DocumentViewerRn
    *"An error encounterd either due to invalied Template details or due to null Data Input Stream. "*
    We tested the same in other instance , it is working fine without issues.
    I check about the XMLData, there is no issue in it too.
    Any Thoughts about the reason for the issue ?
    Regards
    Sridhar

    Hi Sridhar ,
    Can you share your code , it would help us to understand the issue better .
    --Keerthi                                                                                                                                                                                                                       

  • Error while running Master Data IP

    HI Xpertz
    Could any one tell me resolution for the following.I am running a master data Ip It gives the following
    error "errors in source system".
    Its daily load.
    If any docs please send it to the following id : [email protected]
    Any answer will appreciate
    Thanx In advance
    Best regards
    Krish K
    **NO need to say good answers will get full pointz*****

    Hi seggi and Vikash,
    Thanx For u r replays.Bcz There is no problem in replication process so finally we decide for reintialaisation.THis was  going smoothly from past one year.Just today only we got thez error.If any suggestions could you please send me.
    If any docs please send it to the following id : [email protected]
    Any answer will appreciate
    Thanx In advance
    Best regards
    Krish K
    **NO need to say good answers will get full pointz*****

  • Error while inserting xml data into table

    Hello
    I am running thid stored procedure and this compiles correctly , but when I try to execute it gives me a error, I have been trying this form the past 3 days , could anyone please help me ASAP
    SQL> CREATE OR REPLACE PROCEDURE loadxml12 AS
    2 fil BFILE;
    3 buffer RAW(32767);
    4 len INTEGER;
    5 insrow INTEGER;
    6 BEGIN
    7 SELECT f_lob INTO fil FROM xml_temp12 WHERE key = 1;
    8 DBMS_LOB.FILEOPEN(fil,DBMS_LOB.FILE_READONLY);
    9 len := DBMS_LOB.GETLENGTH(fil);
    10 DBMS_LOB.READ(fil,len,1,buffer);
    11 xmlgen.resetOptions;
    12 insrow := xmlgen.insertXML('xml_doc',UTL_RAW.CAST_TO_VARCHAR2(buffer));
    13 DBMS_OUTPUT.PUT_LINE(insrow);
    14 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    15 DBMS_LOB.FILECLOSE(fil);
    16 END IF;
    17 EXCEPTION
    18 WHEN OTHERS THEN
    19 DBMS_OUTPUT.PUT_LINE('In Exception');
    20 DBMS_OUTPUT.PUT_LINE(SQLERRM(SQLCODE));
    21 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    22 DBMS_LOB.FILECLOSE(fil);
    23 END IF;
    24 end;
    25 /
    Procedure created.
    SQL> exec loadxml12
    In Exception
    BEGIN loadxml12; END;
    ERROR at line 1:
    ORA-20000: ORU-10028: line length overflow, limit of 255 bytes per line
    ORA-06512: at "SYS.DBMS_OUTPUT", line 99
    ORA-06512: at "SYS.DBMS_OUTPUT", line 65
    ORA-06512: at "CARCLUB_RW2.LOADXML12", line 20
    ORA-06512: at line 1
    null

    Could you explain what your procedure does, please. I also tried to compile it but always got error message:
    PL/SQL: SQL Statement ignored
    PLS-00385: type mismatch found at 'FIL' in SELECT...INTO
    statement
    SQL> CREATE OR REPLACE PROCEDURE loadxml12 AS
    2 fil BFILE;
    3 buffer RAW(32767);
    4 len INTEGER;
    5 insrow INTEGER;
    6 BEGIN
    7 SELECT f_lob INTO fil FROM xml_temp12 WHERE key = 1;
    8 DBMS_LOB.FILEOPEN(fil,DBMS_LOB.FILE_READONLY);
    9 len := DBMS_LOB.GETLENGTH(fil);
    10 DBMS_LOB.READ(fil,len,1,buffer);
    11 xmlgen.resetOptions;
    12 insrow := xmlgen.insertXML('xml_doc',UTL_RAW.CAST_TO_VARCHAR2(buffer));
    13 DBMS_OUTPUT.PUT_LINE(insrow);
    14 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    15 DBMS_LOB.FILECLOSE(fil);
    16 END IF;
    17 EXCEPTION
    18 WHEN OTHERS THEN
    19 DBMS_OUTPUT.PUT_LINE('In Exception');
    20 DBMS_OUTPUT.PUT_LINE(SQLERRM(SQLCODE));
    21 IF DBMS_LOB.FILEISOPEN(fil) = 1 THEN
    22 DBMS_LOB.FILECLOSE(fil);
    23 END IF;
    24 end;
    25 /
    Bober
    null

  • Error while passing date parameter to the XML data definition

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

  • Alert subscription data source module encountered errors while running

    Hello All,
    After I configured subscriptions with many monitors, error alerts appear at SCOM(scom 2012 r2) console in active alert page.
    I googled it and found some topics at TechNet but I could not figure it out. Alert description is shown below
    Alert subscription data source module encountered errors while running: Alert subscription data source module was unable to find alerts that match the subscription because of database errors.
    The following error(s) were encountered:
    Exception Message: The incoming request has too many parameters. The server supports a maximum of 2100 parameters. Reduce the number of parameters and resend the request.
    One or more workflows were affected by this.
    Workflow name: Subscriptioneaa7b044_b3c1_4198_be71_ffaaf66a163f
    Instance name: Alert Notification Subscription Server
    Instance ID: {E07E3FAB-53BC-BC14-1634-5A6E949F9230}
    Management group: STS
     Any idea?
    Thanks

    As I understand, this issue occurs and remains after I configure a subscription with too many rules and/or monitors( i.e al available rule and/or monitor of a management pack).
    After I had deleted those subscription with many rule/monitor, this issue was resolved. 
    Any idea?

  • Alert subscription data source module encountered errors while running: Alert subscription data source module was unable to find alerts that match the subscription because of database errors.

    Hi,    We recently started getting these errors a couple times a day.   There are 12 of them in total.     We also have exactly 12 subscriptions.   Does this indicate some db issue causing all of these
    to fail?
    Alert subscription data source module encountered errors while running: Alert subscription data source module was unable to find alerts that match the subscription because of database errors.
    The following error(s) were encountered:
    Exception Message: ExecuteScalar requires an open and available Connection. The connection's current state is closed.
    One or more workflows were affected by this.
    Workflow name: Subscription8b108a3e_4e3d_4fd0_b67e_cbfc21cd10b8
    Instance name: Alert Notification Subscription Server
    Instance ID: {E07E3FAB-53BC-BC14-1634-5A6E949F9230}
    Management group: A Company Management Group
    Thanks Lance

    Hi,
    Do you have hotfixes applied?
    http://blogs.technet.com/kevinholman/archive/2009/01/27/which-hotfixes-should-i-apply.aspx
    Also, I found a relevant thread for your reference.
    Alert subscription data source module encountered errors while running</u1:p>
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/50557249-7f97-4b67-9729-f7088202385b/alert-subscription-data-source-module-encountered-errors-while-running?forum=operationsmanagergeneral</u1:p>
    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.

  • Error while running Helloworld page from Jdeveloper

    Hi
    I am getting the following error while running HelloworldPG.xml from Jdeveloper.
    Any help in this will be greatly appreciated ..
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
    SQLCODE = -20001
    SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
    ORA-06512: at "APPS.APP_EXCEPTION", line 52
    ORA-06512: at "APPS.FND_GLOBAL", line 63
    ORA-06512: at "APPS.FND_GLOBAL", line 967
    ORA-06512: at "APPS.FND_GLOBAL", line 547
    ORA-06512: at line 1
    ; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:876)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:523)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
    SQLCODE = -20001
    SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
    ORA-06512: at "APPS.APP_EXCEPTION", line 52
    ORA-06512: at "APPS.FND_GLOBAL", line 63
    ORA-06512: at "APPS.FND_GLOBAL", line 967
    ORA-06512: at "APPS.FND_GLOBAL", line 547
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:454)
         at oracle.apps.fnd.common.AppsContext.setSecurityContext(AppsContext.java:1467)
         at oracle.apps.fnd.common.WebAppsContext.setSecurityContext(WebAppsContext.java:2671)
         at oracle.apps.fnd.common.WebAppsContext.updateSessionContext(WebAppsContext.java:2484)
         at oracle.apps.fnd.framework.server.OAUtility.updateSessionContext(OAUtility.java:362)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:508)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-20001: Oracle error -20001: ORA-20001: Error occurred during product initialization for MO when executing 'begin MO_GLOBAL.INIT; end;'.
    SQLCODE = -20001
    SQLERROR = ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.INIT, N, ERRNO, -20001, N, REASON, ORA-20001: SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.SET_ORG_ACCESS, N, ERRNO, -20001, N, REASON, ORA-20001: You do not have access privilege to any operating unit. Please check if your profile option MO: Security Profile includes any operating unit or the profile option
    ORA-06512: at "APPS.APP_EXCEPTION", line 52
    ORA-06512: at "APPS.FND_GLOBAL", line 63
    ORA-06512: at "APPS.FND_GLOBAL", line 967
    ORA-06512: at "APPS.FND_GLOBAL", line 547
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.security.AppsConnectionManager.appsInitialize(AppsConnectionManager.java:454)
         at oracle.apps.fnd.common.AppsContext.setSecurityContext(AppsContext.java:1467)
         at oracle.apps.fnd.common.WebAppsContext.setSecurityContext(WebAppsContext.java:2671)
         at oracle.apps.fnd.common.WebAppsContext.updateSessionContext(WebAppsContext.java:2484)
         at oracle.apps.fnd.framework.server.OAUtility.updateSessionContext(OAUtility.java:362)
         at oracle.apps.fnd.framework.CreateIcxSession.createTransaction(CreateIcxSession.java:508)
         at runregion.jspService(runregion.jsp:103)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    Adding another Error
    Exception Details.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG; (Could not lookup message because there is no database connection)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:454)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    The MDS repository is incompatible with the middle tier. Repository version "9.0.3.6.0_323" is older than minimum repository version "9.0.5.0.0_242" required. Please upgrade the MDS repository to at least the minimum version specified.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1267)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:422)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/fnd/framework/toolbox/tutorial/webui/HomePG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    The MDS repository is incompatible with the middle tier. Repository version "9.0.3.6.0_323" is older than minimum repository version "9.0.5.0.0_242" required. Please upgrade the MDS repository to at least the minimum version specified.
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1267)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:422)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:2644)
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:2423)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:826)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • Error while running ejbc. Fatal error from EJB Compiler ---- Error while pr

    Hi!
    I was deploying a test application for a session bean with sun 1 studio 5 and I started getting this message while deploying.
    I had tested the bean previously and I had no problems.
    I found this in the sun app server 7 release notes, but I don't understand what I'm supposed to do...
    "Deployment of CMP beans fails.
    The following error is thrown because there are no <query-params> entries in the container-managed persistence (CMP) bean in sun-ejb-jar.xml file:
    Error while running ejbc. Fatal error from EJB Compiler ---- Error while processing CMP beans.
    Solution
    Even if it isn't necessary for the CMP beans, add the query-params tag for finders in the sun-ejb-jar.xml file with the empty parameters."
    Here is my sun-ejb-jar.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Sun ONE Application Server 7.0 EJB 2.0//EN" "http://www.sun.com/software/sunone/appserver/dtds/sun-ejb-jar_2_0-0.dtd">
    <sun-ejb-jar>
    <enterprise-beans>
    <name>GestorDoBanco_EJBModule</name>
    <ejb>
    <ejb-name>Cliente</ejb-name>
    <jndi-name>ejb/Cliente</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Cliente.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>ClienteAssociadoAConta</ejb-name>
    <jndi-name>ejb/ClienteAssociadoAConta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/ClienteAssociadoAConta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Conta</ejb-name>
    <jndi-name>ejb/Conta</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Conta.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>GestorDoBanco</ejb-name>
    <jndi-name>ejb/GestorDoBanco</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003</ejb-name>
    <jndi-name>ejb/MensagemM003</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM003Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM003Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM003Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012</ejb-name>
    <jndi-name>ejb/MensagemM012</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM012Rejeitada</ejb-name>
    <jndi-name>ejb/MensagemM012Rejeitada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM012Rejeitada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM103</ejb-name>
    <jndi-name>ejb/MensagemM103</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM103.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>MensagemM112</ejb-name>
    <jndi-name>ejb/MensagemM112</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/MensagemM112.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>Registo</ejb-name>
    <jndi-name>ejb/Registo</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/Registo.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoConfirmada</ejb-name>
    <jndi-name>ejb/TransaccaoConfirmada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoConfirmada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoFinalizada</ejb-name>
    <jndi-name>ejb/TransaccaoFinalizada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoFinalizada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <ejb>
    <ejb-name>TransaccaoIniciada</ejb-name>
    <jndi-name>ejb/TransaccaoIniciada</jndi-name>
    <pass-by-reference>false</pass-by-reference>
    <cmp>
    <mapping-properties>pcImpl0/moduleComp1/Data/TransaccaoIniciada.mapping</mapping-properties>
    </cmp>
    <refresh-period-in-seconds>600</refresh-period-in-seconds>
    </ejb>
    <pm-descriptors>
    <pm-descriptor>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    <pm-class-generator>com.iplanet.ias.persistence.internal.ejb.ejbc.JDOCodeGenerator</pm-class-generator>
    <pm-mapping-factory>com.iplanet.ias.cmp.NullFactory</pm-mapping-factory>
    </pm-descriptor>
    <pm-inuse>
    <pm-identifier>SunONE</pm-identifier>
    <pm-version>1.0</pm-version>
    </pm-inuse>
    </pm-descriptors>
    <cmp-resource>
    <jndi-name>mysqlpmanager</jndi-name>
    <default-resource-principal>
    <name>bes</name>
    <password>besbes</password>
    </default-resource-principal>
    </cmp-resource>
    </enterprise-beans>
    </sun-ejb-jar>
    Thanks in advance for any help.
    Nuno

    http://docs.sun.com/source/817-2175-10/decmp.html
    Please go to the above docs and look thru the examples given in it.
    Example 2
    This query returns all products in a specified price range. It defines two query parameters which are the lower and upper bound for the price: double low, double high. The filter compares the query parameters with the price field:
    "low < price && price < high"
    The finder element of the sun-ejb-jar.xml file would look like this:
    <finder>
    <method-name>findInRange</method-name>
    <query-params>double low, double high</query-params>
    <query-filter>low < price && price &lt
    high</query-filter
    </finder>
    I hope this hepls. In your case u just have to make it null.

Maybe you are looking for

  • Variable textArea not found in class javax.swing.JFrame...

    Making progress on this issue -- but still stuck. Again trying to get the text from a JTextArea on exit:         frame.addWindowListener        (new WindowAdapter() {          public void windowClosing(WindowEvent e)             System.out.println("W

  • Strange high pitches noise

    So, when I'm doing anything on the computer, I'm getting a really high frequency note, about an f# 8 (not sure about the octave). When i move the scroll bar on a window up or down, the noise goes away but comes back when the movement has stopped, it

  • Item text and item note are not transfering from SRM to ECC on to PR

    Hello Expers!!! Due to some requirement we added some logic in BBP_CREATE_BE_RQ_NEW to print the used ID of the shopping cart creator on PR under item text requisitioner tab. but after moving these changes to production the item text(Vendor text) and

  • Re: Installation of Windows XP on Satellite X200-23G - No HDD

    I tried installing Windows XP on my Satellite X200-23g, once i got installed but as desktop was seen... blue screen of death. Error occur and it went into restarting cycle... so i again installed VISTA from reconvery cd. Now when i try to install XP

  • "Unable to open driver directory"

    I have an HP OfficeJet G85xi AIO. I have been using the HP G731IN.dmg driver package, but found that if I had not used the printer for a while (using a laser for day-to-day cost control) that the printer would not function. I had to do a full re-inst