{"id":1163,"date":"2009-05-15T03:23:07","date_gmt":"2009-05-15T07:23:07","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/"},"modified":"2009-05-15T03:23:07","modified_gmt":"2009-05-15T07:23:07","slug":"ebiz-java-caching-framework-r12","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/","title":{"rendered":"Ebiz Java Caching Framework R12"},"content":{"rendered":"<p><font color=\"#0000ff\"><u><strong>JVM Caching <\/strong>:-<\/u><br \/>\n<\/font><\/p>\n<p><font color=\"#0000ff\">Cache is simply a copy or pre-fetched date stored away from the original data, there are few well known computing caches hits us as bellow<\/font><\/p>\n<p><font color=\"#0000ff\"># Oracle Database Buffer Cache of the SGA<br \/>\n# Disk Cache<br \/>\n# CPU Cache<br \/>\n# Web Cache<br \/>\nand in this scenario it is Java Cache.<\/font><\/p>\n<p><font color=\"#0000ff\">Similarly data from EBS database is stored or cached in the OACoreGroup JVM memory at middle tier server, normally this is accomplished when data is accessed first. Also one more thing to remember when we talk about Java caching is that every OACoreGroup JVM has its own local Java Cache, this is different from others.<\/font><\/p>\n<p><u><strong><font color=\"#0000ff\">Here is the detailed architecture for caching framework.<\/font><\/strong><\/u><\/p>\n<p><font color=\"#0000ff\">\u00a0<a href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/1164\/\" rel=\"attachment wp-att-1164\"><img decoding=\"async\" src=\"https:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif\" \/><\/a><\/font><\/p>\n<p><u><font color=\"#0000ff\"><strong>How Java Caching helped in my Production System: <\/strong><\/font><\/u><\/p>\n<p><font color=\"#0000ff\">As caching is the words which is closely connected to the performance, my application performance increased because data is retrieved from JVM memory, which intern save network I\/O to my database disks, one more important thing is that most suitable to be cached would be<\/font><\/p>\n<p><font color=\"#0000ff\">1) Very expensive SQLs<br \/>\n2) Data which does not change<br \/>\n3) Data which frequently used<\/font><\/p>\n<p><font color=\"#0000ff\">Now, since production mostly we will have multiple middle tiers, even though Ebiz uses distributed cache model, there is a challenge in java caching, because objects in one JVM are propagated through to other JVMs using the same database, if we have multiple middle tiers there should be a synchronization method to synch up OACoreGroup JVMs.<\/font><\/p>\n<p><font color=\"#0000ff\">There are two synch up methods, one is JVMs talk to each other and send the updated object to the other JVMs. This is similar as our CRS data synch up in RAC, another one is JVM will just send an invalidation message for a specified object, this method is very common.<\/font><\/p>\n<p><font color=\"#0000ff\">Another practical scenario which we would consider in production system is about the updates that happens outside of the JVMs, either through forms interface or a batch process, here an invalidation business event is triggered from the database, sending the JVMs an invalidation message for any records that have been updated. If object is invalidated in JVM, next time new version will be stored in JVM.<\/font><\/p>\n<p><font color=\"#0000ff\">A very common issue that I noticed with our system is, changes to certain responsibilities are not taking effect immediately, this issue commonly reported after applying ATG RUP3, this is because ATG implemented java caching for responsibilities in RUP3. See Doc ID: 374309.1 for detail trouble shooting.<\/font><\/p>\n<p><u><font color=\"#0000ff\"><strong>Check Java Cache in your Env<\/strong> :<\/font><\/u><\/p>\n<p><font color=\"#0000ff\">login to URL http:\/\/&lt;machinename&gt;:&lt;port&gt; \/OA_HTML\/jtflogin.jsp<br \/>\nLogin as sysadmin and navigate to Performance -&gt; Components. <\/font><\/p>\n<p><font color=\"#0000ff\"><u><strong>Errors I faced:<\/strong><\/u><\/font><\/p>\n<p><font color=\"#0000ff\">1) As I mentioned above, Unable to see responsibilities after RUP3, solution Note: 374309.1<br \/>\n2) Some internal 404, \/OA_HTML\/AppsLogin not found\u00a0 browser error while accessing Apps, solution:<br \/>\n&#8211; Stop all services<br \/>\n&#8211; cd $INST_TOP\/ora\/10.1.3\/opmn\/conf<br \/>\n&#8211; remove .formfactor<br \/>\n&#8211; Start services<\/font><\/p>\n<p><font color=\"#0000ff\"><strong><br \/>\n<u>References:<\/u><\/strong><\/font><\/p>\n<p><font color=\"#0000ff\">1) JVM Tuning Recommendations for Apps 11i\u00a0 &#8212;&#8212;&#8211;&gt; http:\/\/blogs.oracle.com\/schan\/2007\/03\/01\/<br \/>\n2) Oracle Applications Java Caching Framework Developer&#8217;s &#8212;&#8212;&#8211;&gt; Metalink Note 275879.1<br \/>\n3) Diagnosing database invalidation issues with Java Cache for eBusiness Suite &#8212;&#8212;&#8211;&gt; Note 455194.1<br \/>\n<\/font><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JVM Caching :- Cache is simply a copy or pre-fetched date stored away from the original data, there are few [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[35],"tags":[],"class_list":["post-1163","post","type-post","status-publish","format-standard","hentry","category-r12"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ebiz Java Caching Framework R12 -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ebiz Java Caching Framework R12 -\" \/>\n<meta property=\"og:description\" content=\"JVM Caching :- Cache is simply a copy or pre-fetched date stored away from the original data, there are few [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-15T07:23:07+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/\",\"name\":\"Ebiz Java Caching Framework R12 -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif\",\"datePublished\":\"2009-05-15T07:23:07+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#primaryimage\",\"url\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif\",\"contentUrl\":\"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ebiz Java Caching Framework R12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ebiz Java Caching Framework R12 -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/","og_locale":"en_US","og_type":"article","og_title":"Ebiz Java Caching Framework R12 -","og_description":"JVM Caching :- Cache is simply a copy or pre-fetched date stored away from the original data, there are few [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/","article_published_time":"2009-05-15T07:23:07+00:00","og_image":[{"url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif","type":"","width":"","height":""}],"author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/","url":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/","name":"Ebiz Java Caching Framework R12 -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#primaryimage"},"image":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#primaryimage"},"thumbnailUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif","datePublished":"2009-05-15T07:23:07+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#primaryimage","url":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif","contentUrl":"http:\/\/onlineappsdba.com\/wp-content\/uploads\/2009\/05\/adv_cacheimage002.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2009\/05\/15\/ebiz-java-caching-framework-r12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"Ebiz Java Caching Framework R12"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1163"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1163\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}