Query executing multiple times

All,
This question has been come up quite often in the OTN forum and i have not managed to get the answer. The issue is when i enable the logs i can see query getting fired multiple times :
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> ----[Exec query for VO=Kpi, RS=<Default>]----
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> ----[Exec COUNT query for VO=Kpi]----
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> VODef =com.xxx.model.uiView.KpiVO
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> SELECT
kpi.kpi,
kpi.kpi_desc,
kpi.target,
kpi_pkg.get_kpi_main (kpi.kpi, kpi.sale_type, :bSelectedSalesExecutiveId, :bSelectedBranchId ,:bOperatingUnitId, :bUserRole, :bPersonId, :bKpiRefresh) achieved,
kpi.percentage,
kpi.sale_type
FROM    tableName kpi   
WHERE  kpi.sale_type = NVL (:bSaleType, kpi.sale_type)
ORDER BY tag
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> BindVars:(bUserRole=SE,bOperatingUnitId=81,bPersonId=31458,bSaleType=RETAIL,bSelectedBranchId=224,bSelectedSalesExecutiveId=31458,bKpiRefresh=Y)
<TracingViewObjectSqlQueryExecution> <getQueryHitCount> ***** Query Hit Count = 6 *****
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> VODef =com.xxx.model.uiView.KpiVO
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> SELECT
kpi.kpi,
kpi.kpi_desc,
kpi.target,
kpi_pkg.get_kpi_main (kpi.kpi, kpi.sale_type, :bSelectedSalesExecutiveId, :bSelectedBranchId ,:bOperatingUnitId, :bUserRole, :bPersonId, :bKpiRefresh) achieved,
kpi.percentage,
kpi.sale_type
FROM    tableName kpi   
WHERE  kpi.sale_type = NVL (:bSaleType, kpi.sale_type)
ORDER BY tag
<TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> BindVars:(bUserRole=SE,bOperatingUnitId=81,bPersonId=31458,bSaleType=RETAIL,bSelectedBranchId=224,bSelectedSalesExecutiveId=31458,bKpiRefresh=Y)This is one such case. These repetitive nature of the queries getting executed is making my application slow. On the logs i can see the first time query getting executed then waiting for it to finish then the same for the second time. Can any one give some inputs on this ?
thnks
Jdev 11.1.1.5

thnks Frank for your reply.
Ideally this query is supposed to run when the page is loaded however it has a complex calculation which takes 28 secs to complete. In order to load the page fast we dragged and dropped the collection as a table and added a button which executes the query. So the query gets executed on page load with a condition set as false so that no data is fetched - to speed the page load. However when we press the Refresh button the query gets re executed but as you can see 2 times. I can see the same effect on a nos of tables.

Similar Messages

  • SQL Query Executing longer time

    Hi , The below SQL query executing longer time . Please help to Improve the query performance. The query continuously running for more than 24 hours and failing with roolback segment error. Not getting the final output. Most of the tables are having milions of records.
    Select distinct
    IBS.ADSL_ACCESS_INFO,
    IBS.LIJ ,
    regexp_substr(OBVS.REFERENTIE_A,'[[:digit:]]+') as O_NUMBER,
    DBS.CKR_NUMMER_CONTRACTANT,
    DBS.DNUMBER
    FROM CD.IBS,
    CD.OIBL,
    CD.IH,
    CD.ODL,
    CD.OH,
    CD.DBS,
    CD.OBVS
    Where IBS.END_DT = To_Date('31129999', 'ddmmyyyy')
    AND OIBL.END_DT = to_date('31129999', 'ddmmyyyy')
    AND DBS.END_DT = to_date('31129999', 'ddmmyyyy')
    AND OBVS.END_DT = to_date('31129999', 'ddmmyyyy')
    AND OBVS.REFERENTIE_A LIKE 'OFM%'
    AND OIBL.INFRA_KEY = IH.INFRA_KEY
    AND OIBL.ORDERS_KEY = OH.ORDERS_KEY
    AND IBS.INFH_ID = IH.INFH_ID
    AND ODL.ORDH_ID = OH.ORDH_ID
    AND DBS.DEBH_ID = ODL.DEBH_ID
    AND OBVS.ORDH_ID = ODL.ORDH_ID
    Order By IBS.LIJ
    All the columns which are present in the where condition are having either Index/key (Primary/unique) except END_DT column.
    Please Advise

    Predicate pushing can help when it greatlly restricts the number of rows - you must experiment - might not work with all predicates pushed (as shown here)
    select distinct
           ibs.adsl_access_info,
           ibs.lij,
           obvs.o_number,
           dbs.ckr_nummer_contractant,
           dbs.dnumber
      from (select infh_id,adsl_access_info,lij
              from cd.ibs
             where end_dt = to_date('31129999','ddmmyyyy')
           ) ibs,
           (select infra_key,orders_key
              from cd.oibl
             where end_dt = to_date('31129999','ddmmyyyy')
           ) oibl,
           (select ordh_id,regexp_substr(obvs.referentie_a,'[[:digit:]]+') as o_number
              from cd.obvs
             where end_dt = to_date('31129999','ddmmyyyy')
               and referentie_a like 'OFM%'
           ) obvs,
           (select debh_id,ckr_nummer_contractant,dnumber
              from cd.dbs
             where end_dt = to_date('31129999','ddmmyyyy')
           ) dbs,
           cd.ih,
           cd.odl,
           cd.oh
    where oibl.infra_key = ih.infra_key
       and oibl.orders_key = oh.orders_key
       and ibs.infh_id = ih.infh_id
       and odl.ordh_id = oh.ordh_id
       and dbs.debh_id = odl.debh_id
       and obvs.ordh_id = odl.ordh_id
    order by ibs.lijRegards
    Etbin

  • Web Service executing multiple times

    We are noticing an ongoing problem with web services both consumed in SAP as well as web services published in SAP and consumed via .NET applications.  In both cases, we are occasionally seeing examples of a single web service method calls executing multiple times.  For example, one of our methods in our SAP generated web services inserts records into a custom Z table.  We are noticing that for a single invocation of the web service, data records are appearing multiple times in the custom table.  We have placed code inside of the function in SAP to catch these multiple executions, but the code does not recognize the duplicates because most likely, the commit from the previous execution has not yet occurred.  We have time stamped the inserts into the table and can see that they do not have the same time.  Our web services are being created in SE80.  My guess is this is some sort of caching issue.  Has anyone run into a similar problem?  We are using NetWeaver 7.0 and SAP ECC 6.0.
    Edited by: Joseph Sciacca on Sep 9, 2008 4:10 PM
    Edited by: Joseph Sciacca on Sep 9, 2008 7:34 PM

    Hi Developers,
    I have the same question, is it possible to have multiple outgoing parameters?
    When not, does SAP Netweaver knows a IN-OUT parameter? Because I found on the internet that it is possible to have a IN-OUT parameter. But that was with the BEA Weblogic 8.x.
    When not, is then the only solution to return a object? With in this object all the parameters you want.
    Or otherwise is there a other workaround?
    Thanks in advance,
    Marinus Geuze

  • Process request method executing multiple times issue

    Hi ALL,
    In my controller code , process request method is executing multiple times and inserting multiple data into the table, can any body help me how to resolve this issue.
    I have the below code in my process request:
    OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
         am.invokeMethod("InsertRecord",null);
         OAMessageLovInputBean oalovinputbean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("ccustatus") ;
         oalovinputbean.setValue(pageContext,"INPROGRESS");
         String userName = pageContext.getUserName();
          System.out.println("User NAme is :" + userName);
          OAMessageTextInputBean pUserId = (OAMessageTextInputBean)webBean.findChildRecursive("item32");
          pUserId.setValue(pageContext,userName);
          OAMessageTextInputBean pchangedby =  (OAMessageTextInputBean)webBean.findChildRecursive("item34");
          pchangedby.setValue(pageContext,userName);
          if((("on").equals(pageContext.getParameter("rrchkbox"))))
                  String whereclause1=(String)pageContext.getTransactionValue("whereclause");
                  String workordnum=(String)pageContext.getTransactionValue("workordnum");
                  String rrnum =(String)pageContext.getTransactionValue("rrnum");
                  String ponum =(String)pageContext.getTransactionValue("ponum");
                  System.out.println("whereclause test1"+whereclause1);
                  String status=pageContext.getParameter("ccustatus");
                  System.out.println("DEBENDRA LINE STATUS:" + status);
                  Serializable param[] = {whereclause1,workordnum,rrnum,ponum};        
                           // am.invokeMethod("getSearchData1",param);
                           // am.invokeMethod("checkSelectedrow",param);       
                 Serializable vcnt =  am.invokeMethod("processPOData",param);  
    Below code written in AM:
    public void InsertRecord()
            XXDPECONTAINERVOImpl vo = getXXDPECONTAINERVO1();
            vo.setMaxFetchSize(0);
            XXDPECONTAINERVORowImpl row = (XXDPECONTAINERVORowImpl)vo.createRow();
            oracle.jbo.domain.Number empNum = (oracle.jbo.domain.Number)getOADBTransaction().getSequenceValue("XXDPE_CONTAIN_SEQ");
            row.setContainerizationId(empNum);
            vo.insertRow(row);
            row.setNewRowState(row.STATUS_INITIALIZED);
    Please help me out.

    hi,
    PR() will be called whenever your page will load, so the number of times you will load your page all the time your PR will be called and it will call the AM method.
    otherwise put some condition and call the insert method from your PR.
    Regards
    Mahesh

  • Action is executing multiple times

    Hi Experts,
    I am using an action for a service transaction in which a method is called APPROVE_RFC_VIA_WF - the method triggers a workflow, but the action runs multiple (6) times, 6 workflow items are created and 6 emails are triggered likewise.
    I restricted the action to only one executable/successful action and it works ! Only 1 email and 1 workflow item is created, but then the workflow item is not executed !
    Please I need help on this, thnx.
    Regards.

    Another action definition was restricted to execute 5 times which was somehow effecting the workflow action definition
    Adjustments were made to both definitions so that both would give correct results.
    Regards.

  • ALV events for data_change  executing multiple times

    Hello Experts,
    I am using the event "data_changed" of cl_gui_alv_grid and its getting triggred multiple times based on
    no. of rows in my ALV grid output.
    For ex: if i have 5 rows and if i input a field in any cell in a new row, in data_changed event is triggered 2 times.
    The  LOOP AT er_data_changed->mt_mod_cells INTO ls_modified is executing 6 times as in above example
    even though is having only 1 entry.
    Can some one pls help me with this?
    Also i see the  toolbar event is often getting excuted multiples no of times making the application slow.
    Please suggest.
    Thanks
    Dan

    Dan,
    Maybe you've placed or doing something wrong, take this report as a pattern "BCALV_EDIT_03".
    Best regards,
    Alexandre

  • For each loop container executing multiple times....

    Hi,
    We are using SQL SERVER version 2005.
    I am having a For each loop container and inside that container there are multiple Sequence containers and inside each sequence containers there are Execute SQL Tasks (which are just stored procedures).
    Now, when i run sequence containers individually they are running perfectly fine.
    But when I run the whole For each loop container, it is just running and running multiple times without ending the process.
    I really couldnt figure out what would be the issue?
    Any ideas????
    Thanks....

    Hi grk666,
    To check whether the values stored in the object type variable are correct, you can disable all the Sequence Containers within the Foreach Loop Container, and add a Script Task with the following code to display the string type variable value (supposing
    you use the string type variable StrVar to store the value retrieved from the object variable):
    MsgBox(Dts.Variables(“StrVar”).Value.ToString())
    It would be helpful if you could post a screenshot to show the package execution at runtime in BIDS.
    Regards,
    Mike Yin
    TechNet Community Support

  • Question of button_click of ALV executes multiple times

    Hi Experts,
    I have a main screen 4000 including subscreen 2000 & 3000.
    subscreen 2000 has a text input field followed with a button.
    subscreen 3000 is an alv with a column as button.
    subscreen 1111 is the screen of editor.
    the purpose of this program is changing item texts of sales orders. subscreen 2000 is the input for item texts; subscreen 3000 consists all sales order items with a column as button clicking which the item texts of the particular item pops up in a screen 1111.
    my expectation is after input item texts in subscreen 2000, then click the execute icon in main screen 4000, item texts are updated. by clicking button in ALV of subscreen 3000, new item texts pops up.
    my problem is strange. one execute in main screen 4000, i click the button in ALV of subscreen 3000, the popped up screen 1111 occurs twice, twice execution in main screen 4000, after clicking the button in ALV of subscreen 3000, the popped up screen 1111 occurs three times...
    debugging in to the program, after close the screen 1111, program jumps into the event handler of screen 3000. i'm curious that i only clicked the button in 3000 once, why program goes to the event handler more than once?

    sorry for my fault.
    the problem is caused by the PBO of ALV screen 3000.
    the regist of event should be in the IF-ENDIF, else, the event will be registered multiple times. because each time 'execute' in screen 4000, 3000 is refreshed, so once 3000 is refreshed, PBO of 3000 is executed.
    IF g_container_3000 IS INITIAL.
        CREATE OBJECT g_container_3000
          EXPORTING
            container_name = 'CONTAINER_3000'.
        CREATE OBJECT g_grid_3000
          EXPORTING
            i_parent = g_container_3000.
        PERFORM frm_build_fieldcat TABLES gt_fieldcat_3000.
        CREATE OBJECT ref_event_handler_3000.
        SET HANDLER ref_event_handler_3000->hdl_button_click FOR g_grid_3000.
      ENDIF.
    Edited by: legend li on Aug 12, 2009 4:37 PM
    Edited by: legend li on Aug 12, 2009 4:39 PM

  • EO entity level validations being executed multiple times

    Hi,
    I'm using JDev 10.1.3.4, BC, JSF
    I have defined multiple entity level method validators in my entity object. On commit I get the desired results except for the fact that each of my method validators runs multiple times when they should only run once. So I end up with twice the method validator messages that I should. And if I put any additional messaging in in the validators themselves I end up with 10 times the desired messages.
    What are some of the reasons that would cause this looping through the validators. I assume I have done something to cause this but can not figure out what it is. Any ideas on what I should look for?
    Note : Also using JHeadstart but I don't think it should be a factor at the entity level.
    Thanks,
    Jim
    Edited by: 170412 on May 5, 2009 4:11 PM

    Hi,
    1) Set the Foreign key using setAttribute Methods ? When u create a VO based on Multiple EO's, there should be some relationship between those 8 EO's like Primary key & Foregin key. And when u perform Commit on this all the value from ur beans will get saved to the database. But the Foreign u need to set independently using setAttribute method becoz it wont get saved by its own.
    2) If i'm doing the validations at EO level, those setters and getters will be called before the Create(), Update() and Delete()
    methods in the EOImpl class. Is that true?Yes, you are right it will get called for create and update operation but not for Delete.
    Regards,
    Gyan

  • Error file in cferror gets executed multiple times

    The error cfm page included in <cferror> tag in Application.cfm gets called multiple times, so email notification is sent more than once. Any thoughts how this can be handled?

    Could we see the code of the tag? In any case, does it help when you place <cfabort> at the end of the error page?

  • Query executing taking time

    Hi All,
    I am using jdev 11.1.2.0
    I am having a VO and VC. when i am executing View criteria .There is no error in it. That query is executing within seconds in TOAD.But in application it is taking lot of time.
    And after some time web logic got crashed and message came that query didnt not executed with in 600 seconds or something.
    Can we increase server time out for query execution. How to resolve this issue?

    Hi All,
    I am getting this error.Don't know why?Any help
    Referer: http://127.0.0.1:7101/OMSApp/faces/InspectionTaskHome.jspx?_adf.ctrl-state=120t0k0j42_3
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    Cookie: JSESSIONID=kkpvRYybkvsTypwLp1q2lfMtqHlk8LZ8XdCksSlKT5Z2xH6hdhrq!679123754
    ]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.net.SocketInputStream.socketRead0(Native Method)
         java.net.SocketInputStream.read(SocketInputStream.java:129)
         oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:718)
         oracle.net.ns.Packet.receive(Packet.java:295)
         oracle.net.ns.DataPacket.receive(DataPacket.java:106)
         oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:317)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:262)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:187)
         oracle.net.ns.NetInputStream.read(NetInputStream.java:104)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:126)
         oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:82)
         oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1177)
         oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1153)
         oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:312)
         oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:135)
         oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1228)
         oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:893)
         oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:7154)
         oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1227)
         oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1413)
         oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1319)
         oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1304)
         oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:7083)
         oper.model.module.AppModuleAMImpl.executeInstanceNoVc(AppModuleAMImpl.java:857)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:655)
         oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2161)
         oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3051)
         oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:266)
         oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1626)
         oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2168)
         oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
         oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         oper.view.PreInspectionBean.ShowSRInstance(PreInspectionBean.java:127)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:597)
         com.sun.el.parser.AstValue.invoke(Unknown Source)
         com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
         org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1535)
         org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
         org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:157)
         org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:279)
         oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:145)
         oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:479)
         oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:105)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:121)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         java.security.AccessController.doPrivileged(Native Method)
         oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

  • Action gets executed multiple times

    Hi,
    i have a strange problem in my jsf application.
    I have an action in my bean, let's say
    public String testThis(){
    //my business is logic here
    if(blahblah){
    return null;
    }else
    return "oke";
    Now, the problem is, when the action is fired, and it returns null, the next time the action get's fired, it gets executed 2 tot 4 times.
    Somebody got an explenation or somewhat the same behaviour?
    regards,
    J.

    hi,
    i am a newbie in JSF, but i had faced a similar problem. posting this reply as it might help u.
    if u r referencing properties of some other page also then it might happen.
    what happened with me was -
    let my application has 2 files A.jsp and B.jsp.
    In my A.jsp file i was accessing "B.property"
    this happened by mistake. when i corrected it to A.property (i had property with same name in both files) it worked perfectly.
    so u can checkout this thing with ur application.
    thanks,
    amol chaudhari.

  • VL10BATCH executes multiple times

    Hi,
    We have scheduled a batch job to run everyday night for creation of deliveries. The job runs and creates deliveries and gives error logs which I can see in V_SA. So far good.
    Has any one done parallel processing using the parallel generator concept in this job? I know the setting is there in the User role tab but  I am curious to know if someone had done this got a good result. We are using parallel processing in other programs as well so the configuration setting is available.
    Regards,
    Vijay V

    Vijay,
    Yes, we have used this with good result. 
    Like anything in business, don't do it unless you have a sound business reason.  The fact that a functionality is available is not justification for using it.  For instance, if your delivery due list currently executes to your satisfaction, there is no reason to change it.  If your current job cannot complete within the required time frame, you might benefit from parallel processing.
    Drawbacks and problems are detailed in https://service.sap.com/sap/support/notes/399068 and related.  If you have never done this before, you will need Basis assistance to implement.
    Best Regards,
    DB49

  • Optimizing order by query with multiple time dimensions

    Hello all,
    I have two time dimensions, one a standard date dimension (Year,Qtr, Month, Week, Day) the other a user defined Time dimension (All, Hour, Minute, Second).
    I am joining my cube with my time dimension using only the 'All' level, so that I can get a single record for the Day level in my Date dimension. Under these circumanstances there aren't many records in my sample data. Less than 100 dates, although at the lowest level(seconds) there are approx 2 million records.
    In order to get my results back in order I am ordering by the date dimension day_end_date. The query is taking longer than I would expect given that there aren't many records at the Day Level. How can I ensure that my query is ordering based only on the values in the current day_level and not all day_end_dates values in the underlying cube.

    Changed order, speed improved significantly.

  • When was the Query executed last time - SQ01

    Hi All,
    We have an ECC 6.0 System running on Oracle and os is SUN OS . When i go to TCODE SQ01 i see
    many queries. I need to know when were the Queries run on the system. Is there any way to figure
    this out.
    Any pointers would be helpful
    Thanks & Regards,
    Ershad Ahmed

    Not by default. There are several ways:
    - You can use ST03N to find out which queries are executed (select a big timeframe)
    - you can enable auditing (SM19/SM20) and track "AQ*" programs
    - you can book an SLO service to find the exact number (http://service.sap.com/slo)
    Markus

Maybe you are looking for