Thursday, October 11, 2012

Passivation and Activation in Oracle ADF—jbo.passivationstore

The passivation/activation implementation in Oracle ADF Business Components[1] is designed to keep transaction states across multiple requests or sessions.

In this article, we will discuss one aspect of the passivation/activation implementation in Oracle Fusion Applications—the passivation store.

Passivation and Activation


There are two kinds of pools in use when running a typical Fusion web application:

  • Application Module (AM) pools
  • Database connection pools

An application module pool is a collection of instances of a single application module type which are shared by multiple application clients. As for database connection pools, they are usually maintained by the J2EE container. You can read [9] for more details. To tune Fusion Application's performance, you need to understand both pools[8].

Each time a user accesses a resource and that resource uses an AM to display data, the Application Module pool manager assigns an AM instance to the user session. If the pool runs out of connections, the AM pool Manager passivates the state of one of the sessions (either in the database or in a file), thus releasing an instance and assigning it to the new session. When the user that was passivated resumes their work, ADF will activate their state from the configured store. This is done automatically for you.

Passivation Store


In order to manage application module pending work, the application module pool asks AM instances to "snapshot" their state to XML at different times. If the value of the jbo.dofailover configuration parameter is true (default), then this XML snapshotting will happen each time the AM instance is released to the pool.

The AM instance snapshots can be saved either in the database or in a file. To configure it, you can set jbo.passivationstore to be:
  • database
  • file

File Store


If you set jbo.passivationstore to be file, by default passivation should go to use.dir. However, you can change the location by setting:
  • -Djbo.tmpdir
For example, in our CRM Fusion Application, we have selected file to be the passivation store. But, we didn't set its location (i..e jbo.tmpdir). By default, it used "user.dir":
  • <Installation Home>/instance/domains/<Server Name>/CRMDomain

To find out where "user.dir" points to on Linux, you can do:

$ls -l /proc/<pid>/cwd
cwd -> /c1/mt/rup1/instance/domains/myserver/CRMDomain


So, going to that directory, you can find a bunch of files used by CRM for passivation:

-rw-r----- 1 mygrp testuser 6380   Oct 11 10:04 BCacc13d9BCD
-rw-r----- 1 mygrp testuser 263    Oct 11 10:04 BC325e092dBCD
-rw-r----- 1 mygrp testuser 127186 Oct 11 10:04 BC166a7e7fBCD


DB Store


If you set jbo.passivationstore to be database (default), XML snapshots will be written to a BLOB column in a row of the PS_TXN table in the database.

While the file-based option is a little faster, unless your multiple application server instances share a file system, then the the database-backed passivation scheme is the most robust for application server-farm and failover scenarios.

Configuration Parameters


To summarize, the following configuration parameters are related to this topic:
  • jbo.dofailover
    • Enables eager passivation or not
  • jbo.passivationstore
    • Dictates the store type
  • jbo.tmpdir
    • Specifies the location for file store
You can reference [10] for other application module pool configuration parameters.

References

  1. Oracle ADF Essentials
  2. Reusable ADF Components—Application Modules
  3. Java System Properties
  4. Why is the user.dir system property working in Java?
  5. ADF BC Passivation/Activation and SQL Execution Tuning
  6. Demystifying ADF BC Passivation and Activation
  7. Ensuring that your ADF Application is Passivation/Activation Safe
  8. Understanding Application Module Pooling Concepts and Configuration Parameters
  9. Monitoring WebLogic JDBC Connection Pool at Runtime
  10. What You May Need to Know About Application Module Pool Parameters

82 comments:

  1. Thanks and keep posting such an informative blog.
    DLF Chanakyapuri

    ReplyDelete
  2. Thanks for sharing this useful information! Hope that you will continue with the kind of stuff you are doing.
    Godrej Ashok Vihar

    ReplyDelete
  3. Check this luxury apartment Prestige Waterford and thanks for sharing this wonderful article.

    ReplyDelete
  4. http://prsync.com/prestigecity/

    https://in.tixuz.com/real-estate/sale/apartments/master-plan-of-new-prelaunch-project-at-prestigecity/13255144

    https://gen.in.ipaddress.com/www.prestigecity.gen.in

    https://prestigecity.peatix.com/

    https://peatix.com/event/1866124/view?k=41bc8c22f0a090c9e5a70523a225fd519df3bfe5

    ReplyDelete
  5. ATS Floral Pathway

    FLoor Plan

    Location Map

    Just read your post and would like to thank you for maintaining such a cool blog.

    ReplyDelete
  6. Good blog Thanks for the wonderful informations
    Brigade El Dorado

    ReplyDelete
  7. Prestige City New Luxury Township Project at Sarjapur Road East Bangalore. Which consist of luxury Plots by the name Prestige Great Acres Bangalore

    ReplyDelete
  8. Prestige Great Acres New Luxury Plots at
    Prestige City Plots This development may be a mixed development gated community located at Sarjapur Road off Bellary Road offering Luxury Lifestyle Plots capacious residential Houses tagged with best interiors and exteriors.

    ReplyDelete
  9. Prestige Marigold is an Prelaunching residential plots in North BAngalore
    https://www.prestigemarigoldplots.co.in/

    ReplyDelete
  10. Brigade Komarla Heights Located in novel locale of Sy No: 74/2B, 75, 78/2, 78/4 Chikkalasandra Village, Uttarahalli Hobli Subramanyapura Main Road, South, Taluk, Bengaluru, Karnataka 560061, India of South Bangalore, this project involves 18.18 acres of land with 1620 units of 1, 2, 2.5 & 3 BHK apartments.

    ReplyDelete
  11. Prestige Avalon Park Sarjapur Road in Bangalore is one of the undoubted hotspots of real estate today. Over the past few years the locality has witnessed unprecedented growth owing to upscale development of social and physical infrastructure

    ReplyDelete
  12. Prestige Avalon Park is an new residential project designed by the Prestige Group.

    ReplyDelete
  13. Godrej Park Retreat is a premium lifestyle high-rise residential apartment project By Godrej Properties in Sarjapur Road, East Bangalore.
    Refer: https://linktr.ee/godrejparkretreats.in

    ReplyDelete
  14. Renowned Schools like The Euro School, Indus International School, Silver Oaks International School, Oakridge International School nearer to The Prestige City , & Inventure Academy are present within contiguous radius of Sarjapur Road. The Ritz-Carlton, Octave Hotel & Spa, Treebo Orchard Greens

    ReplyDelete
  15. The prestige city initiatives are assembled with the ornate modern-day brilliantly crafted services. Their premises are podium to beautifully laid homes with the luxurious latest diligent leisure, entertainment, sports activities, protection, and network amenities.
    Visit our blogs

    ReplyDelete
  16. The Prestige Sarjapur City is a new residential luxury Apartment, Villas & Plots spread over 180 acres of land with possession on 2026 onwards. Prestige Avalon Park, Prestige Aspen Greens, Prestige Eden Park, Prestige Great Acres.

    ReplyDelete
  17. The Prestige City is a mixed development villa project by Prestige Group off Sarjapur road in Bangalore. This project offers 3 and 4 BHK luxury villas in Bangalore. Sarjapur Road will have yet another landmark with the launch of Prestige City Villas. With marvellous villa creations all around Bangalore, Prestige Group will mark a new township located in the pristine environs of Sarjapura Lake.

    https://www.prestigecity.gen.in/

    https://www.yepdesk.com/prestigecitys
    https://www.kooapp.com/profile/Prestigecitys
    https://sketchfab.com/prestigecitys#
    https://prestigecitys.simdif.com/

    ReplyDelete
  18. Brigade Komarla Heights, an admirably cast familial constituents by Brigade beer bellies is arising in elite locales of Padmanabhanagar, off Uttarahalli predominant road – Bangalore. the idea is diligently dropped over large land obstacles to act 2 and three bedroom luxury apartments set within the delineated locales of South Bangalore near to all essential municipal and physical infrastructural armatures.
    https://www.brigadekomarlaheights.org.in/
    https://the-dots.com/projects/how-to-invest-in-brigade-komarla-heights-522643
    https://www.bloglovin.com/@brigadekomarlaheightsvilla
    https://www.wevideo.com/view/2386672257
    https://start.me/p/5vMRdn/brigade-komarla-heights-mega-launch

    ReplyDelete
  19. Latest upcoming real estate property development project of the Brigade Group and comprises of elite and luxurious residential apartment units set in salubrious and aesthetically pleasing surroundings. Brigade Komarla Heights will be a sumptuous development that will not only provide comfortable and elegant residential units for the residents of the development, but will also provide a full life in terms of the amenities provided atBrigade Komarla Heights.

    ReplyDelete
  20. One advantage of investing in a property at The Prestige City is the location. The Prestige Group puts much thought into all its developments and the developmental projects undertaken by this group are always in the best location possible.

    https://www.eventbrite.com/e/the-prestige-city-launching-at-sarjapur-road-east-bangalore-tickets-168799416599
    https://www.dailymotion.com/video/x83s6rf
    https://www.wevideo.com/view/2352059737
    https://fundrazr.com/profiles/the-prestige-city-4
    https://blogfreely.net/thecityprestige/stunning-apartments-coming-soon-the-prestige-city
    http://uid.me/theprestigecity_city
    https://pawoo.net/web/statuses/106833224581170634
    https://www.bakespace.com/recipes/detail/Prosperous-Residentials-at-The-Prestige-City/93336/
    http://www.travelful.net/location/4697474/india/ultramodern-residential-apartments-at-the-prestige-city

    ReplyDelete
  21. Brigade Komarla Heights format is a decent living style. In this way the units are very much ventilated and lit with plentiful regular light. The Brigade Group expert well handles the space of this healthy task.

    ReplyDelete
  22. Shriram Chirping Grove, is among the sumptuous private advancement by Shriram Properties, arranged in the most pursued private regions of East Bangalore. The advancement offers extravagance condos with different arrangements, fitting the private prerequisites for both little and huge families.
    https://brigadekomarl.livejournal.com/363.html
    https://www.merchantcircle.com/residential-apartments-for-sale-in-bangalore-by-brigade-komarla-heigh-mankato-mn
    https://forum.mfscripts.com/threads/upcoming-residential-apartment-for-sale-in-bangalore.4496/
    https://givingtuesday.mightycause.com/event/Brigadekomarlaheights

    ReplyDelete
  23. Godrej Three Parks offers you luxury 2, 3 & 4 BHK apartments in Ashok Vihar, Delhi. This project is nothing but the most breathtaking place to live in.

    ReplyDelete
  24. Prestige Cosmos is an upcoming luxury project in Mulund, Mumbai by Prestige Group. It will spread across 30 acres.

    ReplyDelete
  25. Brigade Komarla Heights is an exceptional property planned with favored 2 and 3 BHK extravagance homes.
    https://www.allaboutjazz.com/member-brigade-komarla-heights
    https://jonnegroni.com/2014/05/27/andys-dad-toy-story/
    http://www.indiassets.com/view/9254/launching-residential-apartments-for-sale.html

    ReplyDelete
  26. Brigade Komarla Heights are extraordinary, with striking elements. It's really astonishing for see such splendid offices in such a requesting place. Observing empty land is just something difficult in Padmanabhanagar.
    Brigade Komarla Heights
    Brigade Komarla Heights Bangalore
    Brigade Komarla Heights Amenities
    Brigade Komarla Heights Specifications
    Brigade Komarla Heights Ongoing

    ReplyDelete
  27. The Prestige City is one-of-its type residential task via way of means of status Limited withinside the colourful region of Bangalore. The charming landscaping and elegance functions the final existence amidst excellent comforts. It has the choice of three BHK and four BHK residential flats that guarantees spacious living.
    Situated at sarjapura, Whitefield, Karnataka 560067 comes with super connectivity this is simply off Whitefield Main Road, Hope Farm Junction, ITPL, and lots of Business hubs are in near vicinity. Even the metro hall is inside clean attain from this task
    https://www.prestigecity.gen.in/

    ReplyDelete
  28. prestige city sarjapur It is newly released belongings in Undri. Here you may enjoy the pristine dwelling areas and experience the warm temperature of privileged life. The clean blue skies and the luxuriant vegetables will really attraction your every and each day.
    This cope with is ideal as they provide designed 1 bed room and a couple of bedrooms residential flats withinside the maximum occurring vacation spot of Undri. This is an area to experience the happiness in addition to get all of the high-quality vibes

    ReplyDelete
  29. Prestige City is a project where the residents can live with full comfort and enjoy the panoramic views from their homes. Offering aesthetically pleasing 3 and 4 BHK flats loaded with vast range of amenities. The residential property is equipped with modern amenities and provides world-class quality living to the residents.

    It values nature by combining the architecture of the building with lush green surroundings that is extensively designed. Excellent connectivity, superb amenities and marvel designing makes it more prime than others.

    ReplyDelete
  30. Prestige City is a project where the residents can live with full comfort and enjoy the panoramic views from their homes. Offering aesthetically pleasing 3 and 4 BHK flats loaded with vast range of amenities. The residential property is equipped with modern amenities and provides world-class quality living to the residents.

    It values nature by combining the architecture of the building with lush green surroundings that is extensively designed. Excellent connectivity, superb amenities and marvel designing makes it more prime than others.
    https://www.theprestigecity.gen.in/

    ReplyDelete
  31. This mega township Vaishnavi Life consist houses and Apartments. Spread on a huge acres of land with multiple housing blocks.

    ReplyDelete
  32. The Prestige City allows you to encompass a manner of existence of grandeur and beauty with its assemblage of well crafted offerings for snug indulgences.

    ReplyDelete
  33. Prestige City Meridian Park has each residing vicinity has been meticulously designed which exudes fashion and elegance.

    ReplyDelete
  34. Mahindra Eden Kanakapura Road is the stunning houses with excessive ceilings tasks an extravagance and every area gives an over-the-pinnacle experience.

    ReplyDelete
  35. Digital Marketing Company In Patna What We Do Our active project management makes your life easier. We like to follow the process because we know that our strategy has been applied, tested and proven. We work in a variety of areas, from strategy and research to design and traffic generation. We consciously think about your business and your interests, work with you and ask many questions about your business. We want to know everything about you-your goals,

    ReplyDelete
  36. The Prestige City The Prestige City Bangalore is your region to be that you may name your own home created to enchant you withinside the charm.
    It is a gateway of your desires this is nestling alongside the highly-priced avenues which have four specific boulevards. The best plantation of uniquely amassed and idea species as there are 10 styles of themed gardens that encompass Organic Garden, Hammock Garden, DIY Garden, Aromatic Garden, Butterfly Garden, Bamboo Garden, Tropical Garden, Zen Garden, Therapeutic Garden and Xeriscape. This Prestige new challenge Bangalore will allow you to flavor the organically grown end result withinside the orchards which have eight sorts Chickoo, Coconut, Pomegranate, Jackfruit, Mango, Papaya, Fig and Orange.

    ReplyDelete
  37. Mahindra Eden our passion is to create landmarks that meet global standards, embody our family values ​​and are built on a trusted heritage spanning four decades. century. We are guided by our vision of "Building a Better Life". Mahindra Eden empowers and makes you a better version of yourself by reaching your full potential and living a fulfilling life.
    All of our developments offer the highest level of design and workmanship, unsurpassed quality, unmatched service - placing Prestige developments among the best in the world. Our homes are designed for greater productivity, amenities designed and organized to equip opportunity! Whether it's greenery/open spaces designed to live a healthier and more fulfilling life or magnanimity to fit the same mentality, parties and clubs to connect or find the right person. With the right people, Prestige ensures that your most important next step is within reach.

    ReplyDelete
  38. While trying to fortify its traction in the southern housing market, Prestige Group will send off The Prestige City, a top notch blended improvement found near Sarjapur Lake.
    The Prestige City

    ReplyDelete
  39. Prestige City Sarjapur is a modernistic designed residential project through the Prestige Group

    ReplyDelete
  40. Mahindra Eden Kanakapura Road is high-quality clean and hassle-unfastened as shopping for furnishings from a retail shop with whole guarantee of your hard earned cash going at the proper hands.

    ReplyDelete
  41. Prestige Meridian Park are top class 2 and three BHK devices and the variety of devices to be had at the premises are but to be announced.

    ReplyDelete
  42. theprestige city bangalore which is residential project

    ReplyDelete
  43. This comment has been removed by the author.

    ReplyDelete
  44. Backlink Indexing Real estate in Bangalore is expected to see a resurgence with an increase in savings levels in 2021 and asking prices are also expected to be better; last quarter. Bangalore real estate may recover and shine sooner than other metropolitan cities in India. Given the situation of real estate transactions in the third quarter of 2020, transactions will increase during this time

    ReplyDelete
  45. It is inspiring in design, stirring in luxury and enveloped by verdant surroundings in troupe with many famous schools, hospitals, shopping destinations, tech parks and every civic amenity required, so that you spend less time on the road and more at home.
    Backlink Indexing
    Backlink Indexing
    Backlink Indexing

    ReplyDelete
  46. Tata Carnatica Bangalore apartments with luxury surroundings and developements near Bangalore airport Tata Carnatica Price

    ReplyDelete
  47. Godrej splendour apartments for sale near HSR layout Bangalore

    ReplyDelete
  48. Prestige Groups apartments in Bangalore with 45+ amenities in East Bangalore in Whitefield it is called as Prestige Serenity Shores

    ReplyDelete
  49. Largest Township in India from Prestige groups in Bangalore Prestige city sarjapur150 acres property Near ORR

    ReplyDelete
  50. Residential Apartments in Bangalore, Chennai, Hyderabad, Kochi, Mumbai & Mangalore. Flats & Luxury Villas by Prestige Group.

    Prestige Project

    ReplyDelete
  51. Finding best Immigration Consultant in Canada? So we will help to apply Student, Work, Immigrant, sponsorship, visitor visa in Canada. Apply Now! Immigration Consultant in Canada

    ReplyDelete
  52. This comment has been removed by the author.

    ReplyDelete
  53. Birla Navya luxurious residential project in Sector-63A Gurgaon, one of the best floor residences in Gurgaon. This project offers 3, 3.5 & 4.5 BHK premium independent floors with health & fitness oriented amenities, outdoor air purification system, modular kitchen with hob & chimney. Project location has good connectivity with NH-48, Rapid Metro & IGI Airport. Weather-friendly modern building design in this project. It is one of the first green-rated townships in Gurgaon.

    Birla Navya

    ReplyDelete
  54. Have you been looking for an experienced nearshore specialist for a long time? Then I highly recommend this site nearshoring swiss! Here you can find an experienced specialist who will help you with this! All workers are located in Ukraine, this will improve the productivity of the company and save money that you would have spent on taxes and more!

    ReplyDelete
  55. Brigade Oasis offers luxury apartments in Bangalore. This project comes in 1 BHK, 2 BHK, 2.5 BHK, and 3 BHK. These Bangalore Residential Apartments offer a rejuvenating and truly inspiring living experience. Brigade Oasis is a discreet yet simple blend of modernity and elegance by Bangalore

    ReplyDelete
  56. Brigade Oasis
    offers 580 premier 1, 2 and 3 BHK apartments on G+19 floors on 5 hectares. The next step is the development of land for mixed use. The Brigade Oasis Tower Home Project in Bangalore City covers many acres of land. The project includes his stunning UI and location map with great design and wide range of shastras.

    ReplyDelete
  57. Godrej Athena is the brand new residential Roman Design Apartment project launched in Indiranagar Bangalore. The massive residential enclave, Godrej Athena features the very best in Godrej Properties’ premium living segment. The project offers spacious 2,3,3.5 BHK Apartments with luxurious features. Beautiful landscapes all around Godrej Athena with over 6 acres of parks and open spaces make it more special & Elite. The builder is guaranteed to bring a quality living experience to the community of Indiranagar, Central Bangalore with brilliant architecture and an equivalent Roman lifestyle in Athena.

    ReplyDelete
  58. Apex park square is commercial project launched by well known Apex Group at Sector 16B, Noida Extension. It offers studio apartments & retail space at affordable price.

    ReplyDelete
  59. Godrej Green Estate Sonipat offers a range of residential options, including apartments, villas, and plots, catering to different preferences and requirements. The project focuses on providing modern and sustainable homes with thoughtful design and high-quality construction.

    ReplyDelete
  60. Prestige Park Ridge Location Located on Bannerghatta Road, Bengaluru, Prestige Park Ridge is a symbol of excellence in Prestige Group's projects. Offering a wide range of housing options including 1, 2, and 3 BHK flats, residents can be assured of excellent amenities.

    ReplyDelete
  61. Prestige Kings County a luxury residence by Prestige Group located in Electronic City, Rajapura, Bengaluru. This excellent project is spread over a large area and has a number of units ranging in size from 1,200 sq ft to 2,400 sq ft.

    ReplyDelete
  62. Hero Homes Sector 104 Gurgaon epitomizes the fusion of modern living with a legacy of excellence.
    Read Also - Hero Homes Sector 104 Gurgaon

    ReplyDelete
  63. Sumadhura Panorama, where modern luxury meets panoramic views. Situated in the heart of Bangalore, Sumadhura Panorama offers a blend of sophistication and serenity, providing residents with an unparalleled living experience.
    Read Also - Sumadhura Panorama

    ReplyDelete
  64. Prestige City Indirapuram, where urban sophistication meets serene living. Nestled in one of the most sought-after locations, this premium residential community offers an unparalleled lifestyle with world-class amenities, modern architecture, and lush green surroundings.
    Read Also - Prestige City Indirapuram

    ReplyDelete
  65. L&T Realty Panvel is a prominent real estate development division of Larsen & Toubro (L&T), a major Indian multinational conglomerate.
    L&T Realty Panvel

    ReplyDelete