Query executes more than once

Hello All,
We have crystal reports integrated in the java web application. Reports with parameters are executing query more than once (found in the SQL Server Profiler).
Scenario:
Report query with parameter :- select * from cieuser where id >= {?userId}.
User provides value '1' to this parameter and selects report execution.
Before executing the report, our system updates the database connection details of the rpt with other configured details.
Issues:
During updating of the database details on execution of statement "databaseController.setTableLocation(orig.getTable(i), table);" , the profiler shows:
select * from cieuser where id >=  NULL
And on executon of the statement "viewer.processHttpRequest(request, response, getServletConfig()
              .getServletContext(), null);" the profiler shows the following:
select * from cieuser where id >= {?userId}
select * from cieuser where id >= 1
select * from cieuser where id >= 1
When the same report is executed from the standalone crystal designer, the profiler shows one time query execution:
select * from cieuser where id >= 1
Environment:
Crystal reports designer - 11.5.10.1263
JRC - 11.5
Please advise.
Thanks,
Ratan.

Hello,
SAP decided to allow the confirmation of orders with a final confirmation (status CNF) deliberately. So it is possible to confirm work that was maybe forgotten or if the flag 'final confirmation' was set mistakenly. Only the status CLSD will prevent further confirmations.
If you want forbid further confirmations of  orders with status CNF you can use enhancements CONFPM* or BAdI WORKORDER_CONFIRM. However, the probably easiest way is to define a user status that is set at business transaction 'Confirm order' and, once set, forbid business transaction 'Confirm order'.
Regards,
Reinhard

Similar Messages

  • Performance... Why a function column in a view is executed more than once...?

    Why a function column created inside a view is executed more than once when called more than once?
    EXAMPLE:
    create or replace view aux1 as
    date_column,
    any_function(date_column) column1
    from any_table
    create or replace view aux2 as
    column1 c1,
    column1 c2,
    column1 c3
    from aux1
    select * from aux2
    It will execute 3 times the function any_function... logically the value will be the same for all columns...
    I understand why!... are 3 calls... but...
    Why not to create a "small" verification and if the function column was execute replace the second, the third... value? ... instead of execute 3, 4... times...
    tks
    Braga

    Actually, this is more than a performance issue. This is a consistency problem. If the function is NOT deterministic then you may get different values for each call which is clearly not consistent with selecting 3 copies of the same column from a row. Oracle appears to have fixed this in 9i...
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.2.0 - Production
    create view v1 as select dbms_random.value(1,100) r from dual;
    create view v2 as select r r1, r r2 from v1;
    select * from v2;
              R1           R2
              93           74
    Connected to:
    Oracle9i Enterprise Edition Release 9.0.1.3.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.3.0 - Production
    create view v1 as select dbms_random.value(1,100) r from dual;
    create view v2 as select r r1, r r2 from v1;
    select * from v2;
              R1           R2
              78           78Richard

  • Prepared statement st in servlet - not executing more than once!

    Hi,
    my problem is that the following piece of code in a servlet does not get executed more than once:
    myQuery = "DELETE FROM MREMINDERS WHERE username=? AND reminders=?";
    PreparedStatement st = conn.prepareStatement(myQuery);
    st.setString(1,usern);
    st.setString(2,oldRem);
    st.executeUpdate();
    st.close();
    The above code is called in a servlet to delete fields from a table. I call this code in a for loop from another method in the servlet. It executes the first time in the loop, but the second time onwards it throws an error!!! please let me know how to solve this ASAP since i am at the point of frustration now!!!
    thanx...

    Hi,
    sorry... i got it fixed!!!! :-)
    i was closing a JDBC connection which was generating that error!!
    thanx again..

  • Business rules in 11.1.1.3 execute more than once

    My client has the situation where certain business rules (launched from the Planning BR interface) will execute more than once, sometimes twice or even three times. It seems that the rule will start to execute and then after 1 or two minutes, will launch again. the job console will show the information.

    This is a known issue and has to do with the http timeout settings. Usually this will happen on the 5 minute limit, but it depends what setting they have.
    Take a look at this article and see if it applies:
    Business Rules That Take More Than Five Minutes to Execute Are Re-launched Repeatedly [ID 755406.1]
    Agnete
    Edited by: Agnete on Oct 22, 2012 12:51 PM

  • SD copy control (routines) in ECC6 executed more than once.

    We're upgrading from ECC5 to ECC6.
    An SD custom "copy routine" in VA01 (SAPMV45A) is being called twice in ECC6 (incorrect) but only once in ECC5 (correct).
    The result is that the same informational message displays repeatedly and users have to press the <enter> key many times.
    Any of you encounter this behavior?
    Thanks
    Leo

    - In which of these [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm] is the message sent ?
    - Also check once again those user exits in SPAU
    Regards,
    Raymond

  • How to call the same query more than once with different selection criteria

    Hi,
    Please do anybody know how to solve this issue? I need to call one query with the fixed structure more than once with different selection criteria. For example. I have following data
    Sales organization XX
                         Income 2008  Income 2009
    Customer A       10                 20
    Customer B        30                  0
    Sales organization YY
                         Income 2008  Income 2009
    Customer A        20                5
    Customer B        50                10
    Now, I need this. At the selection screen of query, user fill variable  charakteristic "Sales organization" with interval  XX - YY, than I need to generate two separate results per sales organization, one for Sales Organization XX and the second for SO YYwhich will be displayed each on separate page, where result for SO YY will be dispayed under result for SO YY. Are there some options how to do it for example in Report Designer or WAD or with programming? In Report Designer is possible to use one query more than once, but I dont know how to force each query in RD to display result only for one Sales Organization, which will be defined in selection screen.
    Thank you very much
    J.

    Hello,
    thanks to all for cooperation. Finally we solved this issue with the following way..
    User fill appropriate SO on the selection screen, which is defined as range. This will resulte, that selected SO are listed in report below each othe (standard behavior). Required solution we achieved with the Report Designer, we set page break under each Result row of RD. This caused, that report is divided into required part per SO, which are stated each on separate page.
    J.

  • Select the same attribute in a query more than once

    Hi Experts,
    My requirement is to select the same attribute in a query more than once.
    How can I acheive this?
    Expecting an early solution..
    Pilliga

    Hi,
    Create a calculated attribute that just displays the "same attribute".
    (Note: you will need to uniquely name this object).
    For example, if you wish to display Emp Name twice in the same query, then create a calculated attribute called Emp Name2 and select it and Emp Name in your query and the same info will be displayed twice in your results set.
    Cheers,
    Tanish

  • Data output more than once

    Hello Experts
    I'am facing a peculiar problem pertaining to Infoset query ( Tran SQ01,SQ02, SQ03) . The requirement is to create a query based on table GLPCA and CATSDB.
    I've created the query as required, However when i execute the same the output is incorrect. What really happens is the Same line  is repeated more than once sometimes three, four or even five times.
    The Table GLPCA has two line items per document one debit and one credit, now at the most in the query i should get only these two lines and if i further filter it on the indicator there shoul be only one entry. However this is not the case even when i filter i on the posting indicator the query outputs the line item 5 times giving a wrong report.
    Can somebody suggest as what could be wrong with the query
    Thanks
    Nelson

    Hi,
    Nothing is wrong with the query.
    Kindly check ur join condition in SQ02
    I have created its coming correct.
    Regards
    Arbind

  • How to use same page fragment more than once in a page,

    Hi Gurus,
    How to use same page fragment more than once in a page. I have a complex page fragment which has lots of Bindings (Binding Property set with backingBean variables).
    I want to use the same page fragment multiple times on the same page with different tabs.
    I want different ApplicationModule Instance for the page fragment in different tabs.
    So I have created a Bounded Taskflow with pagefragments which has this complex pagefragment.
    I've dragged the taskflow to page and created regions.
    I'm able to execute the page successfully when I have only one region but fails if I have region more than once in the page.
    Can anyone help me how to resolve this issue.
    Web User Interface Developer's Guide for Oracle Application Development Framework: section 19-2 states we can have same pagefragment more than once in a page.
    Thanks,
    Satya

    java.lang.IllegalStateException: Duplicate component id: 'pt1:r1:0:t2:si5', first used in tag: 'com.sun.faces.taglib.jsf_core.SelectItemsTag'
    +id: j_id_id1
    type: javax.faces.component.UIViewRoot@1d23189
      +id: d1
       type: RichDocument[UIXFacesBeanImpl, id=d1]
        +id: j_id_id5
         type: HtmlScript[UIXFacesBeanImpl, id=j_id_id5]
          +id: j_id0
           type: javax.faces.component.html.HtmlOutputText@bc252
        +id: m1
         type: RichMessages[UINodeFacesBean, id=m1]
        +id: f1
         type: RichForm[UIXFacesBeanImpl, id=f1]
          +id: pt1
           type: RichPageTemplate[oracle.adf.view.rich.component.fragment.UIXInclude$ContextualFacesBeanWrapper@2a0cc, id=pt1]
            +id: ps1
             type: RichPanelSplitter[UIXFacesBeanImpl, id=ps1]
              +id: pt3
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1199)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag265(__projectrevenuern_jsff.java:12356)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag264(__projectrevenuern_jsff.java:12317)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag263(__projectrevenuern_jsff.java:12262)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag262(__projectrevenuern_jsff.java:12200)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag261(__projectrevenuern_jsff.java:12147)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag260(__projectrevenuern_jsff.java:12099)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag259(__projectrevenuern_jsff.java:12047)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag258(__projectrevenuern_jsff.java:11992)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag257(__projectrevenuern_jsff.java:11948)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag255(__projectrevenuern_jsff.java:11860)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag254(__projectrevenuern_jsff.java:11808)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag9(__projectrevenuern_jsff.java:510)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag8(__projectrevenuern_jsff.java:461)
         at jsp_servlet.__projectrevenuern_jsff._jspx___tag1(__projectrevenuern_jsff.java:149)
         at jsp_servlet.__projectrevenuern_jsff._jspService(__projectrevenuern_jsff.java:67)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:429)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:443)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:492)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag50(__projectrevenuepg_jspx.java:2392)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag49(__projectrevenuepg_jspx.java:2353)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag46(__projectrevenuepg_jspx.java:2209)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag45(__projectrevenuepg_jspx.java:2162)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag9(__projectrevenuepg_jspx.java:526)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag8(__projectrevenuepg_jspx.java:475)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag7(__projectrevenuepg_jspx.java:424)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag6(__projectrevenuepg_jspx.java:373)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag2(__projectrevenuepg_jspx.java:202)
         at jsp_servlet.__projectrevenuepg_jspx._jspx___tag1(__projectrevenuepg_jspx.java:144)
         at jsp_servlet.__projectrevenuepg_jspx._jspService(__projectrevenuepg_jspx.java:71)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:408)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:318)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:499)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:248)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:710)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = CAMIND1 TXID =  CONTEXTID =  TIMESTAMP = 1262712477691 
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <JMXWatchNotificationListener><handleNotification> failure creating incident from WLDF notification
    oracle.dfw.incident.IncidentCreationException: DFW-40116: failure creating incident
    Cause: DFW-40112: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
    DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:708)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createIncident(DiagnosticsDataExtractorImpl.java:246)
         at oracle.dfw.spi.weblogic.JMXWatchNotificationListener.handleNotification(JMXWatchNotificationListener.java:195)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor$ListenerWrapper.handleNotification(DefaultMBeanServerInterceptor.java:1732)
         at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:257)
         at javax.management.NotificationBroadcasterSupport$SendNotifJob.run(NotificationBroadcasterSupport.java:322)
         at javax.management.NotificationBroadcasterSupport$1.execute(NotificationBroadcasterSupport.java:307)
         at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:229)
         at weblogic.management.jmx.modelmbean.WLSModelMBean.sendNotification(WLSModelMBean.java:824)
         at weblogic.diagnostics.watch.JMXNotificationProducer.postJMXNotification(JMXNotificationProducer.java:79)
         at weblogic.diagnostics.watch.JMXNotificationProducer.sendNotification(JMXNotificationProducer.java:104)
         at com.bea.diagnostics.notifications.JMXNotificationService.send(JMXNotificationService.java:122)
         at weblogic.diagnostics.watch.JMXNotificationListener.processWatchNotification(JMXNotificationListener.java:103)
         at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:621)
         at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:546)
         at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:765)
         at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:525)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.dfw.common.DiagnosticsException: DFW-40112: failed to execute the adrci commands "create home base=C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr product_type=ofm product_id=defaultdomain instance_id=defaultserver
    set base C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr
    set homepath diag\ofm\defaultdomain\defaultserver
    create incident problem_key="BEA-101020 [HTTP]" error_facility="BEA" error_number=101020 error_message="null" create_time="2010-01-05 12:27:58.155 -05:00" ecid="0000INzXpbB7u1MLqMS4yY1BGrHn00000K"
    Cause: There was an error executing adrci commands; the following errors have been found "DIA-48415: Syntax error found in string [create home base=C:\\Documents and Settings\\tammineedis\\Application] at column [69]
    DIA-48447: The input path [C:\\Documents and Settings\\tammineedis\\Application Data\\JDeveloper\\system11.1.1.2.36.55.36\\DefaultDomain\\servers\\DefaultServer\\adr] does not contain any ADR homes
    DIA-48447: The input path [diag\ofm\defaultdomain\defaultserver] does not contain any ADR homes
    DIA-48494: ADR home is not set, the corresponding operation cannot be done
    Action: Ensure that command line tool "adrci" can be executed from the command line.
         at oracle.dfw.impl.incident.ADRHelper.invoke(ADRHelper.java:1052)
         at oracle.dfw.impl.incident.ADRHelper.createIncident(ADRHelper.java:786)
         at oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl.createADRIncident(DiagnosticsDataExtractorImpl.java:688)
         ... 19 moreI get the above Error.
    I have checked the bindings and it has 2 instances of the taskflow.
    I have changed the backingbean scope to backingBean

  • ORA-00604 & ORA-30512 CANNOT MODIFY TABLE MORE THAN ONCE IN A TRANSACTION

    We have a requirement where two tables should be in sync at any given point
    in time with respect to the structure of the tables.
    Any change on table/column via ALTER (MODIFY, ADD, RENAME COLUMN, DROP
    COLUMN) on the parent table should be replicated to the replica table.
    I created a DDL_TRIGGER on the schema and the desired result is achieved but
    for the following one scenario for which its failing.
    The issue is, if we try to reduce the width of the column (via ALTER ..
    MODIFY) it fails with the following error
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30512: cannot modify DEVTESTF_OIM.REPLICA_ABC more than once in a
    transaction
    Please follow the steps to reproduce the issue (the issue is across the DB
    version checked on 10.2, 11.1 and 11.2 DB version)
    -- Step1 Create Parent Table
    CREATE TABLE abc (col1 VARCHAR2(10))
    -- Step2 Create Replica Table
    CREATE TABLE replica_abc (col1 VARCHAR2(10))
    -- Step3 Create DDL Trigger
    CREATE OR REPLACE TRIGGER ddl_trigger
    AFTER ALTER ON SCHEMA
    DECLARE
    operation VARCHAR2(30);
    object_name VARCHAR2(30);
    l_sqltext VARCHAR2(100);
    i PLS_INTEGER;
    l_count NUMBER:=0;
    sql_text dbms_standard.ora_name_list_t;
    BEGIN
    i := dbms_standard.sql_txt(sql_text);
    SELECT ora_sysevent, ora_dict_obj_name, UPPER(sql_text(i))
    INTO operation, object_name, l_sqltext
    FROM dual;
    IF ora_dict_obj_name = 'ABC' THEN
    l_count := INSTR(l_sqltext,'ADD CONSTRAINT',1,1);
    l_count := l_count + INSTR(l_sqltext,'DISABLE',1,1);
    l_count := l_count + INSTR(l_sqltext,'DROP CONSTRAINT',1,1);
    l_count := l_count + INSTR(l_sqltext,'PRIMARY KEY',1,1);
    l_count := l_count + INSTR(l_sqltext,'ADD CHECK',1,1);
    IF (l_count = 0) THEN
    l_count := INSTR(l_sqltext,'ADD',1,1);
    l_count := l_count + INSTR(l_sqltext,'MODIFY',1,1);
    l_count := l_count + INSTR(l_sqltext,'DROP COLUMN',1,1);
    l_count := l_count + INSTR(l_sqltext,'RENAME
    COLUMN',1,1);
    IF (l_count >0) THEN
    l_sqltext := REPLACE(l_sqltext,'TABLE ABC','TABLE REPLICA_ABC');
    execute immediate l_sqltext;
    END IF;
    END IF;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    RAISE ;
    END;
    -- Step 4 Issue the following ALTER command on the Parent table 'ABC'
    ALTER TABLE ABC MODIFY COL1 VARCHAR2(9);
    will show the following
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-30512: cannot modify DEVTESTF_OIM.REPLICA_ABC more than once in a
    transaction
    ORA-06512: at line 34
    whereas the following commands works fine
    ALTER TABLE ABC MODIFY COL1 VARCHAR2(11);
    and also the rest of the operations
    ALTER TABLE ABC ADD COL2 VARCHAR2(20);
    ALTER TABLE ABC RENAME COLUMN COL2 TO COL3;
    ALTER TABLE ABC DROP COLUMN COL3;
    The issue is while reducing the size of VARCHAR2 columns, while the rest of
    option works fine.
    Any suggestion or workaround please.

    It looks like a bug to me. The failing statement from the SQL trace is
    PARSE ERROR #12:len=77 dep=3 uid=0 oct=3 lid=0 tim=1263332549608656 err=30512
    select /*+ first_rows */ 1 from "TIM"."REPLICA_ABC" where LENGTHB("COL1") > 9and exception cannot explain it.

  • Bug! Hot-deploying the same bean more than once results in a DeploymentException!

    Hi all,
    Anyone else having this problem? When re-deploying an EJB within a
    running WL server 4.5.1 w/ sp9 more than once results in the following
    DeploymentException. The first time we re-deploy it works fine, but any
    re-deployments after that fail.
    This is potentially fatal in that if we have to make more than one
    change to a bean over time and re-deploy those changes, we have to cycle
    the server, which is NOT acceptable for a production environment!
    Any clues or workarounds would be greatly appreciated.....Thanks!
    BP
    [xxxx.xxxx.com] < /pkg/bea > java -classpath
    /pkg/bea/classes:/pkg/bea/lib/weblogicaux.jar weblogic.deploy -redeploy
    xxxxxxx file:/pkg/bea/classes/OurSessionBean.jar
    weblogic.ejb.common.DeploymentException: Unable to create bean
    classloader:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    /local/pkg/bea/depot/weblogic-4.51/classes/OurSessionBean.jar; nested
    exception is:
    java.io.EOFException
    java.io.EOFException
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(IOException.java:35)
    at java.io.EOFException.<init>(EOFException.java:43)
    at java.io.DataInputStream.readUnsignedShort(Compiled Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute$line_num_struct.read(Compiled
    Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.Code_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassMember.read(Compiled Code)
    at weblogic.utils.classfile.MethodTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled
    Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.redeploy(Compiled
    Code)
    at
    weblogic.ejb.internal.EJBJarDeployment.redeploy(EJBJarDeployment.java:629)
    at
    weblogic.ejb.internal.EJBManagerImpl.redeploy(EJBManagerImpl.java:266)
    at
    weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:169)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(Compiled
    Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at
    weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44)
    at
    weblogic.ejb.common.EJBManager_WLStub.redeploy(EJBManager_WLStub.java:312)
    at weblogic.deploy.deploy(deploy.java:129)
    at weblogic.deploy.runBody(deploy.java:79)
    at weblogic.utils.compiler.Tool.run(Tool.java:55)
    at weblogic.deploy.main(deploy.java:140)

    how about undeploy an already deployed bean first and then trying to redeploy.
    becoz i know there's an option like that with DDDeploy. I am talking of 5.1 but the
    logic should probably work in 4.5 too.
    Try doing it and see what happens.
    -Vikas
    Blah Blah wrote:
    Hi all,
    Anyone else having this problem? When re-deploying an EJB within a
    running WL server 4.5.1 w/ sp9 more than once results in the following
    DeploymentException. The first time we re-deploy it works fine, but any
    re-deployments after that fail.
    This is potentially fatal in that if we have to make more than one
    change to a bean over time and re-deploy those changes, we have to cycle
    the server, which is NOT acceptable for a production environment!
    Any clues or workarounds would be greatly appreciated.....Thanks!
    BP
    [xxxx.xxxx.com] < /pkg/bea > java -classpath
    /pkg/bea/classes:/pkg/bea/lib/weblogicaux.jar weblogic.deploy -redeploy
    xxxxxxx file:/pkg/bea/classes/OurSessionBean.jar
    weblogic.ejb.common.DeploymentException: Unable to create bean
    classloader:
    weblogic.ejb.common.DeploymentException: loading EJB JAR
    /local/pkg/bea/depot/weblogic-4.51/classes/OurSessionBean.jar; nested
    exception is:
    java.io.EOFException
    java.io.EOFException
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.io.IOException.<init>(IOException.java:35)
    at java.io.EOFException.<init>(EOFException.java:43)
    at java.io.DataInputStream.readUnsignedShort(Compiled Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute$line_num_struct.read(Compiled
    Code)
    at
    weblogic.utils.classfile.LineNumberTable_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.Code_attribute.read(Compiled Code)
    at weblogic.utils.classfile.AttributeTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassMember.read(Compiled Code)
    at weblogic.utils.classfile.MethodTable.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.read(Compiled Code)
    at weblogic.utils.classfile.ClassFile.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.computeExclude(Compiled
    Code)
    at weblogic.ejb.internal.EJBJarLoader.initialize(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarLoader.<init>(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.setup(Compiled Code)
    at weblogic.ejb.internal.EJBJarDeployment.redeploy(Compiled
    Code)
    at
    weblogic.ejb.internal.EJBJarDeployment.redeploy(EJBJarDeployment.java:629)
    at
    weblogic.ejb.internal.EJBManagerImpl.redeploy(EJBManagerImpl.java:266)
    at
    weblogic.ejb.common.EJBManager_WLSkel.invoke(EJBManager_WLSkel.java:169)
    at
    weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled Code)
    at
    weblogic.rmi.extensions.BasicRequestDispatcher$BasicExecuteRequest.execute(Compiled
    Code)
    at weblogic.t3.srvr.ExecuteThread.run(Compiled Code)
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at
    weblogic.rmi.extensions.BasicRequest.sendReceive(BasicRequest.java:44)
    at
    weblogic.ejb.common.EJBManager_WLStub.redeploy(EJBManager_WLStub.java:312)
    at weblogic.deploy.deploy(deploy.java:129)
    at weblogic.deploy.runBody(deploy.java:79)
    at weblogic.utils.compiler.Tool.run(Tool.java:55)
    at weblogic.deploy.main(deploy.java:140)

  • Powershell and Client Object Model - no error thrown if user is added more than once to same site or group

    Hello All -
    I am trying to add a user to a SharePoint site using PowerShell like below:-
    New-SPUser -UserAlias MyDomain\jan20a -Web http://SPServer/sites/MySite
    If I execute the above more than once, SharePoint does not throw that user already exists or something. This is not the same behavior in AD/Exchange PowerShell cmdlets.
    Also, even the client object model behaves the same way.
    Another interesting thing I noticed, I tried to remove a user from group in which the user was not part of it at all and still no error..!!
    Looks like SharePoint does not care of invalid input and just ignores it.
    Can anyone please confirm this and also the reason behind it ?

    It's not really invalid input, since the user exists and that is how SharePoint behaves (will behave same way in browser).  Try to input a user that and misspell the name, e.g. say you didn't have a MyDomain\Jan21a, then try to use same script above,
    only with invalid data.  It will bark at you.  Or try using a web that it cannot find, one that does not exist.  You'll get what I like to call, the red badge of courage if you enter invalid data.
    you can test that sharepoint will let you enter a user twice in the browser, and nothing bad comes from it.  Powershell is just unable to tell that the user was not in the site, when you removed it the second time. 
    Hope that confirms it, if it does please mark this reply accordingly.  thanks
    Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com

  • Ldap search query takes more than 10 seconds

    LDAP query takes more than 10 seconds to execute.
    For validating the policy configured, the Acess Manager(Sun Java System Access Manager) contacts the LDAP (Sun Java System Directory Server 6.2) to get the users in a dynamic group. The time out value configured in Access Manager for LDAP searches is 10 seconds.
    Issue : The ldap query takes more than 10 seconds to execute at some times .
    The query is executing with less than 10 seconds in most of the cases, but it takes more than 10 seconds in some cases. The total number of users available in the ldap is less than 1500.
    7 etime =1
    6 etime =1
    102 etime=4
    51 etime=5
    26 etime=6
    5 etime=7
    4 etime=8
    From the ldap access logs we can see the following entry,some times the query takes more than 10 seconds,
    [28/May/2012:14:21:26 +0200] conn=281 op=41433 msgId=853995 - SRCH base="dc=****,dc=****,dc=com" scope=2 filter="(&(&(***=true)(**=true))(objectClass=vfperson))" attrs=ALL
    [28/May/2012:14:21:36 +0200] conn=281 op=41434 msgId=854001 - ABANDON targetop=41433 msgid=853995 nentries=884 etime=10
    The query was aborted by the access manger after 10 seconds.
    Please post your suggestions to resolve this issue .
    1.How we can find out , why the query is taking more than 10 seconds ?
    2.Next steps to resolve this issue .

    Hi Marco,
    Thanks for your suggestions.
    Sorry for replying late. I was out of office for few weeks.
    1) Have you already tuned the caches? (entry cache, db cache, filesystem cache?)
    We are using db cache and we have not done any turning for cache. The application was working fine and there was no much changes in the number of users .
    2) Unfortunately we don't have direct access to the environment and we have contacted the responsible team to verify the server health during the issue .
    Regarding the IO operations we can see that, load balancer is pinging the ldap sever every 15 seconds to check the status of ldap servers which yields a new connection on every hit. (on average per minute 8 connections - )
    3) We using cn=dsameuser to bind the directory server. Other configuration details for ldap
    LDAP Connection Pool Minimum Size: 1
    LDAP Connection Pool Maximum Size:10
    Maximum Results Returned from Search: 1700
    Search Timeout: 10
    Is the Search Timeout value configured is proper ? ( We have less than 1500 user in the ldap server).
    Also is there any impact if the value Maximum Results Returned from Search = set to 1700. ( The Sun document for AM says that the ideal value for this is 1000 and if its higher than this it will impact performance.
    The application was running without time out issue for last 2 years and there was no much increase in the number of users in the system. ( at the max 200 users added to the system in last 2 years.)
    Thanks,
    Jay

  • QUERY TAKES MORE THAN 30 MINUTES AND IT'S CANCELED

    Hi
    I have one workbook and sometimes it takes more than 30 minutes to be executed, but Discoverer cancels it, Does anybody know how to alter this? I mean if the query takes more than 30 minutes i need it to be finished.
    Any help will be appreciated.
    Best Regards
    Yuri López

    Hi
    You need to alter the timeout settings and these are located in multiple places.
    Discoverer Plus / Viewer using this workflow:
    1. Edit the pref.txt file on the server located here: $ORACLE_HOME\discoverer\util
    2. Locate the preference called Timeout and change it to your desired value in seconds. The default is 1800 which means 30 minutes
    3. Save pref.txt
    4. Execute applypreferences.bat if running on Windows or applypreferences.sh if running on Linux or Unix
    5. Stop and restart the Discoverer server
    Discoverer Administrator using this workflow:
    1. Launch Discoverer Administrator
    2. From the menu bar, select Tools | Privileges
    3. Select the user
    4. Open the Query Governor tab
    5. If "Prevent queries from running longer than" is checked, increase the limit
    6. Click OK
    Note: if "Prevent queries from running longer than" is not checked then the Timout in the pref.txt controls how long before the queries stop. If it is checked and it is lower than Timeout you need to increase it.
    Let me know if this helps
    Best wishes
    Michael Armstrong-Smith
    URL: http://learndiscoverer.com
    Blog: http://learndiscoverer.blogspot.com

  • Triggering workflow more than once during wait hrs

    Dear All,
    We have implemented two Z (ZAPFI_INV, & ZFI_INV_PARK) workflows for FI
    park invoice. ZFI_INV_PARK is the query workflow and ZAPFI_INV is the
    approval workflow.
    Both workflow start with checking whether if image (i.e. FI invoice) is
    attached with the document or not. If the image is not attached, the
    workflow will wait 3 hrs for the image attachment. If the image gets
    attached within 3 hrs, workflow will move further for approval or query
    process.
    But if the same document is "parked" or "save-as-completed" more than
    once within the waiting time frame of 3 hrs, then more than one
    workflow process starts & resulting same WI more than once in the useru2019s inbox.
    Kindy advice.

    Is it possible to put the Validation at Application Level (rather that doing changes in Workflows as they are working correctly)?
    May be you can log the Invoices in ZTABLE when they are parked and Flag them as marked once processing is complete.
    Regards
    Shital

Maybe you are looking for

  • L'infra rouge n'est plus reconnu sur mon Mac / infra red is not recognized

    Bonjour, j'ai récemment installé les derniers updates de OS 10.4.8. Depuis, je ne peux plus utiliser Front View et la remote : mon mac réagit comme s'il n'avait pas d'infra rouge. J'ai vu différents sujets de discussion à ce propos, mais tous disent

  • Can cash advance check against internal order budget?

    I thought only cost elements can check against budget or statistical asset elements. But for AP balance sheet (cash advance via special GL), is that even possible? Please advise. Thanks in advance.

  • How to build tag cloud from text document

    Hi, I want to build tag cloud from text documents. The text dcouments has several lines of sentence. The tag shows long sentense, not key words. Please let me know how to build. And Can I use CAS or text enrichment? Thank you very much. SWKO

  • Edit Title Problem with iTunes 8

    I recently purchased a new laptop and downloaded iTunes 8. For some reason through I can't edit any of the Song information in the 'Get Info' screen. Is there something that I need to activate? Please help.

  • Connecting multiple C4C tenants to same HCI system

    Hello Experts, Please note that we already have a Cloud For Customer (C4C) system connected to our HCI system which is connected to our ERP system. How can I connect another new C4C system to the same HCI system as above which connects to the same ER