Tuning average of a data set calculation in an increasing Data Set

I was asked a question by one of my colleagues in another team:
In a table with increasing number of rows and that too in an increasing order of Id Keys- 1,2, ....3000... 12000 .... 50000..............
We have a column age.
And we have a query:
select avg(age) from <tablename> ; 
This query is increasingly taking a longer time
How to optimize it.
I guessed that we might need some  sort of partitioning or additional grouping but I am not fully sure
as to that would be the best solution.
What do you say?

I was asked a question by one of my colleagues in another team:
In a table with increasing number of rows and that too in an increasing order of Id Keys- 1,2, ....3000... 12000 .... 50000..............
We have a column age.
And we have a query:
select avg(age) from <tablename> ;
This query is increasingly taking a longer time
How to optimize it.
I guessed that we might need some  sort of partitioning or additional grouping but I am not fully sure
as to that would be the best solution.
What do you say?
I say it sounds like an interview question to me!
A question like that is often ask to see how (or if) a person thinks before answering.
Will they just blindly try to privide an answer?
Are they willing to ask questions to clarify the question being ask?
Will they ask questions to try to understand the actual requirements?
1. No one stores AGE in a database. Someone's age changes everyday so 'age' is a total meaningles piece of data. A data element like 'age at death' is meaninful and does NOT change. It can be meaningful because it protects potentially sensitive information like birth date and death date.
2. Neither the questioner nor you have presented ANY INFO indicating that any query needs to be optimized. Of course a query on an increasing amount of data will take an 'increasingly' longer amount of time. That should be obvious. If someone asks you to count to 100 won't  that take MORE TIME than counting to 95?
3. A simple query like 'SELECT AVG(age)' does NOT need to be optimized - certainly not based on any info you provided. That AVG function may be part of a larger, more compliex, query and maybe that 'other' query needs to be tuned.
Your 'colleague' is either 'testing' you or 'playing' with you.
If it ain't broke, don't fix it.
The first step is to VERIFY that a problem actually exists. That means test and get PROOF that the query is taking longer than before and measure HO MUCH longer it is taking. As noted above if there is more data then a query MUST TAKE LONGER - that is a simple fact. That doesn't mean there is any tuning to be done.
Only after you verify that a problem actually exists do you start looking for solutions.

Similar Messages

  • Calculate average for some dates

    Hi,
    I would like to calculate average for some dates. Is there any function module or any process, please provide me.
    venkat.

    Use this FM HR_HK_DIFF_BT_2_DATES
    Example:
    DATA: DATE1 type P0001-BEGDA,
              DATE2 type P0001-BEGDA,
    YEARS type P0347-SCRYY,
    MONTHS type P0347-SCRMM,
    DAYS type P0347-SCRDD.
    DATE1 = '20070331'.
    DATE2= '20070101'.
    CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES'
    EXPORTING
    DATE1 = date1
    DATE2 = date2
    OUTPUT_FORMAT = '03'
    IMPORTING
    YEARS = years
    MONTHS = months
    DAYS = days
    EXCEPTIONS
    INVALID_DATES_SPECIFIED = 1
    OTHERS = 2
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Joan

  • SUM(Case how to use this structure to get average values over date range

    I am using:
    Oracle SQL Developer (3.0.04) Build MAin-04.34 Oracle Database 11g Enterprise Edition 11.2.0.1.0 - 64bit Production
    How do I use the sum function with a case structure inside.
    so I have data that looks like has an ID, date, and value. I am looking to get the 7 day average for the date range of 4/1/2013 thru 4/20/2013
    with t as (
    select 1 ID_Key,to_date('4/1/2013','mm-dd-yyyy') date_val, 10 Value_num from dual union all
    select 1 ID_key,to_date('4/2/2013','mm-dd-yyyy'), 15 from dual union all
    select 1 ID_key,to_date('4/3/2013','mm-dd-yyyy'), 20 from dual union all
    select 1 ID_key,to_date('4/5/2013','mm-dd-yyyy'), 0 from dual union all
    select 1 ID_key,to_date('4/8/2013','mm-dd-yyyy'), 12 from dual union all
    select 1 ID_key,to_date('4/9/2013','mm-dd-yyyy'), 8 from dual union all
    select 1 ID_key,to_date('4/10/2013','mm-dd-yyyy'), 6 from dual union all
    select 1 ID_key,to_date('4/12/2013','mm-dd-yyyy'), 10 from dual union all
    select 1 ID_key,to_date('4/13/2013','mm-dd-yyyy'), 0 from dual union all
    select 1 ID_key,to_date('4/14/2013','mm-dd-yyyy'), 0 from dual union all
    select 1 ID_key,to_date('4/15/2013','mm-dd-yyyy'), 10 from dual union all
    select 1 ID_key,to_date('4/16/2013','mm-dd-yyyy'), 5 from dual union all
    select 1 ID_key,to_date('4/17/2013','mm-dd-yyyy'), 2 from dual union all
    select 1 ID_key,to_date('4/20/2013','mm-dd-yyyy'), 3 from dual union all
    select 2 ID_key,to_date('4/3/2013','mm-dd-yyyy'), 12 from dual union all
    select 2 ID_key,to_date('4/5/2013','mm-dd-yyyy'), 15 from dual union all
    select 2 ID_key,to_date('4/6/2013','mm-dd-yyyy'), 5 from dual union all
    select 2 ID_key,to_date('4/7/2013','mm-dd-yyyy'), 7 from dual union all
    select 2 ID_key,to_date('4/9/2013','mm-dd-yyyy'), 10 from dual union all
    select 2 ID_key,to_date('4/11/2013','mm-dd-yyyy'), 5 from dual union all
    select 2 ID_key,to_date('4/12/2013','mm-dd-yyyy'), 0 from dual union all
    select 2 ID_key,to_date('4/13/2013','mm-dd-yyyy'), 0 from dual union all
    select 2 ID_key,to_date('4/15/2013','mm-dd-yyyy'), 6 from dual union all
    select 2 ID_key,to_date('4/16/2013','mm-dd-yyyy'), 8 from dual union all
    select 2 ID_key,to_date('4/17/2013','mm-dd-yyyy'), 0 from dual union all
    select 2 ID_key,to_date('4/18/2013','mm-dd-yyyy'), 10 from dual union all
    select 2 ID_key,to_date('4/19/2013','mm-dd-yyyy'), 5 from dual
    )**Please let me know if the table does not load.
    I would like to get the 7 day average as long as there is date for that row has enough previous dates, it not then it will return null.
    the results should look like this
    ID_Key      date_val     Value_num     7Day_Avg     7Day_Avg2
    1     4/1/2013     10          null          null
    1     4/2/2013     15          null          null
    1     4/3/2013     20          null          null
    1     4/5/2013     0          null          null
    1     4/8/2013     12          6.71          11.75
    1     4/9/2013     8          5.71          10.00
    1     4/10/2013     6          3.71          6.50
    1     4/12/2013     10          5.14          9.00
    1     4/13/2013     0          5.14          7.20
    1     4/14/2013     0          5.14          6.00
    1     4/15/2013     10          4.86          5.67
    1     4/16/2013     5          4.42          5.17
    1     4/17/2013     2          3.85          4.50
    1     4/20/2013     3          2.86          4.00
    2     4/3/2013     12          null          null
    2     4/5/2013     15          null          null
    2     4/6/2013     5          null          null
    2     4/7/2013     7          5.57          9.75
    2     4/9/2013     10          7.00          9.80
    2     4/11/2013     5          6.00          8.40
    2     4/12/2013     0          3.86          5.40
    2     4/13/2013     0          3.14          4.40
    2     4/15/2013     6          3.00          4.20
    2     4/16/2013     8          2.71          3.80
    2     4/17/2013     0          2.71          3.17
    2     4/18/2013     10          3.43          4.00
    2     4/19/2013     5          4.14          4.83As you may notice, there are gaps in the dates, so the value are then treated as zeros for the 7Day_Avg and then ignored for teh 7Day_Avg2 (not counted as number of days averaged do to no valu_num row)
    I was trying something like this to start, but getting error "missing keyword"
    select
    t.*/,
    sum(
          case
            when date_val between :day2 - 6 and :day2
            then value_num between date_val - 6 and date_val
            else null
            end
            as 7Day_avg
    form tShould I have the case structure outside the sum function?
    Any thoughts??
    Edited by: 1004407 on Jun 7, 2013 11:06 AM

    Hi,
    If you want the average of the last 7 days, including the current day, then then RANGE should be 6 PRECEDING, not 7.
    Try this:
    WITH     got_min_date_val AS
            SELECT  id_key, date_val, value_num
            ,       MIN (date_val) OVER () AS min_date_val
            FROM    t
            WHERE  date_val BETWEEN TO_DATE ('04-01-2013', 'mm-dd-yyyy')
                             AND   TO_DATE ('04-20-2013', 'mm-dd-yyyy')
    SELECT    id_key, date_val, value_num
    ,         CASE
                  WHEN  date_val >= min_date_val + 6
                  THEN  SUM (value_num) OVER ( PARTITION BY  id_key
                                               ORDER BY      date_val
                                               RANGE         6 PRECEDING
                        / 7
              END  AS avg_7_day
    ,         CASE
                  WHEN  date_val >= min_date_val + 6
                  THEN  AVG (value_num) OVER ( PARTITION BY  id_key
                                               ORDER BY      date_val
                                               RANGE         6 PRECEDING
              END   AS avg_7_day_2
    FROM      got_min_date_val
    ORDER BY  id_key
    ,         date_val
    Output:
       ID_KEY DATE_VAL   VALUE_NUM  AVG_7_DAY  AVG_7_DAY_2
             1 01-APR-13         10
             1 02-APR-13         15
             1 03-APR-13         20
             1 05-APR-13          0
             1 08-APR-13         12       6.71        11.75
             1 09-APR-13          8       5.71        10.00
             1 10-APR-13          6       3.71         6.50
             1 12-APR-13         10       5.14         9.00
             1 13-APR-13          0       5.14         7.20
             1 14-APR-13          0       5.14         6.00
             1 15-APR-13         10       4.86         5.67
             1 16-APR-13          5       4.43         5.17
             1 17-APR-13          2       3.86         4.50
             1 20-APR-13          3       2.86         4.00
             2 03-APR-13         12
             2 05-APR-13         15
             2 06-APR-13          5
             2 07-APR-13          7       5.57         9.75
             2 09-APR-13         10       7.00         9.80
             2 11-APR-13          5       6.00         8.40
             2 12-APR-13          0       3.86         5.40
             2 13-APR-13          0       3.14         4.40
             2 15-APR-13          6       3.00         4.20
             2 16-APR-13          8       2.71         3.80
             2 17-APR-13          0       2.71         3.17
             2 18-APR-13         10       3.43         4.00
             2 19-APR-13          5       4.14         4.83
    Message was edited by: FrankKulash
    Sorry; I meant to reply to OP, not to Greg

  • How to average live output data from a 4 - 20 mA source?

    Hi,
    I am very new to the world of LabView and I am looking for some help. I am trying to write a code that I can use in the testing of heat pump water heaters. I have gotten my code to a point where I can read in my temperature and flow rates, and calculate the BTU/hr for my heat pumps, but I want to be able to average my BTU/hr so my data isn't as noise. I would really like to be able to have my code take in say 200 samples of data and create a live average that I can display on a graph. I have tried many different kinds of mean.vi's using different loops and arrays, but I haven't come up with anything that works right. Most likely I am an idiot and doing this all wrong anyways, but some help would be greatly. Please see my attached code.
    Attachments:
    Test Stand for Forum.vi ‏197 KB

    I have removed the True from the initialize node on the block. I am still getting the same value for the mean as I am for the live data. I have let the system sample the correct number of times for the sample on the mean as well. Does this have to do with the way I am viewing the output of the mean block or am I doing something else wrong? I am testing this out on a simplied code and getting the same results as well. Could you please take a look at the attached code to see if I have everything wired set up correctly? Thanks so much for all the help so far too!
    Attachments:
    Simple Test Code 1.vi ‏22 KB
    Simple Code 1.JPG ‏22 KB

  • Average cycles of data

    Hi, there,
    My problem is as follows:
    I have a PCI DAQ card. I need to read two set of sychornized values. One set is a periodic waveform data (wave 1, say triangular waveform) the other set (wave2) is actually the signal in response to the triangular waveform from my hardware.
    Since the data is periodic, I want to average the data captured in different cycles so that the noise will be greatly reduced.
    The user can specify how many cycles of the waveform are required in the user-interface.
    My question is
    In order to average the cycle I need to find a way to differentiate individual cycle 1st. So in this case of a triangular wave, may I know what is the best way to extract each individual waveform cycle (wave1)and the corresponding data points in wave2?
    Rgds,
    Jacob

    Jacob,
    Thank you for posting to the NI forums.  There are several ways you could approach this problem.  One pretty straightforward way would be to use software techniques to split up the waveform into periods.  For example you could use the Extract Single Tone Information.vi to determine the period of each cycle.  Then using this period information you could use the Get Waveform Subset.vi to extract single cycles from the waveform.  Let me know if you have any questions about using this approach.
    Regards,
    Neil S.
    Applications Engineer
    National Instruments

  • Performace tuning: how to pass data between different batch job programs?

    Hi everyone,
        now i have one problem about performance tuning using threading in SAP programs: split one big program into two programs - one is main program and the other is sub program. using batch jobs, we can submit multi jobs of sub program at the same time.
        does anybody know how to pass data between different batch jobs? I don't want to use temp files. can ABAP memory can implement this?
        thanks!

    Wei,
    Yes we can transfer the data by using
    SAP Memory OR ABAP Memory.
    Ex:  V_count TYPE i.
      V_count = 100.
    LOOP AT  itab.
    IF v_count EQ 25.
    Here For every batch job
      EXPORT data TO MEMORY ID 'ABC'
       Function module
        JOB_OPEN
       JOB_SUBMIT
       JOB_CLOSE.
      ENDIF.
    ENDLOOP .
    IN your 2nd program.
    INITIALIZATION.
    IMPORT data FROM MEMORY IF 'ABC'.
    FREE memory if .---When you free the memory you will get recent data.
    Don't forget to reward if useful.

  • Using average days between dates to predict a launch date on another produc

    I hope someone might be able to help me out here.
    I am at the limit of my Webi expertise! (which is not saying a lot)
    We have a universe containing date information relating to the launch of products thus:
    Product Name
    Supplier Name
    Category
    Sample Availability Date
    Testing Start Date
    Launch Go Date
    It is a simple matter to create a variable u2018Project Timeu2019 as DaysBetween(Testing Start Date;Launch Go Date)
    And using the Average function we can create Average Project Length - Also with the Report, and Section keywords we can show the global average, and averages by Supplier and Category.
    Here is my problem.
    We also have Products in the universe that have yet to have their projects kicked off, so Testing Start Date and Launch Go Date for those products are null data. I want to use the Sample Availability Date and the Average Project Length variable to predict the probable Launch Go date, however, in the report this element shows up as an empty cell.
    Does anyone have an idea how I might achieve this?
    Many Thanks
    Mark

    OK...
    Lets imagine there are records for 100 devices in the universe.  75 of them have valid project start dates and launch dates.  25 of them have neither because those projects are yet to start.  However they do have a sample availability date.
    Using the DaysBetween function I can create a variable called project length from the start and launch dates.  I can then use the Average function to get the average project length (for the devices that actually have a project length)
    Somehow I want to add this average project length to the sample availability date on the records that have yet to have a start date.
    As projects end they will add to the average, and we can see how close they were to the predicted launch. As new records are added they will automatically have a predicted date.
    Right now I have the average project length, If I create a table filtering on completed projects (Projects with a non-null launch date) and I add a column showing average project length, because I've used the In Report keyword on the average, it shows the average value in this table.
    If I have a stand-alone cell with the average project length it shows the right value
    But if I have a table showing the devices yet to start (filtering on Null start date) If I add the average project length into that table it shows as blank (I.e. no value at all)
    Hope this helps

  • Averaging column with date/time format in BI Answer

    Hi everyone
    we are working on BI answer and training to get the average of the working hours of the departments. The Working Hrs column is Date format in the Database so we tried to converted to CHAR through Cast Function from Edit columns Formula in Answers BI, and this gave us date "2007/09/01" as result!! We also tried to cast the Working hours to:
    CAST(WORKING HOURS AS CHARACTER FORMAT 'yyyyMMdd-HHmmss')
    NOTE: In the Working Hours we have null values...
    the actual working hours appear in Answer Table is "7/1/2009 6:13:00 AM"
    How to get the Working Hours column Average on Answer BI?
    Appreciate your help
    Regards
    Edited by: user817525 on Jul 21, 2009 11:15 PM

    how about next solution:
    60 * EXTRACT( HOUR FROM ATTENDANCES.A_ATT_TIME) + EXTRACT( MINUTE FROM ATTENDANCES.A_ATT_TIME)
    with this u have minutes for working day. If u divide this expression with 60:
    (60 * EXTRACT( HOUR FROM ATTENDANCES.A_ATT_TIME) + EXTRACT( MINUTE FROM ATTENDANCES.A_ATT_TIME)) / 60
    u now have hour with decimal (for 8:52 is (8*60+52)/60 = 8,67 )
    and u only need to round this number.I hope this help
    ps.when u have new question probably is good way to create new thread
    all best
    Phenix
    Edited by: Phenix on Aug 5, 2009 8:01 AM

  • Need to average real time data

    I have a sensor that sends 1000 samples per second, The signal is very noisey. I would like a Vi that can read these samples from DAQ6009 and average them out (probably take 10 samples then average, then take next 10 and average and so on). I need to graph the averages and also I need to generate an on/off signal through the DAQ based on the results.

    Hello,
    I would advise starting off with the "Cont Acq&Graph Voltage-Int Clk.vi" example which can be found in the example finder under Hardware Input and Output > DAQmx > Analog Measurements > Voltage. Here you can experiment with acquiring your sensor data and graphing it. Once you are successfully acquiring this in the manner which you desire, you can begin to look at the post processing stage and subsequent output signals.
    Kind Regards,
    Paul
    http://www.paulharris.engineering

  • Average in Results row in calculation properties for Bex Key figure does not work in Analysis for Office 1.4.7

    We are moving from Bex 3.5 to Bex 7.0 and using Analysis for Office 1.4.7
    We have queries that do an average for the results rows of dynamic calculations and the queries will not open in Analysis for Office 1.4.7 (example is below)
    We get an error message that can be found below
    We were able to open the queries in Analysis 1.4.5 with the correct results.
    We do not understand why it worked in an older version and not the new one.
    Is there something missing in the version 1.4.7 of Analysis for Office that is preventing our queries from running?
    We do not want to move back to 1.4.5 because the performance is better in 1.4.7.
    Help.....

    Hi Patty,
    I just checked 1.4.7 by making "Calculate Results As.." for Key figure and formula to Average(and also tried others as well). No error is coming in Analysis Office. reason might be because of other reason
    Any way, As Tammy Powlas suggested can you check with SP8

  • Average betweeen two dates

    Hi All
    I have five different adte fields:
    DateA Date B DateC DateD DateE
    How can i find the average number of days between any two given date fields?
    Thanks All

    Thanks,
    When i tried to implement the solution: trinc(date1)-trunc(date2), i'm getting mismatch invalid datatypes, but both the dates are of the same datatype VARCHAR2-10?
    Any ideas?

  • What are the AM Tuning parameters need to be set for 500 concurrent users

    Hi All,
    We are using JDEVADF_11.1.1.5.0.
    What are the exact AM parameters(Pooling and Scalability tab) to be set when we planned for 500+ concurrent users?
    Along with this do we need to set any parameters at weblogic server level, if any please give inputs.
    Any input's would be appreciated.
    Thanks in advance.
    Regards,
    Dinesh

    We can?t give you exact numbers as there are many factors influencing the performance. In hte end you have to make a load test to find the right set of parameters. A good starting point is Andrejus's blog Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Internal Connections and  Andrejus Baranovskis's Blog: Stress Testing Oracle ADF BC Applications - Do Connection Pooling and TXN Disconnect Level
    Timo

  • Performance tuning for extraction of data from MSEG table

    Hello experts,
    I m trying to extract data via select query from MSEG table based on non-primary keys, which affects my performance.
    Below is my select query  :
    SELECT SINGLE menge
    FROM mseg
    INTO w_rejqty
    WHERE ebeln = it_mseg-ebeln AND
          ebelp = it_mseg-ebelp AND
          bwart = '122'.   
    Kindly suggest some alternative way for it apart from creating secondary index on table MSEG which would be my last option because already four secondary index are created in my present situation and also is it advisable to create fifth secondary index for my problem?? Would it affect my database performance?
    Thanks in advance
    Raj

    Hi Raj,
    is that possible to use this query below ? You might ask to Functional whether is possible or not.
    SELECT SINGLE belnr gjahr buzei INTO w_ekbe FROM ekbe
        WHERE ebeln = it_mseg-ebeln
        AND     ebelp = it_mseg-ebelp
    SELECT SINGLE menge FROM mseg INTO w_rejqty
       WHERE mblnr EQ w_ekbe-belnr
       AND   mjahr EQ w_ekbe-gjahr
       AND   zeile EQ w_ekbe-buzei
    Best Regards
    Fernand

  • Average of the dates in a column.

    Hello Oracle Gurus,
    I am having a problem. I have a table with 2 columns. One is the feed arrival time and one is the feed name.I want to find out the average feed arrival time of all the feed.
    To explain it better suppose there are 2 feeds feed 1, feed 2, feed 3 which I receive every day and I have a table with corresponding time_stamp at which the feed arrived. I want to find out the average time of the day at which each feed arrived during a month.
    Is there any possible way to do this?
    Thanks
    Abs

    I think my query works in this case..
    with t
    as
    SELECT TO_CHAR(TO_DATE('2/3/2009 3:12:00 AM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')     FEED_ARRIVAL  , '1FG1'     FEED_CODE   FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/4/2009 3:47:00 AM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1FG1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/5/2009 4:07:00 AM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1FG1'                 FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/6/2009 3:53:00 AM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1FG1'                 FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/7/2009 3:58:00 AM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1FG1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/2/2009 7:39:00 PM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1TR1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/3/2009 7:39:00 PM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1TR1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/4/2009 7:41:00 PM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1TR1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/5/2009 7:43:00 PM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1TR1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/6/2009 7:43:00 PM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1TR1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/9/2009 7:42:00 PM' ,'MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1TR1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/2/2009 10:20:00 PM','MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1DE1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/3/2009 10:58:00 PM','MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1DE1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/4/2009 10:45:00 PM','MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                    , '1DE1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/5/2009 10:46:00 PM','MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1DE1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/6/2009 10:37:00 PM','MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1DE1'              FROM DUAL UNION ALL
    SELECT TO_CHAR(TO_DATE('2/9/2009 10:42:00 PM','MM/DD/YYYY HH:MI:SS AM'),'SSSSS')                                        , '1DE1'              FROM DUAL
    select TO_CHAR(TO_DATE(AVG (DISTINCT FEED_ARRIVAL),'SSSSS'),'HH24:MI:SS'), FEED_CODE
    from t
    GROUP BY FEED_CODE
    order by FEED_CODE
    TO_CHAR( FEED
    22:41:20 1DE1
    03:47:24 1FG1
    19:41:15 1TR1
    3 rows selected.

  • Performance Tuning, Threads are waiting to get connection as load increases

    Please help.....
    We are tuning our application performance. When we do a load test for 300 users we are getting very good response time with few(4 or 5 ) failed transaction and from the weblogic logs I can see The Network Adapter could not get any connection to the database error. When we increase the load to 450 users we see this error a lot and our response time is also very bad. We don't see any issue from the database server. Database server is not overloaded at all. Thread dumps shows up all the threads are in Runnable and waiting to open a socket to establish connection to the database. Please find the dump for one of the thread and most of the threads are doing the same.
    "ExecuteThread: '13' for queue: 'StaticContentAppQueue'" daemon prio=3 tid=0x00ac4328 nid=0x19 runnable [6cd7c000..6cd7fc28]
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         - locked <0x86d59ad0> (a java.net.PlainSocketImpl)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:124)
         at oracle.net.nt.TcpNTAdapter.connect(Unknown Source)
         at oracle.net.nt.ConnOption.connect(Unknown Source)
         at oracle.net.nt.ConnStrategy.execute(Unknown Source)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
         at oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
         at oracle.net.ns.NSProtocol.connect(Unknown Source)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:702)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:228)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:205)
         at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:138)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1181)
         at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1111)
         at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:368)
         at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:470)
         at weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:387)
         at weblogic.jdbc.common.internal.ConnectionPoolManager.reserve(ConnectionPoolManager.java:81)
         at weblogic.jdbc.jts.Driver.newConnection(Driver.java:729)
         at weblogic.jdbc.jts.Driver.createLocalConnection(Driver.java:199)
         at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
         at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:329)
         at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
         at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:360)
         at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:122)
         at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:105)
         at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1561)
         at org.hibernate.loader.Loader.doQuery(Loader.java:661)
         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
         at org.hibernate.loader.Loader.doList(Loader.java:2145)
         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
         at org.hibernate.loader.Loader.list(Loader.java:2024)
         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
         at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1129)
         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
         at com.wipro.j2ee.tools.plugin.orm.hibernate.ORMHibernate.executeReadAllByNamedQuery(Unknown Source)
         at com.proquest.pbs.epc.mace.dao.BookmarkORM.getTemporaryBookmarkNames(Unknown Source)
         at com.proquest.pbs.epc.mace.appservice.BookmarkManagerBean.getTemporaryBookmarkNames(Unknown Source)
         at com.proquest.pbs.epc.mace.appservice.BookmarkManagerBean_3p2kww_EOImpl.getTemporaryBookmarkNames(BookmarkManagerBean_3p2kww_EOImpl.java:826)
         at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.mule.model.DynamicEntryPoint.invokeCurrent(DynamicEntryPoint.java:168)
         at org.mule.model.DynamicEntryPoint.invoke(DynamicEntryPoint.java:90)
         at org.mule.impl.DefaultLifecycleAdapter.onCall(DefaultLifecycleAdapter.java:177)
         at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:232)
         at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:53)
         at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:230)
         at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
         at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
         at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:152)
         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:124)
         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
         at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:100)
         at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:168)
         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:590)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:568)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:524)
         at com.wipro.j2ee.tools.plugin.esb.ESBApplicationService.processESBRequest(ESBApplicationService.java:45)
         at com.proquest.pbs.epc.mace.facade.BookmarkFacadeBean.getTemporaryBookmarkNames(Unknown Source)
         at com.proquest.pbs.epc.mace.facade.BookmarkFacade_s7wemo_EOImpl.getTemporaryBookmarkNames(BookmarkFacade_s7wemo_EOImpl.java:826)
         at sun.reflect.GeneratedMethodAccessor237.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.mule.model.DynamicEntryPoint.invokeCurrent(DynamicEntryPoint.java:168)
         at org.mule.model.DynamicEntryPoint.invoke(DynamicEntryPoint.java:90)
         at org.mule.impl.DefaultLifecycleAdapter.onCall(DefaultLifecycleAdapter.java:177)
         at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:232)
         at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:53)
         at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:230)
         at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
         at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
         at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:152)
         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:124)
         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
         at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:100)
         at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:168)
         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:590)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:568)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:524)
         at com.wipro.j2ee.tools.plugin.esb.ESBApplicationService.processESBRequest(ESBApplicationService.java:45)
         at com.proquest.pbs.epc.mace.controller.BookmarkHandler.process(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.RequestProcessor.process(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.Controller.postFilterProcess(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.Controller.onFiltersApplied(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.FilterChain.doFilter(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.Controller.process(Unknown Source)
         at com.wipro.j2ee.subframework.businesslogic.impl.BLFControllerBean.process(Unknown Source)
         at com.wipro.j2ee.subframework.businesslogic.impl.BLFControllerHome_fvenxt_EOImpl.process(BLFControllerHome_fvenxt_EOImpl.java:46)
         at sun.reflect.GeneratedMethodAccessor161.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.mule.model.DynamicEntryPoint.invokeCurrent(DynamicEntryPoint.java:168)
         at org.mule.model.DynamicEntryPoint.invoke(DynamicEntryPoint.java:90)
         at org.mule.impl.DefaultLifecycleAdapter.onCall(DefaultLifecycleAdapter.java:177)
         at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:232)
         at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:53)
         at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:230)
         at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
         at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
         at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:152)
         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:124)
         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
         at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:100)
         at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:168)
         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:590)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:568)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:524)
         at com.wipro.j2ee.tools.plugin.esb.ESBApplicationService.processESBRequest(ESBApplicationService.java:45)
         at com.proquest.pbs.epc.web.utils.AbstractDelegate.handleEvent(Unknown Source)
         at com.proquest.pbs.epc.mace.delegate.BookmarkDelegate.getTemporaryBookmarkNames(Unknown Source)
         at com.proquest.pbs.mace.bookmark.bus.BookmarkMenuItemBuilder.buildMenuItems(Unknown Source)
         at com.proquest.pbs.mace.control.menu.MenuBuilder.buildMenu(Unknown Source)
         at com.proquest.pbs.mace.web.core.AppReentryInitializer.reenter(Unknown Source)
         at com.proquest.pbs.mace.web.reentry.AbstractReentryController.invokeInitializer(Unknown Source)
         at com.proquest.pbs.mace.web.reentry.AbstractReentryController.invokeLicensedInitializers(Unknown Source)
         at com.proquest.pbs.mace.web.reentry.ReentryController.handleRequestInternal(Unknown Source)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
         at com.proquest.pbs.mace.servlet.AbstractMaceServlet.doService(Unknown Source)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6985)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

    Jagan Krishnaraj wrote:
    Thanks Joe, Thanks for your help. We have passed that problem, but this is what
    we are seeing our most of threads are doing. Can you please give any input on this.Good, glad to help. As to your current bottleneck, this is
    very likely to be a synchronization (probably needed) in
    the hibernate code. Are all these threads trying to do the
    same thing, the same ReadAll()? I would investigate whether
    1 - You really have to repeat this same operation independently
    all the time from lots of threads (eg: can you cache and reuse
    data?), and
    2 - whether there is a hibernate configuration option that
    relaxes the restriction in SoftLimitMRUCache.
    HTH,
    Joe Weinstein at BEA Systems
         at org.hibernate.util.SoftLimitMRUCache.get(SoftLimitMRUCache.java:51)
         - waiting to lock <0x86f90740> (a org.hibernate.util.SoftLimitMRUCache)
         at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:65)
         at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:134)
         at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:113)
         at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1602)
         at com.wipro.j2ee.tools.plugin.orm.hibernate.ORMHibernate.executeReadAll(Unknown Source)
         at com.proquest.pbs.epc.gmna.dao.GmnaNavORM.getMakes(Unknown Source)
         at com.proquest.pbs.epc.gmna.appservice.GmnaNavManagerBean.getMakes(Unknown Source)
         at com.proquest.pbs.epc.gmna.appservice.GmnaNavManagerBean_8c1mhy_EOImpl.getMakes(GmnaNavManagerBean_8c1mhy_EOImpl.java:150)
         at sun.reflect.GeneratedMethodAccessor305.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.mule.model.DynamicEntryPoint.invokeCurrent(DynamicEntryPoint.java:168)
         at org.mule.model.DynamicEntryPoint.invoke(DynamicEntryPoint.java:90)
         at org.mule.impl.DefaultLifecycleAdapter.onCall(DefaultLifecycleAdapter.java:177)
         at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:232)
         at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:53)
         at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:230)
         at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
         at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
         at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:152)
         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:124)
         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
         at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:100)
         at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:168)
         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:590)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:568)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:524)
         at com.wipro.j2ee.tools.plugin.esb.ESBApplicationService.processESBRequest(ESBApplicationService.java:45)
         at com.proquest.pbs.epc.gmna.facade.GmnaNavFacadeBean.getMakes(Unknown Source)
         at com.proquest.pbs.epc.gmna.facade.GmnaNavFacadeBean_s9py0w_EOImpl.getMakes(GmnaNavFacadeBean_s9py0w_EOImpl.java:150)
         at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.mule.model.DynamicEntryPoint.invokeCurrent(DynamicEntryPoint.java:168)
         at org.mule.model.DynamicEntryPoint.invoke(DynamicEntryPoint.java:90)
         at org.mule.impl.DefaultLifecycleAdapter.onCall(DefaultLifecycleAdapter.java:177)
         at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:232)
         at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:53)
         at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:230)
         at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
         at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
         at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:152)
         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:124)
         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
         at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:100)
         at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:168)
         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:590)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:568)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:524)
         at com.wipro.j2ee.tools.plugin.esb.ESBApplicationService.processESBRequest(ESBApplicationService.java:45)
         at com.proquest.pbs.epc.gmna.controller.GmnaNavHandler.process(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.RequestProcessor.process(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.Controller.postFilterProcess(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.Controller.onFiltersApplied(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.FilterChain.doFilter(Unknown Source)
         at com.wipro.j2ee.utils.controller.impl.Controller.process(Unknown Source)
         at com.wipro.j2ee.subframework.businesslogic.impl.BLFControllerBean.process(Unknown Source)
         at com.wipro.j2ee.subframework.businesslogic.impl.BLFControllerHome_fvenxt_EOImpl.process(BLFControllerHome_fvenxt_EOImpl.java:152)
         at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.mule.model.DynamicEntryPoint.invokeCurrent(DynamicEntryPoint.java:168)
         at org.mule.model.DynamicEntryPoint.invoke(DynamicEntryPoint.java:90)
         at org.mule.impl.DefaultLifecycleAdapter.onCall(DefaultLifecycleAdapter.java:177)
         at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:232)
         at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:53)
         at org.mule.impl.model.DefaultMuleProxy.onCall(DefaultMuleProxy.java:230)
         at org.mule.impl.model.seda.SedaComponent.doSend(SedaComponent.java:209)
         at org.mule.impl.model.AbstractComponent.sendEvent(AbstractComponent.java:277)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:201)
         at org.mule.routing.inbound.InboundMessageRouter.send(InboundMessageRouter.java:152)
         at org.mule.routing.inbound.InboundMessageRouter.route(InboundMessageRouter.java:124)
         at org.mule.providers.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:486)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:277)
         at org.mule.providers.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:231)
         at org.mule.providers.vm.VMMessageReceiver.onCall(VMMessageReceiver.java:100)
         at org.mule.providers.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:168)
         at org.mule.providers.AbstractMessageDispatcher.send(AbstractMessageDispatcher.java:166)
         at org.mule.impl.MuleSession.sendEvent(MuleSession.java:191)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:590)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:568)
         at org.mule.extras.client.MuleClient.send(MuleClient.java:524)
         at com.wipro.j2ee.tools.plugin.esb.ESBApplicationService.processESBRequest(ESBApplicationService.java:45)
         at com.proquest.pbs.epc.web.utils.AbstractDelegate.handleEvent(Unknown Source)
         at com.proquest.pbs.epc.gmna.delegate.GmnaNavDelegate.getMakes(Unknown Source)
         at com.proquest.pbs.epc.gmna.delegate.GmnaNavDelegate.getNavData(Unknown Source)
         at com.proquest.pbs.mace.nav.web.NavDelegate.getNavData(Unknown Source)
         at com.proquest.pbs.mace.nav.web.NavController.navigate(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:370)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:326)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at com.proquest.pbs.mace.web.AbstractFunctionRouter.route(Unknown Source)
         at com.proquest.pbs.mace.web.AbstractFunctionRouter.route(Unknown Source)
         at com.proquest.pbs.mace.web.FunctionRouter.defaultAction(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.invokeNamedMethod(MultiActionController.java:370)
         at org.springframework.web.servlet.mvc.multiaction.MultiActionController.handleRequestInternal(MultiActionController.java:326)
         at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
         at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
         at com.proquest.pbs.mace.servlet.AbstractMaceServlet.doService(Unknown Source)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7051)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

Maybe you are looking for

  • How can I use the photos from iphoto to display in contacts?

    Contacts has a space for a photo.  At one time I knew how to populate this space with photos from iPhoto. Currently my choices are to use an icon or take a pic with the camera. How can I add the photos from iPhoto to the choices for populating the "C

  • My Ipod will not sync to my computer.

    My Ipod will not sync to my computer. There have been several pop ups saying that my Ipod Is unable to sync.It also says i don't have the correct disc? I don't know what that means. I have tried unplugging my ipod multiple times to see if it will syn

  • Why is the video so dark when using 'Hello' video calls?

    HI, I have used 'Hello' on 4 computers this week to trial it. For each of them the video is very dark. When I open AnyMeeting on the same computers the video output is might lighter. Can anyone tell me why this is and/or how to change the Hello setti

  • As a DVD player

    My DVD pkayer just crapped out. I am going to byuy a new player should I condiser a Mini to play that role? I have wireless in the house can I then hook up to my network also? Primary is DVD player secondary would be network. It will be hooked to 52

  • EAP Chaining with Cisco ACS 5.x and the Cisco Anyconnect NAM Client

    Hi Guys, Whilst I'm well aware of the limitations of the built in the windows Wireless 802.1x supplicant. Is there a way, using the NAM client to authenticate both a computer and a user simultaneously, when used for authentication to wireless network