Facing issue with concurrent use of session

Hi All,
   We are facing concurrent use of session.save call in our LDAP sycn up process. Issue we got while performing performance test for multiple user and issue is at com.day.crx.security.ldap.LDAPUserSync.performUpdate api. Please guide me what could be wrong missing in code due to this Out of box service is showing error.
Below are logs:
02.01.2013 14:32:07 WARN SessionState: Attempt to perform session.save() while another thread is concurrently writing to session-system-1. Blocking until the other thread is finished using this session. Please review your code to avoid concurrent use of a session. (SessionState.java, line 149)
java.lang.Exception: Stack trace of concurrent access to session-system-1
at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:147)
at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:355)
at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:758)
at com.day.crx.security.ldap.LDAPUserSync.performUpdate(LDAPUserSync.java:230)
at com.day.crx.security.ldap.LDAPUserSync.syncUser(LDAPUserSync.java:178)
at com.day.crx.security.ldap.LDAPLoginModule.commit(LDAPLoginModule.java:266)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
Regards,
Yogesh

Hey Jorg,
Your comments are much appreicated!
question about the statement "it seems, that you import lot of users concurrently from the LDAP".  for us yes we are but the question is should that me problamatic?  We do see that it is causing issues for us  in CQ5.5 with CRX 2.3.15:
com.day.crx.security.ldap.LDAPLoginModule commit: could not commit: javax.jcr.InvalidItemStateException: property /some/LDAP/group/rep:lastsynced: the property cannot be saved because it has been modified externally.
However we had no such issue with CQ5.3 with CRX2.0
-Faraz

Similar Messages

  • Facing issues with oracle client installation 32 bit 10.2.0.1

    Hi ,
    I am facing issues with oracle client installation 32 bit 10.2.0.1
    Windows 2008 R2 enterprise edition 64 bit
    Java 1.6 update 34
    Below is the error recieved:
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8079055
    Function=[Unknown.]
    Library=C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(Native Method)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:516)
      at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:473)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.setInstallerKey(OiipgBootstrap.java:511)
      at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:418)
      at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:401)
      at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
      at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
      at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
      at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
      at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547)
      at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935)
      at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)
    Dynamic libraries:
    0x00400000 - 0x0040B000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\javaw.exe
    0x77C60000 - 0x77DE0000 C:\Windows\SysWOW64\ntdll.dll
    0x75AB0000 - 0x75BC0000 C:\Windows\syswow64\kernel32.dll
    0x77420000 - 0x77467000 C:\Windows\syswow64\KERNELBASE.dll
    0x77370000 - 0x77410000 C:\Windows\syswow64\ADVAPI32.dll
    0x76610000 - 0x766BC000 C:\Windows\syswow64\msvcrt.dll
    0x75DD0000 - 0x75DE9000 C:\Windows\SysWOW64\sechost.dll
    0x776E0000 - 0x777D0000 C:\Windows\syswow64\RPCRT4.dll
    0x757C0000 - 0x75820000 C:\Windows\syswow64\SspiCli.dll
    0x757B0000 - 0x757BC000 C:\Windows\syswow64\CRYPTBASE.dll
    0x77470000 - 0x77570000 C:\Windows\syswow64\USER32.dll
    0x764F0000 - 0x76580000 C:\Windows\syswow64\GDI32.dll
    0x77C30000 - 0x77C3A000 C:\Windows\syswow64\LPK.dll
    0x75820000 - 0x758BD000 C:\Windows\syswow64\USP10.dll
    0x74EA0000 - 0x74EEC000 C:\Windows\system32\apphelp.dll
    0x6EF10000 - 0x6EF9D000 C:\Windows\AppPatch\AcLayers.DLL
    0x76720000 - 0x7736A000 C:\Windows\syswow64\SHELL32.dll
    0x761D0000 - 0x76227000 C:\Windows\syswow64\SHLWAPI.dll
    0x76350000 - 0x764AC000 C:\Windows\syswow64\ole32.dll
    0x75F30000 - 0x75FBF000 C:\Windows\syswow64\OLEAUT32.dll
    0x74660000 - 0x74677000 C:\Windows\system32\USERENV.dll
    0x74650000 - 0x7465B000 C:\Windows\system32\profapi.dll
    0x74340000 - 0x74391000 C:\Windows\system32\WINSPOOL.DRV
    0x74570000 - 0x74582000 C:\Windows\system32\MPR.dll
    0x6E8B0000 - 0x6EAC8000 C:\Windows\AppPatch\AcGenral.DLL
    0x6EFA0000 - 0x6F020000 C:\Windows\system32\UxTheme.dll
    0x6F060000 - 0x6F092000 C:\Windows\system32\WINMM.dll
    0x74840000 - 0x7484F000 C:\Windows\system32\samcli.dll
    0x6F0D0000 - 0x6F0E4000 C:\Windows\system32\MSACM32.dll
    0x74C80000 - 0x74C89000 C:\Windows\system32\VERSION.dll
    0x6F340000 - 0x6F343000 C:\Windows\system32\sfc.dll
    0x6F260000 - 0x6F26D000 C:\Windows\system32\sfc_os.DLL
    0x6F040000 - 0x6F053000 C:\Windows\system32\dwmapi.dll
    0x758C0000 - 0x75A5D000 C:\Windows\syswow64\SETUPAPI.dll
    0x75C90000 - 0x75CB7000 C:\Windows\syswow64\CFGMGR32.dll
    0x77570000 - 0x77582000 C:\Windows\syswow64\DEVOBJ.dll
    0x75DF0000 - 0x75F27000 C:\Windows\syswow64\urlmon.dll
    0x775A0000 - 0x77695000 C:\Windows\syswow64\WININET.dll
    0x75FD0000 - 0x761CF000 C:\Windows\syswow64\iertutil.dll
    0x76230000 - 0x7634E000 C:\Windows\syswow64\CRYPT32.dll
    0x75FC0000 - 0x75FCC000 C:\Windows\syswow64\MSASN1.dll
    0x6F0C0000 - 0x6F0C6000 C:\Windows\system32\SHUNIMPL.DLL
    0x6F030000 - 0x6F03D000 C:\Windows\system32\SortServer2003Compat.dll
    0x75CC0000 - 0x75D20000 C:\Windows\system32\IMM32.DLL
    0x75BC0000 - 0x75C8C000 C:\Windows\syswow64\MSCTF.dll
    0x08000000 - 0x08138000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
    0x10000000 - 0x10007000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\hpi.dll
    0x003F0000 - 0x003FE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\verify.dll
    0x007B0000 - 0x007C9000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\java.dll
    0x007D0000 - 0x007DE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\zip.dll
    0x051D0000 - 0x052E2000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\awt.dll
    0x052F0000 - 0x05341000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\fontmanager.dll
    0x6E7C0000 - 0x6E8A7000 C:\Windows\system32\ddraw.dll
    0x6F020000 - 0x6F026000 C:\Windows\system32\DCIMAN32.dll
    0x75DA0000 - 0x75DCD000 C:\Windows\syswow64\WINTRUST.dll
    0x6E6F0000 - 0x6E7BC000 C:\Windows\system32\D3DIM700.DLL
    0x05770000 - 0x05793000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JavaAccessBridge.dll
    0x007E0000 - 0x007E5000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jawt.dll
    0x007F0000 - 0x007F7000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JAWTAccessBridge.dll
    0x06340000 - 0x06359000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\oui\lib\win32\oraInstaller.dll
    0x06470000 - 0x0648E000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jpeg.dll
    0x776B0000 - 0x776DA000 C:\Windows\syswow64\imagehlp.dll
    0x6E600000 - 0x6E6EB000 C:\Windows\syswow64\dbghelp.dll
    0x776A0000 - 0x776A5000 C:\Windows\syswow64\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation   total 704K, used 90K [0x10010000, 0x100d0000, 0x10770000)
      eden space 640K,  13% used [0x10010000, 0x10026448, 0x100b0000)
      from space 64K,   2% used [0x100c0000, 0x100c07a8, 0x100d0000)
      to   space 64K,   0% used [0x100b0000, 0x100b0000, 0x100c0000)
    tenured generation   total 8436K, used 5698K [0x10770000, 0x10fad000, 0x16010000)
       the space 8436K,  67% used [0x10770000, 0x10d00a40, 0x10d00c00, 0x10fad000)
    compacting perm gen  total 12288K, used 12049K [0x16010000, 0x16c10000, 0x1a010000)
       the space 12288K,  98% used [0x16010000, 0x16bd47a0, 0x16bd4800, 0x16c10000)
    Local Time = Thu Aug 22 14:42:03 2013
    Elapsed Time = 40
    # HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
    Thanks

    10.2.0.1 is not supported/certified on Win 2008, so expect issues with the install and/or with using the software.
    Why cannot you use a supported version - minimum is 10.2.0.4, which is only available to customers with an Extended Support contract
    http://docs.oracle.com/cd/B19306_01/relnotes.102/b14264/toc.htm#BABGFAJI
    HTH
    Srini

  • I am facing issues with my music on my iOS device. I have five devices connected to my apple id. And out of which a Windows Machine and iPhone is not able to sync the purchased songs on the the Windows machine and the iPhone.

    I am facing issues with my music on my iOS device. I have five devices connected to my apple id. And out of which a Windows Machine and iPhone is not able to sync the purchased songs on the the Windows machine and the iPhone. The iPhone4 shows the songs are not supported and on the Windows Machine the songs do not play completely. Can anyone advice what could have gone wrong ? Because rest of the devices are synced to MacBook and they are able to sync the content normally.  I have even subscribed to iTunes Match but the problem is still not fixed.

    Firstly...  a little Clarity...
    Devices refer to iDevices... iPod... iPhone... iPad. ..   Not Computers.
    Authoriation applies ONLY to Computers... of which there is a Limit of 5 per Apple ID.
    If the issue is with iTunes on your Windows Computer... Perhaps you need to Re-install iTunes...
    See Here... to Uninstall and Re-Install iTunes...
    http://www.apple.com/support/itunes/install/

  • Is anyone facing issues with the iphone5 camera

    Is anyone facing issues with the iphone5 camera

    Demo wrote:
    Posting the details takes all of the fun out of guessing, and I feel like I have been guessing for two days now. Must be an epidemic.
    Sorry to go OT.
    Does seem to be a bit of an epidemic of posters thinkng we are all John Edwards clones

  • Facing issues with R12 and SOA 11g integration using Business events

    Hi,
    I am trying to integrate R12 application with Fusion using 11g SOA suite. I configured BES in R12 application and I am able to raise a business event and query it from WF_BPEL_Qtab. I have an Oracle applications adapter listening for the same event in SOA composite deployed over a server. I have verified the DB connection and schema for R12 application in 11g SOA server. However, no SOA instance is being generated. No server log as well.
    I understand that 11g SOA uses EDN (using fusion_edn schema) for business events. Are there any changes expected to be done to Oracle Apps adapter to ensure the event is received.
    P.S. Oracle apps adapter configuration is probably correct as the out bound calls are taking place correctly.
    Thanks,
    Sagar

    Hi,
    Can you check the log file.u are getting any error.can you check wf_error table also u are getting any error.
    Can you check consumer in AQ tables.
    Thanks,
    Rahul

  • Facing Issue With Oracle SOA Suite 11.1.1.3.0

    Hi All,
    I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
    Hope you people can help us out.
    Please find the issue details below along with all the relevant information’s
    I have following SOA suite installation at my server:
    Oracle 10g Express Edition Universal 10.2.0.1
    RCU 11.1.1.3.3
    Web Logic Server 10.3.3.0
    SOA suite 11.1.1.3.0
    JDeveloper 11.1.1.3.0
    The first thing what I have done is created a web service and deployed it to server without any issue.
    After that I created proxy client for that service and accessed it successfully from the client end.
    Till here no issue occurs.
    After that I applied few policies on top of web service and deployed it to server.
    The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
    While deploying there was no issue, all went well.
    2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
    I have followed this blog:
    [http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
    Please have a look on service and client code:
    Service Code:
    package Demo_ScoreCard;
    import javax.jws.WebService;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
    @WebService
    @SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
    public class ScoreCardWithPolicy {
    public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
    double result;
    result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
    return result;
    Client Code:
    package com.tec.proxy.client;
    import java.util.Map;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.WebServiceRef;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
    public class ScoreCardWithPolicyPortClient {
    @WebServiceRef
    private static ScoreCardWithPolicyService scoreCardWithPolicyService;
    public static void main(String[] args) {
    scoreCardWithPolicyService = new ScoreCardWithPolicyService();
    SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
    ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
    Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
    double arg1 = 77.2;
    double arg2 = 79.2;
    double arg3 = 77.2;
    double arg4 = 76.2;
    double arg5 = 67.2;
    double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
    System.out.println("clientResult with policy =====> " + clientResult);
    Error Log:
    SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
    at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
    at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
    at javax.xml.ws.Service.getPort(Service.java:133)
    at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
    at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
    Process exited with exit code 1.
    Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
    Apart from above issue I have few queries like:
    1.What is difference between OWSM policies and WLS policies?
    2.Are these the only policies we can apply on top of services?
    3.If some one wants to configure his own custom policies than what need to be done
    4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
    5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
    compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
    Looking forward to hear from you people.
    Thanks
    Arvind
    Edited by: user8490871 on Apr 15, 2011 12:53 AM
    Edited by: user8490871 on Apr 15, 2011 12:53 AM

    Hi,
    I don't know why u get an error. Here are answers for additional questions:
    1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
    2. I don't know about other policies
    3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
    4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
    5. I can see OSB 11.1.1.3 download link here
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Regards,
    Milan

  • Issue with "read by other session" and a parallel MERGE query

    Hi everyone,
    we have run into an issue with a batch process updating a large table (12 million rows / a few GB, so it's not that large). The process is quite simple - load the 'increment' from a file into a working table (INCREMENT_TABLE) and apply it to the main table using a MERGE. The increment is rather small (usually less than 10k rows), but the MERGE runs for hours (literally) although the execution plan seems quite reasonable (can post it tomorrow, if needed).
    The first thing we've checked is AWR report, and we've noticed this:
    Top 5 Timed Foreground Events
    Event     Waits     Time(s)     Avg wait (ms)     % DB time     Wait Class
    DB CPU           10,086           43.82     
    read by other session     3,968,673     9,179     2     39.88     User I/O
    db file scattered read     1,058,889     2,307     2     10.02     User I/O
    db file sequential read     408,499     600     1     2.61     User I/O
    direct path read     132,430     459     3     1.99     User I/OSo obviously most of the time was consumed by "read by other session" wait event. There were no other queries running at the server, so in this case "other session" actually means "parallel processes" used to execute the same query. The main table (the one that's updated by the batch process) has "PARALLEL DEGREE 4" so Oracle spawns 4 processes.
    I'm not sure how to fix this. I've read a lot of details about "read by other session" but I'm not sure it's the root cause - in the end, when two processes read the same block, it's quite natural that only one does the physical I/O while the other waits. What really seems suspicious is the number of waits - 4 million waits means 4 million blocks, 8kB each. That's about 32GB - the table has about 4GB, and there are less than 10k rows updated. So 32 GB is a bit overkill (OK, there are indexes etc. but still, that's 8x the size of the table).
    So I'm thinking that the buffer cache is too small - one process reads the data into cache, then it's removed and read again. And again ...
    One of the recommendations I've read was to increase the PCTFREE, to eliminate 'hot blocks' - but wouldn't that make the problem even worse (more blocks to read and keep in the cache)? Or am I completely wrong?
    The database is 11gR2, the buffer cache is about 4GB. The storage is a SAN (but I don't think this is the bottleneck - according to the iostat results it performs much better in case of other batch jobs).

    OK, so a bit more details - we've managed to significantly decrease the estimated cost and runtime. All we had to do was a small change in the SQL - instead of
    MERGE /*+ parallel(D DEFAULT)*/ INTO T_NOTUNIFIED_CLIENT D /*+ append */
      USING (SELECT
          FROM TMP_SODW_BB) S
      ON (D.NCLIENT_KEY = S.NCLIENT_KEY AND D.CURRENT_RECORD = 'Y' AND S.DIFF_FLAG IN ('U', 'D'))
      ...(which is the query listed above) we have done this
    MERGE /*+ parallel(D DEFAULT)*/ INTO T_NOTUNIFIED_CLIENT D /*+ append */
      USING (SELECT
          FROM TMP_SODW_BB AND DIFF_FLAG IN ('U', 'D')) S
      ON (D.NCLIENT_KEY = S.NCLIENT_KEY AND D.CURRENT_RECORD = 'Y')
      ...i.e. we have moved the condition from the MERGE ON clause to the SELECT. And suddenly, the execution plan is this
    OPERATION                           OBJECT_NAME             OPTIONS             COST
    MERGE STATEMENT                                                                 239
      MERGE                             T_NOTUNIFIED_CLIENT
        PX COORDINATOR
          PX SEND                       :TQ10000                QC (RANDOM)         239
            VIEW
              NESTED LOOPS                                      OUTER               239
                PX BLOCK                                        ITERATOR
                  TABLE ACCESS          TMP_SODW_BB             FULL                2
                    Filter Predicates
                      OR
                        DIFF_FLAG='D'
                        DIFF_FLAG='U'
                  TABLE ACCESS          T_NOTUNIFIED_CLIENT       BY INDEX ROWID    3
                    INDEX               AK_UQ_NOTUNIF_T_NOTUNI    RANGE SCAN        2
                      Access Predicates
                        AND
                          D.NCLIENT_KEY(+)=NCLIENT_KEY
                          D.CURRENT_RECORD(+)='Y'
                      Filter Predicates
                        D.CURRENT_RECORD(+)='Y' Yes, I know the queries are not exactly the same - but we can fix that. The point is that the TMP_SODW_BB table contains 1639 rows in total, and 284 of them match the moved 'IN' condition. Even if we remove the condition altogether (i.e. 1639 rows have to be merged), the execution plan does not change (the cost increases to about 1300, which is proportional to the number of rows).
    But with the original IN condition (that turns into an OR combination of predicates) in the MERGE ON clausule, the cost suddenly skyrockets to 990.000 and it's damn slow. It seems like a problem with cost estimation, because once we remove one of the values (so there's only one value in the IN clausule), it works fine again. So I guess it's a planner/estimator issue ...

  • Issue with Alerts using BPM : Trigerred for Successful messages also

    Hi Everybody,
    I am working on configuring Alerts using BPM.
    I have followed the below blog by Micheal.
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    In BPM after the receive step I have used container and control steps to capture the Idoc Number as mentioned in the blog.
    I am facing an issue with it now as an Alert message is send to my Inbox even when the message is succesfully processed by the adapter.
    This is a strange behaviour when we talk about Alerts.
    Can somebody help me out in this?
    Thanks & Regards,
    Zabiulla

    Hi Zabiulla,
    Michal explained just the basic, the logic of your process is to build by yourself. Usually an alert will be raised inside of an exception branch. You can define exceptions for critical operations, f.e. send steps or transformations, the exception will be catched by jumping to the exception branch, where you can store a suitable reaction - f.e. an alert.
    Regards,
    Udo

  • Facing issue with adding systems in SMSY - solution manager

    Hi all,
        We are facing an issue with the solution manager in tcode smsy. When i create a system in the corresponding component say ECC with product version ECC6.0.The next screen shows that the <SID> has been added successfully. But when i navigate to the path and i unable to see the system SID which i have created.
       Again i have tried to create the same system with same SID, but it shows that " SID already exists "
       Also i need another suggestion, we have planned to add 60 systems in the same solution manager. Kindly suggest me , how many systems we can add in single solution manager in maximum and for configuring EWA ?
    Thanks
    Raj

    Hi Raj,
    You can delete the old system entry and then try creating the saem again..
    Also while creating mention correct product and version and the installation number.
    You can also use the assistant for this.
    Have you added all your servers and DB?
    regards,
    Raja. G
    Edited by: Raja Gunasekaran on Aug 28, 2009 1:26 PM

  • Facing issue with excel addin..

    Hi All,
    Am using excel addin from long back for pulling data from essbase.
    Now am facing issue like when am open excel sheet in can see Addin tab but am opening am not able to see Essbase to retreive.
    I went in to options and replaced with essexcln.xll file and i can able to see eebase and when i close excel sheet again facing same issue again i have replace essexcln.xll file.
    Am not understanding y its happenning pls help me out.
    Thanks,
    SM.

    Hi SM,
    Make sure its not in the Disabled Items of the Excel.
    Click on File > Options > Add-Ins > Manage: Disabled Items > GO.
    A new window will open where you can see the disabled items. There you can see the essexcln.xll file just click on it and enable it. Close your all excel sheet and then reopen.
    Hope this helps.
    Greetings
    SST.....

  • IExpenses-12.1.3 Facing Issue with 2 custom text fields on the standard OAF

    Dear All,
    We are facing problem where custom text fields on standard OAF page does not retain their values when we traverse back-forth on the OAF page.
    Here is the exact issue details
    1) We added 2 text fields(Attribute5 and Attribute6) through personalization on Mileage Line Details Screen(standard OAF page) of iExpenses 12.1.3.
    2) And business requirement is whenever user enters values into these fields, difference of these values is populated in third field which is standard field on that page.
    Issue
    When user enters values into above 2 fields, difference is calculated correctly however once he clicks on return page and comes back again on the detail page
    then all the standard fields retain their values but 2 custom fields have blank value.
    Is there any issue with personalization? or any other issue? Please suggest.
    Thanks,
    Mahesh

    Thanks Pratap for checking
    There is button named as "Calculate Amount" on the line details page so it is happening in below 2 scenario
    1) When User enters values in 2 fields and clicks on Calculate Amount Button then values get disappeared from custom fields
    2) When user clicks on return button, go to main page and clicks on detail button ( to come back on same line) then all the standard fields have valuece and custom one's disappeared.
    Thanks,
    Mahesh

  • Issue with Reports using costume measures - BPC 10.0 NW

    Hello BPC Colleagues,
    I’m having a problem with some BPC reports using costume measures and I would like to have your inputs about this issue.
    When all the reports are executed using a costume measures the report execution fails after a long time of execution (7min). The report has 1200 accounts and 57 company codes.
    In order to create trial balance we create these costume measure. Basically the measures are standars (with a few changes) and it works for limited reports (few account and companies) but we I try to executed for several accounts and companies I have the following error:
    “The execution of report Default Report failed. Please contact your administrator.”
    Error while communicating with the server
    Framework message:
    The underlying connection was close: An unexpected error occurred on a receive.
    Summary of the BPC LOG:
    |An error occurred while receiving the HTTP response to https://BPCENV.APPSET.MODEL. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.#
    We already increased the PSAPTEMP table and this didn’t fix the issue. At the beginning we were sure that this was an issue with table space but the error persist.
    I don’t think (maybe I’m wrong) that this is not an issue related to the costume measure or to authorizations since I can retrieve data if I reduce the request to less accounts an company, so in my point of view this looks like a performance issue.
    Just for you, below you will find the details about our measure that generate the problem:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    Finally is important to mention that we are using BPC 10.0 NW (SP08)
    If you have any suggestion for me I will appreciate.
    Thanks you a lot!

    Hi Vadim,
    Once again, thanks for your help.
    We already modified the YTD standard measure but is with that measure that I have problem. Do you think that my new formula is not efficient and for that reason I’m having this problem? Is this correct?.
    Below you will find the standard and costume measure. In red I marked the difference between these 2 formulas:
    YEAR TO DATE CUSTOME MESURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER), [MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA],CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    YEAR TO DATE STANDAR MEASURE:
    'IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[%TIMEYEARLEVEL%],[%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),
    IIF([%ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[%TIMEBASELEVEL%])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    If you have any suggestion to correct my formula I would really appreciate it.
    Regards,

  • I am facing issue with the new iOS 7 control center; where I am not able to stop Music or go to next track from this shortcut center. Any Solution or Settings ?

    Hi,
    I have upgraded my iphone 5 to new iOS7 where I see that we have a new shorcut feature Control Center to turn on Wifi, Blutooth, Air Play etc..In the same we have for MUSIC where I am not able to pause or stop music and also cant go to next track and issue withe those buttons.
    Please let me know any seetings needs to changed.
    Thanks
    Niranjan

    Last point...who archives? On my regular email page I now have the Archive icon to the left of my Delete icon which I would prefer was to the left, first in the line as this is the icon I use mostly. With Folders, my Sent and Trash lists, who needs to archive?
    I can help you only with the placement of the icon placement -- if you right-mouse click on the toolbar, then select Customize Toolbar, you can move an icon to where you want it to be.

  • Performance Issue with Concurrent Program

    Hi Gurus,
    I have a loader program which updates some information in the OM sales orders, this is been done using oe_order_pub.process_order and I do not see any performance issue in the package.
    Using this program i had tried to update some huge number of orders uand it gets completed in few minutes, but at times this program runs for more than 6-7 hours even with
    Pls could anyone advise what could be the issue with this?
    Thanks & Regards,
    Genoo

    I have a loader program which updates some information in the OM sales orders, this is been done using oe_order_pub.process_order and I do not see any performance issue in the package.
    Using this program i had tried to update some huge number of orders uand it gets completed in few minutes, but at times this program runs for more than 6-7 hours even with
    Pls could anyone advise what could be the issue with this?Do you have the statistics collected up to date?
    Can you find any errors in the database log file?
    Any locks in the database?
    Any invalid objects?
    Please enable trace and generate the TKPROF file once the program is completed.
    Thanks,
    Hussein

  • If you are facing issues with AutoVue after upgrading Java

    Oracle periodically releases security updates (CPU see Oracle Critical Patch Update - July 2014 for latest)  for all its software, Java is no exception to it.
    At every CPU, the AutoVue team monitors the impact and documents the steps required to have AutoVue working properly with your integrations
    For your reference, we attach the latest KM note here.  It is a highly recommended reading for customers using AutoVue Client/Server Deployment.
    KM Note 1615032.1 - AutoVue Client Usage with Java 7u51
    (https://support.oracle.com/epmos/faces/DocumentDisplay?id=1615032.1)
    Feel free to post any questions through this Community thread.

    Now, do you have to disconnect your printer everytime that you want to use it? If so, this is just a temporary fix and that's not something that you should have to do with regularity.
    It's GLARING, the amount of people who are having issues with this software. Is APPLE listening to its customers? I'm to the point where I'm about to NOT recommend an I-Pod to anyone that asks. If they do, that's what I'm recommending. I'll also steer them to this website so that they can see with their own eyes, the problems that everyone is having.
    This is totally ridiculous. I've been trying for THREE weeks to get my POS I-Pod Shuffle to download songs through I-Tunes 7.0. It's clear to me that these designers of this software haven't got a clue.
    Sorry for the rant but I've had it with this junk.

Maybe you are looking for

  • Refreshing image ( and not displaying the one in the cache )

    Hello , I made an app with many galleries stored locally but i made another section with a daily image, and this image is located on an ftp server http://XXXXX.com/image.png for example so everyday i upload the new one with the SAME name as the older

  • Why won't pages go full screen

    When ever I try to make Pages go fullscreen it wont and the application stops working. I have a Retina MBP with lion and am using Pages 09 version4.2. Does anyone know how to fix this or why it is happening? Thanks. By the way full screen works fine

  • How to export to WMV using Media Encoder in Adobe Design Premium?

    I am using Adobe Design Premium CS6 under Windows 7, I found out that there isn't plugin for Adobe Media Encoder to export WMV. Is there a way to add the WMV plugin or purchase from third party vendor?

  • No audio after windows update

    this goes for the hp a1320n as well as the a1324n and probably for more.  these models have a realtek high definition (hd) audio device with front panel inputs/outputs.  i had an issue where i lost sound after some windows updates.  there seems to be

  • Meta Data About Query

    Hi Friends, If we create a query , where meta data about this query will be  stored ? was it stored in bi server ,if it stored how can we find? Thanks & Regards, Ramnaresh.P.