Query is not running after one table exceeds certain records, any limit?

I have a production database and a reporting database. Production is on version 9.2.0.5 where as Reporting is on 9.2.0.3. I had a query which uses Gl table which grows every month. The query use to take almost same time both in Production as well as Reporting. After the table grew in last couple of months. I observed the query just hangs up in production where as it continues to run in Reporting. Is it the orcale version which makes any difference for the query not to run in prodcution when Gl table had 27 million rows as against 25 million rows a couple of months of ago? Any help is appreciated.

user5846372 wrote:
If I use the gl table which was populated until two months ago having less than say 25.2 million rows, the query runs in 2 minutes. If I use the current gl table having current data (total of say 27 million rows) then the query does not even run. From the current gl table if I delete about 2 million records making it 25 illkion rows then the query runs. So I was wondering whether it is the oracle version which makes this difference.Explain your logic that says that after the queries run successfully on different versions, the version difference is now somehow causing the problem - and not the fact that what did change since the last successful run was the the data volumes....
As for "+the query does not even run+" - it does. Simply that you do not have a clue what it is doing and thus no means to diagnose the problem. And then jump to the conclusion that the version difference is somehow to blame.
WHAT is that query doing when it seems to "hang"? (it very likely does not hang at all, and is simply very busy with I/O or being blocked from accessing a resource it needs)
Have you looked at the events and wait states of the query? Have you looked, as Daniel already suggested, at the execution plan?
You cannot and should not attempt to diagnose a problem, without understanding the problem. If you have no idea what the problem is, how can you simply jump to the conclusion that "+oh, it must be the version difference+"!?
You can only solve a problem by understanding it. It is that simple. So first understand what the query is doing and why it seems to hang BEFORE you attempt to diagnose and solve it.

Similar Messages

  • Oracle automatic statistics optimizer job is not running after full import

    Hi All,
    I did a full import in our QA database, import was successful, however GATHER_STATS_JOB is not running after sep 18 2010 though its enable and scheduled, i did query last_analyzed table to check and its confirmed that it didnt ran after sep18,2010.
    Please refer below for the output
    OWNER JOB_NAME ENABL STATE START_DATE END_DATE LAST_START_DATE NEXT_RUN_D
    SYS GATHER_STATS_JOB TRUE SCHEDULED 18-09-2010 06:00:02
    Oracle defined automatic optimizer statistics collection job
    =======
    SQL> select OWNER,JOB_NAME,STATUS,REQ_START_DATE,
    to_char(ACTUAL_START_DATE, 'dd-mm-yyyy HH24:MI:SS') ACTUAL_START_DATE,RUN_DURATION
    from dba_scheduler_job_run_details where
    job_name='GATHER_STATS_JOB' order by ACTUAL_START_DATE asc; 2 3 4
    OWNER JOB_NAME STATUS REQ_START_DATE ACTUAL_START_DATE
    RUN_DURATION
    SYS GATHER_STATS_JOB SUCCEEDED 16-09-2010 22:00:00
    +000 00:00:22
    SYS GATHER_STATS_JOB SUCCEEDED 17-09-2010 22:00:02
    +000 00:00:18
    SYS GATHER_STATS_JOB SUCCEEDED 18-09-2010 06:00:02
    +000 00:00:26
    What could be the reason for GATHER_STATS_JOB job not running although its set to auto
    SQL> select dbms_stats.get_param('AUTOSTATS_TARGET') from dual;
    DBMS_STATS.GET_PARAM('AUTOSTATS_TARGET')
    AUTO
    Does anybody has this kind of experience, please share
    Apprecitate your responses
    Regards
    srh

    ?So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run, but i see tables are updated still the job is not running. I did >query dba_scheduler_jobs and the state of the job is true and scheduled. Please see my previous post on the output
    Am i missing anything here, do i look for some parameters settings
    So basically you are saying is if none of the tables are changed then GATHER_STATS_JOB will not run,GATHER_STATS_JOB will run and if there are any table in which there's a 10 percent change in data, it will gather statistics on that table. If no table data have changes less than 10 percent, it will not gather statistics.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/stats.htm#i41282
    Hope this helps.
    -Anantha

  • Have a month number but QaaWs query will not run

    If I type in the parameters for the query it runs with no problem, but when I use the MONTH function that returns the month number the query will not run.
    I think the date serial number is what is being passed even though I see a number being display.  Does anyone know how to conver this MONTH() function to a true number?  This is a converted 4.5 model that works just fine, but looks like they tightened things up in 2008.
    Thanks...
    Tom Nather

    Here is how its setup.  I have a QaaWs query that returns the max date, then Excel functions that calculate the date back 13 months.  One of the functions is MONTH() that returns the month number based on a date stored in a cell, not really a true number.
    I added a vlookup that takes the month from a date field (05/31/2008) and looks up the appropriate NUMBER of the month =VLOOKUP(MONTH(K47),M54:M65,1). Find 5 (which is defined as a number.
    This then is applied to the input side for the Qaaws (Month Number = double) using a Paste Link function from the CONTROLS sheet in excel, and the query then works.
    Anything that is a date always seems to be built off of the date serial number so this was the easiest way to get this to work. 
    I think standards have been tightened up using the Flex language vs. what 4.5 was written in, this works in 4.5 without the necessary conversion.

  • Premiere Elements 12 will not run after installing on my HP laptop with Windows 7.

    Premiere Elements 12 will not run after installing on my HP laptop with Windows 7. HOWEVER, PE11, PE10 & PE 9 all run without a problem. I contacted HP, and there are NO NEW or ADDITIONAL video drivers available from HP.
    I have NEVER had a problem running ANY software on this laptop -- except for PREMIERE ELEMENTS 12!

    Premiere Elements 12 will not run after installing on my HP laptop with Windows 7. HOWEVER, PE11, PE10 & PE 9 all run without a problem. I contacted HP, and there are NO NEW or ADDITIONAL video drivers available from HP.
    I have NEVER had a problem running ANY software on this laptop -- except for PREMIERE ELEMENTS 12!

  • LiveUpdate 6-not running after last update

    application not running after start win7x64, but I did not set anything and not even start
    pls. test application
    main PC:
    moth. H97
    CPU: Corei-5
    VGA: GTX 560Ti
    thx

    Hi,
    I am pretty sure you want to know what forum's experienced users think about Live Update, don't you?
    Live Update is terrible, and in most cases it's better to remove it and forget about it. It's alright to keep it installed and run to check for updates but a lot better and safer to install them manually (yourself) from MSI's product page. And forget about updating BIOS. It's as good as smashing the BIOS chip with the hammer  MFlash or Forum's tool is much safer and more efficient.
    What updates did it do? What drivers/utilities do you have installed from the CD/MSI's page?

  • Safari not running after ios8 update for ipad

    I updated my Ipad with Retina display with ios8 lately and noticed that safari is not running after update. whenever i try to open it it just pop open and close immediately and automatically.
    There was no problem of this kind before the update.
    Any solution??

    If the above doesn't work:
    (A) Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Try reset all settings
    Settings>General>Reset>Reset All Settings
    Note: Data will not be affected but settings for Wi-Fi, FaceTime, Message, Home Sharing will be reset

  • Premier elements 12 will not run after re-install

    Premier elements 12 will not run after re-install - it is legal and registered with adobe under my ID. WTF! The reason I re-installed it was because it could not find the internet - which is working. And premier 12 was working for a while then quit - that is why as a last ditch effort - i re-installed it. Any ideas?

    scottg
    Please review the following for possible solutions to your Premiere Elements 12 issue.
    http://www.atr935.blogspot.com/2014/04/pe12-sign-in-failure-connect-to.html
    http://www.atr935.blogspot.com/2014/04/pe12-premiere-elements-12-editor-will.html
    Looking forward to learning of your results when your schedule permits.
    Thank you.
    ATR

  • WorkerRoles not running after 1/1

    Hi! We have a problem with WorkerRoles not running after new years eve. Everything looks fine in the management portal (status running as usual), but no work is being executed. The same code and database runs fine in the local emulator.
    Has anyone else encountered this issue or have an idea of where to look for a solution?

    Thanks for your reply!
    There looks to be some logging (not my code, and the developer is unreachable atm), but all I can find are the .tsf-files when I remote into the server (tried the table2csv tool, but it doesn't output anything, including an error). I should have mentioned
    I already tried checking the event log, but there doesn't appear to be anything of relevance in there.
    If you have any other idea, that would be great! I haven't used Azure much, and this is my first issue that is not possible to replicate with the emulator..

  • Finder will not run after re-start

    Finder will not run after a re-start. Any quick fixes?

    scottg
    Please review the following for possible solutions to your Premiere Elements 12 issue.
    http://www.atr935.blogspot.com/2014/04/pe12-sign-in-failure-connect-to.html
    http://www.atr935.blogspot.com/2014/04/pe12-premiere-elements-12-editor-will.html
    Looking forward to learning of your results when your schedule permits.
    Thank you.
    ATR

  • The online conversion of my pdf file to word did not correctly convert the tables and certain other formatting.  I wish to obtain a refund.

    The online conversion of my pdf file to word did not correctly convert the tables and certain other formatting.  I wish to obtain a refund.

    Hi yammyamm,
    I'm sorry that your conversion didn't work out for you. Please contact Adobe Customer Support via phone or chat, and an agent will be able to process that cancellation/refund for you. Here is the contact information: Contact Customer Care
    Best,
    Sara

  • Query to Identify Data in One Table Not In Another Table

    I need to create a query that will return the records in one table that are not in another table.  Here is the structure of my data tables:
    tbl_Practice – contains information about management practices.  The primary key field is “ID” which is an autonumber field.
    tbl_Controls – contains information about internal controls associated with the management practices.  The primary key is “ID” which is an autonumber.
    tbl_PracticeJoin – this is a table that contains the mapping of controls to practices.  Some practices can have multiple controls assigned to them and some controls can be mapped to multiple practices. 
    This table’s primary key is “ID” which is an autonumber field.  The only other data included in this table are the primary keys of the practice and control.  Those field names are “PracticeIDFK” and “ControlIDFK”.
    In this application, the user will normally enter practices and controls at the same time; however, there may be instances where a control is entered and it is not known at that time what practice(s) it should
    be mapped to.  I want to be able to run a query that will show me any controls that are in the tbl_Controls which are not in tbl_PracticeJoin.  I would like to be able to do the same with the practice table. 
    Thanks.

    The easiest way to do this is through the 'Find Unmatched Query Wizard'.
    On the Create tab of the ribbon, click Query Wizard.
    Select 'Find Unmatched Query Wizard'.
    Click OK.
    Select tbl_Controls, then click Next >.
    Select tbl_PracticeJoin, then click Next >.
    Select ID in tbl_Controls and ControlIDFK in tbl_PracticeJoin (if the wizard hasn't already done so automatically), then click Next >.
    Add the fields from tbl_Controls that you want to see to the list on the right; click >> if you want to add them all at once. Then click Next >.
    Access proposes a name for the query; you can edit the name if you wish.
    Click Finish.
    You can do the same for tbl_Practice and tbl_PracticeJoin, with PracticeIDFK instead of ControlIDFK.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • FOR ALL ENTRIES stmnt. in SELECT query is not running properly

    Hello experts,
              In my report program, I write one query on table BSIS.
             Internal table declaration -             
           DATA : BEGIN OF DLC_BSIS OCCURS 0,
                            BUKRS LIKE BSIS-BUKRS,
                            GJAHR LIKE BSIS-GJAHR,
                            BELNR LIKE BSIS-BELNR,  
                            SHKZG LIKE BSIS-SHKZG,
                            BSCHL LIKE BSIS-BSCHL,
                            AUFNR LIKE BSIS-AUFNR,
                            HKONT LIKE BSIS-HKONT,
                            QSSKZ LIKE BSIS-QSSKZ,
                            DMBTR LIKE BSIS-DMBTR,
                       END OF DLC_BSIS.                                                                               
    Query as follows --
             SELECT BUKRS
                           GJAHR
                           BELNR
                           AHKZG
                           BSCHL
                           AUFNR
                           HKONT
                           QSSKZ
                            DMBTR FROM BSIS
                                      INTO TABLE DLC_BSIS
                                     FOR ALL ENTRIES IN IT_BKPF2
                                     WHERE BELNR = IT_BKPF2-BELNR
                                                  AND BUKRS = IT_BKPF2-BUKRS
                                                  AND GJAHR = IT_BKPF2-GJAHR.
    IT_BKPF2 internal table having -- BUKRS - LT01
                                                         BELNR - 6400000061
                                                         GJAHR - 2009.
    And in BSIS database  table  -- 3 entries are there for the above documnet.
    But, in my internal only one entry has come for the same above document.
    I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    What would be the reason..??
    Thanks in advance....!!
    Regards,
    Poonam.

    >
    Poonam Patil wrote:
    > Hello experts,
    >           In my report program, I write one query on table BSIS.
    >
    >          Internal table declaration -             
    >                                            
    >        DATA : BEGIN OF DLC_BSIS OCCURS 0,
    >                         BUKRS LIKE BSIS-BUKRS,
    >                         GJAHR LIKE BSIS-GJAHR,
    >                         BELNR LIKE BSIS-BELNR,  
    >                         SHKZG LIKE BSIS-SHKZG,
    >                         BSCHL LIKE BSIS-BSCHL,
    >                         AUFNR LIKE BSIS-AUFNR,
    >                         HKONT LIKE BSIS-HKONT,
    >                         QSSKZ LIKE BSIS-QSSKZ,
    >                         DMBTR LIKE BSIS-DMBTR,
    >                    END OF DLC_BSIS.                                                                               
    >                           
    >          Query as follows --
    >
    >          SELECT BUKRS
    >                        GJAHR
    >                        BELNR
    >                        AHKZG
    >                        BSCHL
    >                        AUFNR
    >                        HKONT
    >                        QSSKZ
    >                         DMBTR FROM BSIS
    >                                   INTO TABLE DLC_BSIS
    >                                  FOR ALL ENTRIES IN IT_BKPF2
    >                                  WHERE BELNR = IT_BKPF2-BELNR
    >                                               AND BUKRS = IT_BKPF2-BUKRS
    >                                               AND GJAHR = IT_BKPF2-GJAHR.
    >
    > IT_BKPF2 internal table having -- BUKRS - LT01
    >                                                      BELNR - 6400000061
    >                                                      GJAHR - 2009.
    >
    > And in BSIS database  table  -- 3 entries are there for the above documnet.
    >
    > But, in my internal only one entry has come for the same above document.
    >
    > I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    > What would be the reason..??
    >
    >
    > Thanks in advance....!!
    >
    > Regards,
    > Poonam.
    include the buzei field in selection criteria i have faced the same situation earlier.
    always select all the key fields.
    varun

  • Web query with tabs - more than one table in a tab

    Hi all,
    I'm building a web query using the following code found on SDN:
    <HTML>
    <!-- BW data source object tags -->
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_2"/>
    <param name="QUERY" value="EP_DWM_RIDEF44_LIGNOVA"/>
    <param name="INFOCUBE" value="EPDWMC03"/>
    DATA_PROVIDER: DATAPROVIDER_2
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="EP_DWM_RIDEF44_DESLIG"/>
    <param name="INFOCUBE" value="EPDWMC03"/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_PROPERTIES"/>
    <param name="TEMPLATE_ID" value="ZBWTESTE"/>
    TEMPLATE PROPERTIES
    </object>
    <HEAD>
    <TITLE>BW Web Application</TITLE>
    <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
    <script type="text/javascript">
    <!--
    /* function goto_tab: Show all items, starting with tabname, Hide all other items */
    function goto_tab(tabname) {
    SAPBWOpenURL(SAP_BW_URL_Get()'&item=TAB*&multi=X&hidden=X&cmd_1=item%3d'tabname+'*%26hidden%3d %26multi%3dX');
    /* DHTML function to set correct span-Tag visible
    For each Tab in Tab-Header (head_TAB) check, if item TABx is visible
    If Item is visible set Header as selected
    Otherwise set corresponding span-Tag to not visible */
    function set_actual_tab() {
    i=0;
    do {
    i++;
    if (document.getElementById('head_TAB'+i) != null) {
    /* Check if Object tag is hidden */
    var prop = SAPBWGetItemProp('TAB'+i);
    var hidden=true;
    if (prop != null){
    for(j=1;j<prop.length;j++){
    if (prop[j][0] == "HIDDEN") hidden = (prop[j][1]=='X');
    if (hidden) {
    document.getElementById("TAB"+i).setAttribute('style', 'display:none;visibility:false;',false);
    else {
    document.getElementById("head_TAB"+i).setAttribute('className', 'SAPBEXTbsTABsel',false);
    } while (document.getElementById('head_TAB'+i) != null)
    -->
    </script>
    </HEAD>
    <BODY>
    <P> </P>
    <P>
    <TABLE cellSpacing=0 cellPadding=5 border=0>
    <TR>
    <TD vAlign=top><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="CHART_1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
    ITEM: CHART_1
    </object></TD>
    <TD vAlign=top><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="CHART_2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_CHART"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    ITEM: CHART_2
    </object></TD>
    </TR></TABLE></P>
    <table cellspacing="0" cellpadding="5" border="0" id="tabheader">
    <tr>
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Tab 1</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Tab 2</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Tab 3</A>
    </td>
    </tr>
    </table>
    <table width="100%" class="SAPBEXTbsBdyEdg" cellspacing="0" cellpadding="5" border="0">
    <tr>
    <td valign="top" >
    <span id="TAB1"> 
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="BLOCK_SIZE" value=""/>
    ITEM: TAB1
    </object> 
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB1NAVIGATIONBLOCK_1"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    ITEM: TAB1NAVIGATIONBLOCK_1
    </object>
    </span>
    <span id="TAB2" >
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    <param name="BLOCK_SIZE" value=""/>
    ITEM: TAB2
    </object> 
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB2NAVIGATIONBLOCK_2"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    ITEM: TAB2NAVIGATIONBLOCK_2
    </object>
    </span>
    <span id="TAB3" > <SPAN id=TAB3><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB3"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    <param name="BLOCK_SIZE" value=""/>
    ITEM: TAB3
    </object><object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="GET_ITEM"/>
    <param name="NAME" value="TAB3NAVIGATIONBLOCK_3"/>
    <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK"/>
    <param name="DATA_PROVIDER" value="DATAPROVIDER_2"/>
    <param name="HIDDEN" value="X"/>
    ITEM: TAB3NAVIGATIONBLOCK_3
    </object></SPAN>
    </span>
    </td>
    </tr>
    </table>
    <script type="text/javascript">
    <!--
    /* This function call is needed to set the correct state */
    set_actual_tab();
    -->
    </script>
    </BODY>
    </HTML>
    This perfectly works with one table and one nav. block per tab. When I include a second table and a second nav. blocks in some tab, it doesn't work properly anymore (the selected tab is not highlighted). I think that I'm not naming the table and nav. block properly:
    ITEM: TAB1
    ITEM: TAB1NAVIGATIONBLOCK_1
    Second table?
    Second nav. block?
    Could someone help me further?
    Thanks, Nippon

    with other words..
    strip1 = 2 tables, name TAB1_0 and TAB1_1
    strip2 = 2 tables, name TAB2_0 and TAB2_1
    Navblock strip1 = 2 navblocks, name TAB1_0_NAV and TAB1_1_NAV
    Navblock strip2 = 2 navblocks, name TAB2_0_NAV and TAB2_1_NAV
    The JavaScript Paramter is TAB1, TAB2 and TAB3. So need every strip-group the same "main"-name.
    <td class="SAPBEXTbsTab" id="head_TAB1"><A href="javascript:goto_tab('TAB1')">Tab 1</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB2"><A href="javascript:goto_tab('TAB2')">Tab 2</A>
    </td>
    <td class="SAPBEXTbsTab" id="head_TAB3"><A href="javascript:goto_tab('TAB3')">Tab 3</A>
    First of all JavaScript set all objects to hidden, then set all objects with 'name' visible.
    Regards Sven

  • OC4J not running after creating workspace and projects.

    Created one workspace and added six projects. Added PostGes jar to library manager. Before doing this, the OC4J would run a test application successfully. After creating the workspace and project, I created another simple workspace with two JSP, on linked to the other. When trying to run this project get the following:
    Apr 17, 2008 10:51:53 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering transactions (commit 0) (rollback 0) (prepared 0).
    Apr 17, 2008 10:51:53 AM com.evermind.server.jms.JMSMessages log
    INFO: JMSServer[]: OC4J JMS server recovering local transactions Queue[jms/Oc4jJmsExceptionQueue].
    Apr 17, 2008 10:51:55 AM oracle.j2ee.util.LoggingUtils logAndReturnMessage
    WARNING: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : org.postgresql.Driver
    08/04/17 10:51:55 SEVERE: ApplicationStateRunning.initConnector Error occurred initializing connectors. Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : org.postgresql.Driver
    08/04/17 10:51:55 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : org.postgresql.Driver
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2072)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnector(ApplicationStateRunning.java:2017)
         at com.evermind.server.ApplicationStateRunning.initConnector(ApplicationStateRunning.java:1272)
         at com.evermind.server.ApplicationStateRunning.initConnectors(ApplicationStateRunning.java:345)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:206)
         at com.evermind.server.Application.setConfig(Application.java:438)
         at com.evermind.server.Application.setConfig(Application.java:339)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
         at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1651)
         at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1034)
         at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.resource.ResourceException: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : org.postgresql.Driver
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:106)
         at oracle.oc4j.sql.DataSourceUtils.getDataSourceConnectionPool(DataSourceUtils.java:330)
         at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2053)
         ... 11 more
    Caused by: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : org.postgresql.Driver
         at oracle.oc4j.sql.config.DataSourceConfigUtils.createConnectionFactory(DataSourceConfigUtils.java:283)
         at oracle.oc4j.sql.DataSourceConnectionPoolImpl.<init>(DataSourceConnectionPoolImpl.java:108)
         at oracle.oc4j.sql.spi.ResourceAdapterImpl.createDataSourceConnectionPool(ResourceAdapterImpl.java:99)
         ... 13 more
    Caused by: oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: org.postgresql.Driver
         Dependent class: oracle.oc4j.sql.config.DataSourceConfigUtils
         Loader: oc4j:10.1.3
         Code-Source: /C:/Jdeveloper10/j2ee/home/lib/oc4j-internal.jar
         Configuration: <code-source> in META-INF/boot.xml in C:\Jdeveloper10\j2ee\home\oc4j.jar
    Remove the posgres jar from the library manager and still not able to run simple two page applications.
    All the projects in the other workspace compile fine. The prolblem is that now I am not able to use the internal OC4J. I remove the workspace with the five projects, and the JARs and the two page app will not run.
    The OC4J is running when launched from the IDE, ti just can find the pages.
    New install of JDEV and the two page app will run fine. Add two user two user libraries and the app will not run.
    Thank you,
    Ben Carter

    Do you have a database connection to postgress defined in JDeveloper?
    JDev might be picking this up and trying to add a datasource for it to the embedded OC4J - so try removing it, or alternatively add the postgress JDBC driver jar files to the libraries node under tools->embedded OC4J preferences.

  • Report will not run after upgrade to new Crystal server

    My company has been using Business Objects version 11.5 Central Management Console and InfoView for Crystal reports. We are upgrading to
    SAP BusinessObjects BI Platform 4.1 Support Pack 1 Version: 14.1.1.1036 Central Management Console and BI Launch Pad. I have one report that is using a sql command for nat2date of a database value that is running successfully on InfoView but will not run on BI Launch Pad. The nat2date function is converting a random number in our database to a date and then selecting the records for the report by using the LastFullWeek function.
    ({Command.NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME)} in LastFullWeek)
    Is there something I need to add to the new CMC to recognize this sql command?
    Thanks for any suggestions!

    Ok, with BI 4.1 you'll need to use Crystal 2013 instead of Crystal 11.5.  For the vast majority of your reports, you won't have to manually upgrade them because the 11.5 version will work fine in the new version of BO.
    I suspect the problem you're seeing is with the "{Command.NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME)}" syntax. is "NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME)" the field alias that you're returning for this function?  Or are you trying to call the function like this?  I would call the function and alias it in the "Select" clause of your command so that it looks something like this:
    Select
      ...<various fields>...,
    NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME) as FROZEN_DATE
    from
    where
    You could then change the selection criteria to something like this:
    {Command.FROZEN_DATE} in LastFullWeek.
    That will fix the report as is.
    However, when you use the Select Expert for reports that have a command, Crystal will pull ALL of the data from the query into memory and then filter it there - it will NOT push this selection criteria down to the database.  So, I usually recommend that you put all of the filter criteria in the Where clause of the command.  You could use something like this to get "LastFullWeek":
    NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME) between Trunc(Sysdate - 7, 'DAY')  and
    Trunc(Sysdate, 'DAY') - 1
    "Trunc(Sysdate, 'DAY')"  will give you the first day of the current week and "Trunc(Sysdate -7, 'DAY') will give you the first day of the previous week.
    If you do it like this in the where clause, you may not have to include the "Frozen_Date" in the select clause.
    -Dell

Maybe you are looking for

  • How to limit data range in a Line chart with Time Refresh Control

    Hi All, I have a Line chart with Time Refresh Control and I would like to make some constraints to this navigation. For example, I would like to limit the user to navigate in a data range of 8 hours. Is this posible? Thanks in advance

  • How can I control modal dialogs in Applescript without a mouse?

    I am trying to use a Griffin PowerMate button to select between two options in an Applescript modal dialog and cannot seem to figure out how to do this. I can set a default button, but I want the user to select between two options (shifting the highl

  • I have an AT&T Email Account that doesn't work with Mail for Lion

    I've had this email account with AT&T for a few years and it has worked with Mac Mail with no difficulty for a few years. Recently the account has been able to receive messages. Every time I hit Get Mail it asks for a password. I have installed all t

  • KVM help please!!!

    Hello! I have a PowerBook G4 and a Windows XP PC. I just bought a KVM USB Switch and I'm having trouble setting it up. I connected the keyboard, VGA, mouse and audio cable from the KVM switch into the computer ports. But now, I was wondering if I cou

  • Reader 10.0.1

    Where can I obtain a copy of reader version 10.0.1? Thanks Stephanie