Expiry-delay: how to evict an entry without "touching" it?

I have a cache (called pending mutation cache) with an expiry-delay set to 30 seconds and a listener (com.tangosol.net.events.EventInterceptor, EntryEvent.Type.REMOVED) configured on the same cache.
The objective: when an entry is evicted, the event interceptor code will be executed (some delayed operation we want to perform).
But entries are not evicted after 30 seconds.  They will be evicted when an attempt is made to retrieve this entry after the 30 seconds delay.  (based on note in documentation)
In my case, no client accesses the cache entries, so even though entries are expired, the event insterceptor is never triggered.
This code is part of a pending mutation pattern (delayed cache modifications - based on expiry-delay of pending mutation cache) I am trying to implement.
Any ideas how to achieve this?  Is there an elegant way to introduce a deamon thread that will sweep all entries in this cache and trigger the eviction?
Tks!

I have a cache (called pending mutation cache) with an expiry-delay set to 30 seconds and a listener (com.tangosol.net.events.EventInterceptor, EntryEvent.Type.REMOVED) configured on the same cache.
The objective: when an entry is evicted, the event interceptor code will be executed (some delayed operation we want to perform).
But entries are not evicted after 30 seconds.  They will be evicted when an attempt is made to retrieve this entry after the 30 seconds delay.  (based on note in documentation)
In my case, no client accesses the cache entries, so even though entries are expired, the event insterceptor is never triggered.
This code is part of a pending mutation pattern (delayed cache modifications - based on expiry-delay of pending mutation cache) I am trying to implement.
Any ideas how to achieve this?  Is there an elegant way to introduce a deamon thread that will sweep all entries in this cache and trigger the eviction?
Tks!

Similar Messages

  • How to publish blog entries without dates on Iweb?

    Hi,I'm very new to Iweb and would appreciate some help.
    Is there an option for me to post my blog entries without having to show the dates the blog entries are created on the site? I just want the titles to e shown but not the dates.. I deleted the dates on the template but after publishing, the dates still show..
    Thanks

    Have a look here to see if it will help you...
    http://roddymckay.com/Satellite/Slideshow.html
    This is done with PostCard but its the same procedure.
    You might also want to look at JAlbum...
    http://jalbum.net/
    Their "chameleon" template is very similar and allows you to create a link back to your site. Its freeware and they now offer you free server space too!
    You don't have to use "Made on a Mac" (or any other stuff) - just delete it and add your own footer with your copyright information.

  • How to have possible entries without making permanent objects

    Hello everyone!
    Can I make a possible entries list just by simple coding and not by having a reference to a table?
    What I mean is that all the possible entries for a box will just be declared inside my program (specifically, report program).
    Example, I have a text box named NAME. The possible entries will just be Ric and Bullet but Ric and Bullet is not in any table but will just be declared in my program.
    Thank you! _

    see the code and if helpful reward points
    tables: tvdir.
    selection-screen skip 2.
      parameter p_tabnm(30) as listbox visible length 30 obligatory.
      selection-screen skip 1.
      selection-screen begin of block s1 with frame title text-001.
    Add values to list box
    at selection-screen output.
      type-pools: vrm.
      data: name  type vrm_id,
            list  type vrm_values,
            value like line of list.
      name = 'P_TABNM'.
      refresh list.
      value-key = 'V_024'.
      value-text = text-002. "'V_024-Purchasing Groups'.
      append value to list.
      value-key = 'V_T024D'.
      value-text = text-003. "'V_T024D-MRP Controllers'.
      append value to list.
      value-key = 'ZT604'.
      value-text = text-004. "'T604-Commodity Codes'.
      append value to list.
      value-key = 'T179'.
      value-text = text-005. "'T179-Product Hierarchies'.
      append value to list.
      value-key = 'TVM1T'.
      value-text = text-006. "'TVM1T-Business Manager'.
      append value to list.
      value-key = 'TVM2T'.
      value-text = text-007. "'TVM2T-Division manager'.
      append value to list.
      value-key = 'TVM3T'.
      value-text = text-008. "'TVM3T-Director'.
      append value to list.
      value-key = 'V_TVV2'.
      value-text = text-009. "'V_TVV2-Customer Group 2'.
      append value to list.
      call function 'VRM_SET_VALUES'
           exporting
                id     = name
                values = list.
    start-of-selection.

  • I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos". How can I do that without losing some of the features

    I want to use my IPOD Classic 160gb for notepad entries in addition to the music and books I listen to. It is set to "Open ITunes when connected to computer" and "manually manage music and videos".  How can I do that without losing some of the features of those two?   I just want to add a feature.  Thanks

    Settings>Store (or iTunes & App Stores if you are running iOS6)>Apple ID. Tap your son's ID and sign out. Sign in with your ID and password.
    You shouldn't lose the music, but if you try to update any apps that you bought with the family ID, you will have to use that password that is linked with that ID in order to update.
    Avoid downloading past purchased content with the old ID if you can since you will associate the iPad with the old ID for 90 days and you will lock yourself out of your own, new ID for that period of time. Read more about associated devices in iTunes here.
    iTunes Store: Associating a device or computer to your Apple ID

  • Set a new expiry delay for entries added in the cache by a read through

    Hi,
    I have an application that uses an Oracle Coherence cache backed by a database. Each item that is added in the cache must have a custom expiry delay computed from its content.
    Is it possible to set a new expiry delay for the entries loaded in the cache from the database by a read through operation?
    I tried setting a new expiry delay in the load method of the BinaryEntryStore, but it is ignored and the default expiry of the corresponding cache is used instead. Also I tried using a MapTrigger, but the entries added in the cache by a read through operation are not intercepted by the MapTrigger.
    Thanks,
    Adrian

    What we do (not sure if it proper way, but it worked for us) is extend the LocalCache and override the put method.
    public Object put(
    Object oKey,
    Object oValue,
    long expiry)
    long newexpiry = xxxxx;
    return super.put(oKey, oValue, newexpiry);
    }

  • Read-Through Caching with expiry-delay and near cache (front scheme)

    We are experiencing a problem with our custom CacheLoader and near cache together with expiry-delay on the backing map scheme.
    I was under the assumption that it was possible to have an expiry-delay configured on the backing-scheme and that the near cache object was evicted when backing object was evicted. But according to our tests we have to put an expiry-delay on the front scheme too.
    Is my assumption correct that there will not be automatic eviction on the near cache (front scheme)?
    With this config, near cache is never cleared:
                 <near-scheme>
                      <scheme-name>config-part</scheme-name>
                      <front-scheme>
                            <local-scheme />
                      </front-scheme>
                      <back-scheme>
                            <distributed-scheme>
                                  <scheme-ref>config-part-distributed</scheme-ref>
                            </distributed-scheme>
                      </back-scheme>
                <autostart>true</autostart>
                </near-scheme>
                <distributed-scheme>
                      <scheme-name>config-part-distributed</scheme-name>
                      <service-name>partDistributedCacheService</service-name>
                      <thread-count>10</thread-count>
                      <backing-map-scheme>
                            <read-write-backing-map-scheme>
                                  <read-only>true</read-only>
                                  <scheme-name>partStatusScheme</scheme-name>
                                  <internal-cache-scheme>
                                        <local-scheme>
                                              <scheme-name>part-eviction</scheme-name>
                                              <expiry-delay>30s</expiry-delay>
                                        </local-scheme>
                                  </internal-cache-scheme>
                                  <cachestore-scheme>
                                        <class-scheme>
                                              <class-name>net.jakeri.test.PingCacheLoader</class-name>
                                        </class-scheme>
                                  </cachestore-scheme>
                                  <refresh-ahead-factor>0.5</refresh-ahead-factor>
                            </read-write-backing-map-scheme>
                      </backing-map-scheme>
                      <autostart>true</autostart>
                      <local-storage system-property="tangosol.coherence.config.distributed.localstorage">true</local-storage>
                </distributed-scheme>With this config (added expiry-delay on front-scheme), near cache gets cleared.
            <near-scheme>
                      <scheme-name>config-part</scheme-name>
                      <front-scheme>
                            <local-scheme>
                                 <expiry-delay>15s</expiry-delay>
                            </local-scheme>
                      </front-scheme>
                      <back-scheme>
                            <distributed-scheme>
                                  <scheme-ref>config-part-distributed</scheme-ref>
                            </distributed-scheme>
                      </back-scheme>
                <autostart>true</autostart>
                </near-scheme>
                <distributed-scheme>
                      <scheme-name>config-part-distributed</scheme-name>
                      <service-name>partDistributedCacheService</service-name>
                      <thread-count>10</thread-count>
                      <backing-map-scheme>
                            <read-write-backing-map-scheme>
                                  <read-only>true</read-only>
                                  <scheme-name>partStatusScheme</scheme-name>
                                  <internal-cache-scheme>
                                        <local-scheme>
                                              <scheme-name>part-eviction</scheme-name>
                                              <expiry-delay>30s</expiry-delay>
                                        </local-scheme>
                                  </internal-cache-scheme>
                                  <cachestore-scheme>
                                        <class-scheme>
                                              <class-name>net.jakeri.test.PingCacheLoader</class-name>
                                        </class-scheme>
                                  </cachestore-scheme>
                                  <refresh-ahead-factor>0.5</refresh-ahead-factor>
                            </read-write-backing-map-scheme>
                      </backing-map-scheme>
                      <autostart>true</autostart>
                      <local-storage system-property="tangosol.coherence.config.distributed.localstorage">true</local-storage>
                </distributed-scheme>

    Hi Jakkke,
    The Near Cache scheme allows to have configurable levels of cache coherency from the most basic expiry based cache to invalidation based cache to data versioning cache depending on the coherency requirements. The Near Cache is commonly used to achieve the performance of replicated cache without losing the scalability aspects of replicated cache and this is achieved by having a subset of data (based on MRU or MFU) in the <front-scheme> of the near cache and the complete set of data in the <back-scheme> of near cache. The <back-scheme> updates can automatically trigger events to invalidate the entries in the <front-scheme> based on the invalidation strategy (present, all, none, auto) configured for the near cache.
    If you want to expire the entries in the <front-scheme> and <back-scheme>, you need to specify an expiry-delay on both the schemes as mentioned by you in the last example. Now if you are expiring the items in the <back-scheme> for the reason that they get loaded again from the cache-store but the <front-scheme> keys remain same (only the values should be refreshed from the cache store) then you need not set the expiry-delay on the <front-scheme> rather mention the invalidation-strategy as present. But if you want to have a different set of entries in <front-scheme> after a specified expiry delay then you need to mention it in the <front-scheme> configuration.
    The near cache has the capability to keep front scheme and back scheme data in sync but the expiry of entries is not synced. Always, front-scheme is a subset of back-scheme.
    Hope this helps!
    Cheers,
    NJ

  • CacheLoader different expiry-delay or time-to-live for different keys

    I am now using a class which implements CacheLoader interface. Ii have two issues-
    1. Different expiry-delay or time-to-live for different keys- how do i do this? I can specify only one expiry-delay in configuration file. And i am not calling cache.put() so i could specify ttl. We are trying to use same class for multiple keys. But problem is that we have different expiry-delay requirements for those keys. Do we have to use different cache for those keys? hoping to avoid that as we will have lots of them.
    2. refresh-ahead-factor is not working.
    We are using Coherence 3.4.2 GE
    Below is the server configuration file
    <cache-config>
    <caching-scheme-mapping>
    <cache-mapping>
              <cache-name>reference-data-cache</cache-name>
              <scheme-name>reference-data-cache-dist-scheme</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
         <distributed-scheme>
              <scheme-name>reference-data-cache-dist-scheme</scheme-name>
              <service-name>ReferenceDataBackingService</service-name>
              <backing-map-scheme>
                   <read-write-backing-map-scheme>
                        <refresh-ahead-factor>0.2</refresh-ahead-factor>
                        <internal-cache-scheme>
                             <local-scheme>
                             <scheme-name>reference-local-scheme</scheme-name>
                             <eviction-policy>LRU</eviction-policy>
                             <expiry-delay>20m</expiry-delay>
                             <flush-delay>2m</flush-delay>
                             </local-scheme>
                        </internal-cache-scheme>
                        <cachestore-scheme>
                             <class-scheme>
                                  <class-name>ReferenceDataLoader</class-name>
                                  <init-params>
                                       <init-param>
                                            <param-type>java.lang.String</param-type>
                                            <param-value>{cache-name}</param-value>
                                       </init-param>
                                  </init-params>
                             </class-scheme>
                        </cachestore-scheme>
                   </read-write-backing-map-scheme>
              </backing-map-scheme>
              <autostart>true</autostart>
         </distributed-scheme>
    </caching-schemes>

    Hi
    Refresh ahead is only activated when you do a get. Could this be the problem? Here is an excerpt from a good forum thread on this subject
    Unable to get refresh-ahead functionality working
    Yes, it works as expected. refresh-ahead works approximately like this :
    public Object get(Object oKey) {
    Entry entry = getEntry();
    if (entry != null and entry is about to expire) {
    schedule refresh();
    Also, generic Coherence questions should be posted in this forum:
    http://forums.oracle.com/forums/forum.jspa;jsessionid=8d92079330d63b6fca03d69245ae9170d4607c2284ca.e38QbNuQbx8Kbi0LbhaMaxuKahr0?forumID=480&start=0
    thanks
    Paul
    Paul

  • How to create excise invoice without material document

    Hi,
    I want to create excise invoice for a subsequent credit note. I am agreed to give additional amount to my supplier for which i have not paid to him, now when i issue a subsequent credit note, how to create a excise invoice and do the excise entries without a material document.
    Please suggest a solution
    Regards,
    Ashish

    Go to T Code J1IH.
    Select Additional Excise. Replace the document number by the vendors excise invoice. Enter the excise duties in lower box and click on Determine GL accounts button to simulate and then post.

  • How to add the entries and how to delete the entries from custom Z-table?

    Hi Experts,
    My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3.
    Here how to add the entries from program to Z-table.???
    And one more requirement is I want to provide a deletion checkbox in selection screen . Initial it was unchecked. If I am giving tick mark then the entries should be deleted from above custom Z-tables. this all will done in backgroung job?
    Could you please guide me the logic how to crack this???
    Let me know if you need more Info
    Thanks
    Sanju

    Hi Sanjana,
    What you can do is to use the ABAP keyword INSERT or MODIFY to add or modify records to a given database table. Here are the syntax taken from SAP documentation:
    *Insert Statement
    INSERT dbtab
    Syntax
    INSERT { {INTO target VALUES source }
           | {     target FROM   source } }.
    Effect
    The INSERT statement inserts one or more rows specified in source in the database table specified in target. The two variants with INTO and VALUES or without INTO with FROM behave identically, with the exception that you cannot specify any internal tables in source after VALUES.
    System Fields
    The INSERT statement sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 At least one row was inserted.
    4 At least one row could not be inserted, because the database table already contains a row with the same primary key or a unique secondary index.
    The INSERT statement sets sy-dbcnt to the number of rows inserted.
    Note
    The inserted rows are finally included in the table in the next database commit. Up until this point, they can still be removed by a database rollback.
    *Modify Statement
    MODIFY dbtab
    Syntax
    MODIFY target FROM source.
    Effect
    The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines.
    System fields
    The MODIFY statement sets the values of the sy-subrc and sy-dbcnt system fields.
    sy-subrc Meaning
    0 At least one line is inserted or changed.
    4 At least one line could not be processed since there is already a line with the same unique name secondary index in the database table.
    The MODIFY statement sets sy-dbcnt to the number of processed lines.
    Note
    The changes are transferred finally to the database table with the next database commit. Up to that point, they can be reversed using a database rollback.
    Hope it helps...
    P.S. Please award points if it helps...

  • Search Active Directory Entries without password authentication

    JNDI, Active Directory
    I am newbie to JDNI and Active Directory.
    I am trying to create a Web Application
    which provides domain users with the information
    of the Active Directory group user are belonging.
    I know how to access Active Directory and search Entries
    with JNDI like below codes.
    Hashtable env = new Hashtable();
    env.put(Context.PROVIDER_URL, "LDAP://URL:389");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.SECURITY_AUTHENTICATION,"none");
    env.put(Context.REFERRAL, "follow");
    env.put("java.naming.ldap.version" , "3" );
    env.put(Context.SECURITY_PRINCIPAL, "uid=admin,ou=system");
    env.put(Context.SECURITY_CREDENTIALS, "secret");
    .....But I want know how to search Entries without Active Directory password
    because I don't tell users their Active Directory password.
    I don't have any idea. Could you give me good idea?
    Sorry for my English. Thank you.
    Danno

    It means to allow "Anonymous LOGON" and "Everyone" users to search entries in AD, I think.Sorry, can't help. In OpenLDAP it meansallow * searchor possiblyallow * auth
    You mean that if I do it, will the codes below be unnecessary in Java?That's not only what I meant, it is what I said, concerning the principal and credentials lines.
    You don't need the SECURITY_AUTHENTICATION line, I never use it with LDAP whether I'm providing credentials or not (and in the cases where you are supplying the principal and credentials, it certainly doesn't make any sense to specify 'none'.)

  • How to Remove duplicate entries in address book

    After syncing with iCloud (three computers and a phone) suddenly I am seeing multiple entries for the same contact in the address book and multiple entries in the calendars for the same event.  Can anyone suggest how to stop this and how to delete the multiple entries without having to manually delete each item?  The new Address book does noit seem to have a list view that shows the entire address book 9only shows addresses with two or three alphabets...
    Is there a setting to prevent this from happening?  I had similar experiences with the old Mobile.me and was hoping the problem had been fixed.
    The value of iCloud is lessened when these issues crop up and there seems to be no defined method to fix the problem.  I see numerous entries on the Support Community boards with the same problem.
    Any suggestions?  Thank you.

    Hi,
    Take a look at Address Book Account Basics (with iCloud). and Duplicate address Book entries.
    I too had the same issue and this helped solve it.
    Hope this helps.

  • How to purge the config without deleting reports

    Hi all,
    How to quisce the config without deleting reports from reports tab.
    first I quisced and retired and then try to create the sonfig with the same name" it showing that name already exists"
    If I purged the config and created the config with the same name, its creating successfully but all the reports are deleting.
    Out TP is firing on us, if we delete the reports in reports tab.
    Please suggest with new idea.
    Regarsd

    Hi ,
    If I am not purging the config, I am getting below exception
    2009.11.09 at 04:16:01:443: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:132)
         at oracle.tip.adapter.b2b.data.DBContext.resetRuntime(DBContext.java:283)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:495)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.repos.core.driver.CatalogDriver.checkDirtyList(CatalogDriver.java:399)
         at oracle.tip.repos.core.driver.CatalogDriver.setRuntimeActiveandQuiescing(CatalogDriver.java:523)
         at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
         ... 4 more
    2009.11.09 at 04:16:01:445: Thread-44: B2B - (DEBUG) DBContext commit: Enter
    2009.11.09 at 04:16:01:450: Thread-44: Repository - (ERROR) Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.repos.core.driver.CatalogTransaction.changeObjectState(CatalogTransaction.java:184)
         at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1504)
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:250)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:16:01:454: Thread-44: BusinessLogicLayer - (ERROR) Error -: AIP-11059: Invalid object {0} state {1} to persist
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:250)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:16:01:457: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:256)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:16:01:463: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11059: Invalid object {0} state {1} to persist : Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:256)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-11059: Invalid object {0} state {1} to persist : Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:250)
         ... 4 more
    Caused by: Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.repos.core.driver.CatalogTransaction.changeObjectState(CatalogTransaction.java:184)
         at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1504)
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
         ... 5 more
    2009.11.09 at 04:27:59:850: Thread-44: B2B - (DEBUG) oracle.tip.adapter.b2b.data.MsgListener:onMessage Enter
    2009.11.09 at 04:27:59:851: Thread-44: B2B - (DEBUG) DBContext beginTransaction: Enter
    2009.11.09 at 04:27:59:863: Thread-44: B2B - (DEBUG) DBContext beginTransaction: Leave
    2009.11.09 at 04:27:59:865: Thread-44: Repository - (ERROR) CatalogDriver - error switching context
    2009.11.09 at 04:27:59:867: Thread-44: Repository - (ERROR) CacheService dirty list contains 1 entries
    2009.11.09 at 04:28:00:836: Thread-44: Repository - (ERROR) Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.repos.core.driver.CatalogDriver.checkDirtyList(CatalogDriver.java:399)
         at oracle.tip.repos.core.driver.CatalogDriver.setRuntimeActiveandQuiescing(CatalogDriver.java:523)
         at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
         at oracle.tip.adapter.b2b.data.DBContext.resetRuntime(DBContext.java:283)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:495)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:28:00:839: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:132)
         at oracle.tip.adapter.b2b.data.DBContext.resetRuntime(DBContext.java:283)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:495)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:28:00:842: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:132)
         at oracle.tip.adapter.b2b.data.DBContext.resetRuntime(DBContext.java:283)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:495)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.repos.core.driver.CatalogDriver.checkDirtyList(CatalogDriver.java:399)
         at oracle.tip.repos.core.driver.CatalogDriver.setRuntimeActiveandQuiescing(CatalogDriver.java:523)
         at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
         ... 4 more
    2009.11.09 at 04:28:00:844: Thread-44: B2B - (ERROR) MsgListener:onMessage Activate DBContext failed with Exception - Error -: AIP-50025: Repository error
    2009.11.09 at 04:28:00:847: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:132)
         at oracle.tip.adapter.b2b.data.DBContext.resetRuntime(DBContext.java:283)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:495)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-11435: Cannot switch configuration context when entries exist in Persistency Service dirty list. Transaction must be flushed before switching context.
         at oracle.tip.repos.core.driver.CatalogDriver.checkDirtyList(CatalogDriver.java:399)
         at oracle.tip.repos.core.driver.CatalogDriver.setRuntimeActiveandQuiescing(CatalogDriver.java:523)
         at oracle.tip.buslogic.common.ExecutionContextImpl.setRuntimeActiveandQuiescing(ExecutionContextImpl.java:799)
         at oracle.tip.adapter.b2b.data.B2BExecutionContext.setRuntimeActiveAndQuiescing(B2BExecutionContext.java:130)
         ... 4 more
    2009.11.09 at 04:28:00:849: Thread-44: B2B - (DEBUG) DBContext commit: Enter
    2009.11.09 at 04:28:01:838: Thread-44: Repository - (ERROR) Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.repos.core.driver.CatalogTransaction.changeObjectState(CatalogTransaction.java:184)
         at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1504)
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:250)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:28:01:842: Thread-44: BusinessLogicLayer - (ERROR) Error -: AIP-11059: Invalid object {0} state {1} to persist
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:250)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:28:01:844: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:256)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    2009.11.09 at 04:28:01:850: Thread-44: B2B - (ERROR) Error -: AIP-50025: Repository error : Error -: AIP-11059: Invalid object {0} state {1} to persist : Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:256)
         at oracle.tip.adapter.b2b.msgproc.DbAccess.doCommit(DbAccess.java:2485)
         at oracle.tip.adapter.b2b.data.MsgListener.onMessage(MsgListener.java:505)
         at oracle.tip.adapter.b2b.data.MsgListener.run(MsgListener.java:400)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: Error -: AIP-11059: Invalid object {0} state {1} to persist : Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:72)
         at oracle.tip.adapter.b2b.data.DBContext.commit(DBContext.java:250)
         ... 4 more
    Caused by: Error -: AIP-11059: Invalid object BusinessMessage_C58F state 2 to persist
         at oracle.tip.repos.core.driver.CatalogTransaction.changeObjectState(CatalogTransaction.java:184)
         at oracle.tip.repos.core.driver.CatalogTransaction.commit(CatalogTransaction.java:1504)
         at oracle.tip.buslogic.common.Transaction.commit(Transaction.java:70)
         ... 5 more

  • Purchasing Org.&Company Code fields how to hide,Reqd.entry,Opt. entry,Displ

    hi, how to hide, reqd.entry, opt. entry and display these 2 fields(Reqd.entry  Opt. entry  Display) in PO

    Hi,
    You cannot create a PO without specifying POrg and Company Code. It is standard in SAP. Though you can make other fields as Optional, Required entry and Display through Define Screen Layout at Document Level in SPRO.
    Can you please tell us why you want to Hide POrg and Company Code?
    Thnx.

  • Userexit for populate profit center entry without material in T.code CORO.

    Hi guru's
    we are running T.code. CORO.. we want to populate profit center entry without material. can any one tell me the exact user-exit used for this and . can you tell me the procedure how to find the specific userexit trigger at that point while we are running any T.code.
    Thanks in Advance..
    GSANA
    user exist in PP for transaction code CORO-process order without matl code to populate profit center entry, can u plz find out that & send it to me..

    Thank you all for your valuable input.
    Srinivasa, your suggestion is very good, especially when calculation of variances/WIP is required. But again as there is no cost relevant material where the WIP/Variances will be settled during settlement process?
    1) PP need to create process order without material because changeover cost should not be charged to either material and capacity hours are consumed during changeover. 2) CO need to identify the cost of changeover which should be charged to cost center. So far we have achieved both of these two objectives by the following activities:
    Creation of Process Order without material using CORO T.Code     say 3 hours of changeover occurred we create order with quantity of 3 Hours. And confirmation of activities quantity 3 using COR6N so cost center is credited by 3 x rate per hour. As there is a separate Process Order type for Changeover we can identify changeover quantity and cost in a given period.
    After contributors feedback in this thread I have come to conclusion that I don't need to assign Settlement Profile and PA Structure to Changeover Process Order type. So no need to run Process Order settlement. As there is no specific required for Changeover WIP/Variances as well.

  • User entry without restriction

    Hi Guys,
    I was wondering if there was way of getting a user entry without actually restricting based on the entry.
    I need the user to enter a year value (mandatory)and based on that, I have to create another variable using User exit. How can that be done?
    Thanks,
    Doniv

    Hi,
    As Andrew mentioned:
    1) Create a variable on 0calyear with 'user entry' as processing,if there is no standard variable for 0calyear.(say VAR1)
    2) Take any key figure in to columns , and then restrict it with above variable(restriction with user entered year)
    3) Hide the above key figure.
    4) Now creat a variable with processing 'customer exit' and representation 'Single value' on date field which you want  use in restrriction .(say VAR2)
    5) fill this varible with the help of user entered value for variable created in step 1.Here you will fill the fisrt date of the year.
    6) Use the variable in VAR2 as follws in the restriction.
    DATE < VAR2.
    7) Now creat another variable with processing 'customer exit' and representation 'Single value' on date field which you want  use in restrriction .(say VAR3)
    8) fill this varible with the help of user entered value for variable created in step 1.Here you will fill the last date of the year.
    9) Use the variable in VAR3 as follws in the restriction.
    DATE > VAR3.
    10) At last in the restriction you will have like this:
    DATE < VAR2.
    DATE > VAR3.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for

  • IMac late 2006 OS

    What is the newest OS I can install on this iMac? Thanks for any help. Late 2006 2 GHz Intel Core 2 Duo Memory - 2GB 667 MH RAM It currently has Mac OS X Lion 10.7.5 11G63

  • Configurations required for sender/reciever mail adapters

    Hi, I am working on a scenario, which involves mail adapter configuration. Mail Adapter scenarios – SAP Exchange Infrastructure: /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure XI: HTML e-mails from th

  • Oracle Weblogic portal 10.3.5 domain upgrade error

    Hi, I am trying to upgrade oracle weblogic portal 10.2 to 10.3.5. When I upgrade my domain, I get the following error. ERROR [prepare] com.oracle.cie.wizard.WizardController - Uncaught Exception java.lang.NoClassDefFoundError: com/bea/plateng/domain/

  • Expanded Content for Premier Elements 9

    I have downloaded the expanded content for Premier Elements 9, but it is not recognized by the program. I installed the content after in downloaded, but  I still only have a very limited selection of templates, menus, and themes.   I don't know what

  • [SOLVED] Failed to access the Internet after disabling networkmanager

    How can I get access to the Internet after networkmanager is down? I disabled the networkmanager and uncommented the static IP settings I used to use and reboot, but I'm still unable to get access to the Internet. (Failed to ping 8.8.8.8, which means