How to correctly set jbo.ampool.maxavailablesize and minavailablesize ?

Hi all,
On performance tuning of our ADF BC application, during load test I notice from application server (10.1.3.3) console that :
Request Processing Time (seconds) 11.45
Requests per second 7.91
From the docs, it is recommended to set both jbo.ampool.maxavailablesize and minavailablesize to be mutiplication of the above values, i.e : 90.
We have about 12 application modules (AM) in the application, no nested one.
The question is :
1) Should I set maxavailablesize and minavailablesize of ALL the 12 application modules to be 90 ?
Or Should I set the values selectively based on which AMs mostly accessed by the application invoked by the user ?
2) After I change the maxavailablesize and minavailablesize to be 90, I notice that just after the OC4J start and no user access the application yet, the database already has 20-30 sessions opened, Is this normal ?
Thank you for your help,
xtanto

Can you be more specific about what docs are recommending this? I don't see why you would want the max available size and min available size to be the same thing, but I'd like to review what documentation you are referring to for context.
max pool size puts an upper limit on the number of AM's that can be created in that pool. If you hit this limit users wait until one of the existing instances is freed up.
max available size gives a desired maximum that the pool should shrink down to after a period of higher-than-expected load.
the min available size is the lowest number that the AM pool can shrink down to when the system is less loaded.
I'd need to see all of your pool parameters, understand if you're using JDBC datasource or URL connection, and understand whether you use jbo.doconnectionpooling= true or false to explain any given set of behavior.

Similar Messages

  • Stateless with Session Affinity and set jbo.ampool.maxpoolsize = 1

    Hi,
    I would like to know more about "Stateless with Session Affinity".
    If I set
    jbo.ampool.maxpoolsize = 1
    jbo.ampool.minavailablesize = 1
    jbo.ampool.maxavailablesize = 1
    in application module configuration
    and have two browser clients at different computers.
    If I update some values and post changed data to database without commit
    at one browser
    some updates using jdbc prepared statements through database connection
    with following code snippet in application module
    Implementation:
    private Connection getCurrentConnection() throws SQLException {
    PreparedStatement st = getDBTransaction().createPreparedStatement("commit",1);
    Connection conn = st.getConnection();
    st.close();
    return conn;
    , will the other web client see these post changed data with the only one
    application module through the only one database connection (ignores PS_TXN connection)?
    If the answer is "no", can someone explain why bc4j can do this?

    Hi,
    It's not clear to me from your post what you are trying to test. Generally speaking, every HttpSession (~browser) is assocated with a pooled AM that is associated with a single transaction context that is associated with a single "application" JDBC connection.
    HttpSession->AM->Txn->Connection
    The session affinity features of the BC4J framework maintain this logical dependency for you without necessarily having to tie up the physical resources at each layer.
    Now, if one session posts but does not commit then the other sessions will not "see" those changes (different AMx, Txns, Connections). Once a session does commit then those changes will be visible to other sessions. However, if those other sessions have already queried/cached the modified data then those sessions will not "see" it until their caches are refreshed. Please see the documentation for a description of BC4J caching and refreshing caches. The standard technique to refresh a VO cache is to invoke executeQuery.
    Hope this helps,
    JR

  • Jbo.ampool.maxavailablesize/jbo.recyclethreshold vs recent activity

    I have an ADF application with application pooling but not connection pooling. I have a situation where a recently active ADF application has its pool/session released.
    The number of active pools/sessions exceed the jbo.ampool.maxavailablesize/jbo.recyclethreshold. They have all been active for a shorter period of time than the idle instance timeout (jbo.ampool.maxinactiveage) (10 hours) and jbo.ampool.timetolive (10 hours) so there are no automatic choices for which pool/session to clean up. At this point, the pool/session that gets cleaned up does not appear to be the least recently used. Is there a setting that causes the least recently active pool/session to get cleaned up? If there was a choice between one active 1 hour ago and one active 1 minute ago, I would prefer it to clean up the 1 hour ago case.
    -- Chuck

    Any hints are appreciated
    Thanks
    Frank Brandstetter

  • How can I set BPEL server enviorment and create BPEL domain?

    Without use the http console, how can I set BPEL server enviorment and create BPEL domain?
    When I try to use API like below
    import com.oracle.bpel.client.Server;
    Server s = new Server(ServerAuthFactory.authenticate("oracle","localhost"));
    But I always got four exceptions and one warning like below:
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\ejb.properties (The system cannot find the path specified)
    Warning: unable to read transaction.interoperability config property
    java.io.FileNotFoundException: C:\Workspace\WOSEDISystem\BPEL_Domain_Creation\config\security.properties (The system cannot find the path specified)
    java.lang.Exception: Failed to create "ejb/collaxa/system/ServerBean" bean; exception reported is: "javax.naming.CommunicationException: Can't find SerialContextProvider
    Is it right to use com.oracle.bpel.client.Server like this, please help me.
    Best regards,
    Vita

    Anyone can help me? Because I need deploy BPEL process on production server, so I need the Java funtion to create domain. Thank you very much if you can tell me the correct method of using com.oracle.bpel.client.Server API.

  • How to correctly set puppet attributes with AppD?

    Hello,
    I'm trying to add a value to a puppet attribute within AppD. The value is an array and should look something like this ['ntp1.testlab.local'] for puppet to work. The problem is after AppD processes it, it ends up looking like this '["ntp1.testlab.local"]' in the node's manifest, which doesn't work. I've tried several variations with no joy. Can anyone please show me how to correctly set puppet variables within AppD?
    From the node manifest created by AppD:
    [root@ar-syslog-tlab-01 appd_nodes]# grep "Puppet_ntp_v3_1_2_servers =" /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-LON4FRQT.pp
      $Puppet_ntp_v3_1_2_servers = '["ntp1.testab.local"]'
    From stdout and stderr log available on VM at /tmp/25/CG_Puppet_ntp_v3.1.2_AI-REMEDIATE_NODE/task.stdlog.
    - !ruby/object:Puppet::Util::Log
          level: !ruby/sym err
          tags:
            - err
          message: "Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '['; expected ']' at /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-IEU4RJWH.pp:17 on node centos-lon4frqt"
          source: Puppet
    If I edit the node's manifest to read
           $Puppet_ntp_v3_1_2_servers = [ 'ntp1.testab.local' ]
    it works fine.
    Any tips would be greatly appreciated.
    Thanks.

    If it is a bug, you maybe have a workaround by adding a script task in the execution plan the Blueprint as the first task to edit /etc/puppetlabs/puppet/manifests/appd_nodes/CentOS-LON4FRQT.pp to modify the value of $Puppet_ntp_v3_1_2_servers, and then the rest tasks will get the correct value format for $Puppet_ntp_v3_1_2_servers.

  • How do I set up the "Objects and Attachments"

    Hi .... I'm new at WorkFlow (and SAP for that matter) and have inherited a WF that is already built.  In several of the steps I can see "Objects and Attachments" on the work item screen where a User can click to be directed to a transaction. For example, on one screen the User can click on "Incoming Invoice: 5105601690" to be directed to the Invoice Display Screen that is populated with information for that particular invoice (5105601690).
    I am looking at the WF using TCode SWDD and cannot figure our how the original developer set this up.  So my question is ..... for a particular WF step, how do you set up the "Objects and Attachments: area so that the User will be directed to a particular transaction when he/she clicks on it.
    Thanks in advance, and sorry for such a "juvenile" question.
    Dan A

    Thanks for your reply Rajkumar,
    I am looking at the screen you have directed me to.  Business object is BUS2081 (actually it is ZMMWBS2081 which is a customized version BUS2081) Method is "Display" and Attribute is "InvoiceDocNumber".  How do I know by looking at this that "Display" means Display Invoice?  What if I wanted to display the PO instead?
    Thanks for the "spoon feeding".
    Dan A

  • How do I set-up my IPhone and IPad to print wireless to a Epson xp-600 printer

    How do I set-up my iphone and ipad to wireless print using a epson xp-600 wireless printer. Instructions with the epson ask's to load the disc in each computor that you want to use this printer. Do I have to sync each device to the mac for this to happen

    Fortunately, the Epson XP-600 is AirPrint compatible!
    So this guide tells you the simple setup:
    AirPrint basics

  • How do I set up my drag and drop questionaire to export to a XML file?

    How do I set up my drag and drop questionaire to export to a
    XML file?
    I have a 70 seperate SWF files that pose a question and
    contain a drag and drop rank order response of 1,2,3,4.How do I set
    up a XML file that receives the responses.I don't understand how to
    do the Actionscript
    and get my responses to connect to the XML.Please
    Help!Thanks!
    Here's an example of my XML.
    <assessment>
    <sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
    <request>save_progress</request>
    <question>
    <number>1</number>
    <slot_a>2</slot_a>
    <slot_b>1</slot_b>
    <slot_c>4</slot_c>
    <slot_d>3</slot_d>
    </question>
    <question>
    <number>2</number>
    <slot_a>4</slot_a>
    <slot_b>3</slot_b>
    <slot_c>2</slot_c>
    <slot_d>1</slot_d>
    </question>
    <question>
    <number>3</number>
    <slot_a>1</slot_a>
    <slot_b>2</slot_b>
    <slot_c>3</slot_c>
    <slot_d>4</slot_d>
    </question>
    </assessment>

    Use XML.sendAndLoad.
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    You will need a server script to receive the XML structure
    and it depends on
    the server scripting language how you obtain that data. Then
    you can either
    populate a database or write to a static file or even email
    the XML data
    received from Flash.
    For a basic example, I have two links I use for students in
    my Flash
    courses:
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLASP/Ex01/XMLASPEchoEx01_D oc.php
    http://www.hosfordusa.com/ClickSystems/courses/flash/examples/XMLPHP/EX01/XMLPHPEchoEx01_D oc.php
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "kenpoian" <[email protected]> wrote in
    message
    news:e5i9hp$cs6$[email protected]..
    How do I set up my drag and drop questionaire to export to a
    XML file?
    I have a 70 seperate SWF files that pose a question and
    contain a drag and
    drop rank order response of 1,2,3,4.How do I set up a XML
    file that receives
    the responses.I don't understand how to do the Actionscript
    and get my responses to connect to the XML.Please
    Help!Thanks!
    Here's an example of my XML.
    <assessment>
    <sessionid>ffae926ea290ee93c3f26669c6c04a92</sessionid>
    <request>save_progress</request>
    <question>
    <number>1</number>
    <slot_a>2</slot_a>
    <slot_b>1</slot_b>
    <slot_c>4</slot_c>
    <slot_d>3</slot_d>
    </question>
    <question>
    <number>2</number>
    <slot_a>4</slot_a>
    <slot_b>3</slot_b>
    <slot_c>2</slot_c>
    <slot_d>1</slot_d>
    </question>
    <question>
    <number>3</number>
    <slot_a>1</slot_a>
    <slot_b>2</slot_b>
    <slot_c>3</slot_c>
    <slot_d>4</slot_d>
    </question>
    </assessment>

  • How do you set up the stock and weather ticker on notifications?

    How do you set up the stock and weather ticker on notifications?

    The next question will be what weather and stock apps will display data in Notifications similar to an iPhone. Sure there are lots of apps available but nothing I found will duplicate the features found on the iPhone.

  • How do I set up my ipad2 and MacBook to FaceTime each other when I am the user on both? Ie my apple account....

    How do I set up my ipad2 and MacBook to FaceTime each other when I am the user on both? Ie my apple account....is on both?

    To locate people, you should use the free "Find my Friends" service and app.
    See: http://www.apple.com/icloud/features/find-my.html

  • Image: How can I set the inner shadow and inner glow

    Hi
    How can I set the inner shadow and inner glow of a picture in a graphic frame? Any ideas which boss is to use?
    is there anywhere an example?
    Thanks
    Hans

    Hi<br /><br />I try to change the attributes (inner shadow and inner glow) using the following code:<br /><br />int CTest::test(UIDRef uidRefPageItem)<br />{<br />  int                                       iErr = ERR_NO;<br />  int                                       iReturn = -1;<br />  UID                                       uidColor = -1;<br />  IXPAttributeSuite::AttributeList          oAttrList;<br />  IXPAttributeSuite::AttributeTypeAndValue  oAttribute;<br /><br />  do {<br />    // Interface atrribute utils<br />    Utils<IXPAttributeUtils> ipAttributeUtils;<br />    // Set attribute list<br />    {<br />      IXPAttributeSuite::AttributeTypeAndValue  oAttribute(IXPAttributeSuite::kContentInnerShadowApply, kTrue);<br />      oAttrList.push_back(oAttribute);<br />    }<br />    {<br />      IXPAttributeSuite::AttributeTypeAndValue  oAttribute(IXPAttributeSuite::kContentInnerShadowBlendMode, kPMBlendNormal);<br />      oAttrList.push_back(oAttribute);<br />    }<br />    {<br />      IXPAttributeSuite::AttributeTypeAndValue  oAttribute(IXPAttributeSuite::kContentInnerShadowOpacity, 50.0);<br />      oAttrList.push_back(oAttribute);<br />    }<br />    UIDList uidList(uidRefPageItem);<br />    // Kommando ausführen<br />    iReturn = ipAttributeUtils->ApplyAttributesToPageItems(oAttrList, uidList);<br />    if (iReturn != kSuccess) {<br />      iErr = -1;<br />      break;<br />    }<br />  } while (kFalse);<br />  return iErr;<br />}<br /><br />iReturn is success, but this code doesn't change the attributes for an inner shadow.<br /><br />- What could be wrong?<br /><br />- Is it right to use the uid reference from the page item or is it neccessary to use the uid refernece of the image?<br /><br />Thanks for the support.<br /><br />Kind regards<br />Hans

  • How can I set jbo.sql92.LockTrailer system property in BC4J?

    We are using BC4J in 'SQL92' SQLBuilder mode and using MySQL database. row.lock() is not really locking the row. It seems, we need to set jbo.sql92.LockTrailer to correct value so that it will issue correct SQL statement for locking the row. How can I set this system property?

    Apparently this has something to do with the content of the TextObject. I added a new TextObject called "TestText" and put "this is test text" into it. I am able to set the value on that TextObject with no issues. But if the TextObject contains any formulas (Text4 in the sample below) the set throws an error, even if I try to set the Text to "" .
    foreach (ReportObject ro in letter.ReportDefinition.ReportObjects)
                        if (ro.Name == "TestText" || ro.Name == "Text4")
                            TextObject textObj = (ro as TextObject);
                            string oldText = textObj.Text;
                           // string oldText = "";
                            textObj.Text = oldText ;
    These reports are imported from CR9.2, does that have anything to do with it?

  • How do I set up IPad 2 and 2-4s IPhones with Apple?

    I have a 32 GB IPad 2 and ITunes on my Windows computer and just ordered 2-16 GB 4s IPhones for my wife and myself  I have 18.5 GB of data on my IPad, but only want to selectively include some of the applications and music on my IPhones.  I have IOS5.  Both IPhones will be loaded with appx 10 GB of data, but each will have different applications and music - all which is loaded on my IPad 2 and ITunes on my computer.  How do I do this most efficiently?
    1.  Do I use the same Apple ID# I use now on all devices, or set up a separate one on each device?
    2.  If I use the same Applie ID# on all devices, should I set up a different ICloud account on each device to keep the backups separate?
    3.  If I download an album on my IPhone, will either (or both) 1 and 2 allow that album to be downloaded on all of my devices through ICloud?
    I was advised that if I have a large music library to make sure the phones aren't set to autosync.  Does this sound correct?
    I'm trying to get answers to my questions lined up before they I receive them so I know how to best set them up.
    Thanks everyone.

    1)  You can use one id.  My wife and I do.
    2) Not sure.  Sorry.  We share one.
    3)  Yes.
    We sync via the cable.  We simply select what we want to sync on each device and sync.

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • How do i set a lines steepness and intercept

    I am trying to add a trend-line (as posted earlier) and do not know how to set a lines intercept of steepness please help
    (its a shape)
    and if possible how do i set its thickness

    Just apply what was described in the other thread.
    In column A I entered the numerical X values.
    In column B I used =A&"" to convert the numerical values into strings
    In column C I entered the Y values
    I will describe colum D later
    In A15 I entered:
    =MIN(A2,A12)
    In A16 I entered:
    =MAX(A2,A12)
    In C15 I entered:
    =FORECAST(A15,C2:C12,A2:A12)
    In C16 I entered:
    =FORECAST(A16,C2:C12,A2:A12)
    In cells D2 thru D12, I entered:
    =C$15+(C$16-C$15)*A/(A$16-A$15)
    Given that, I selected cells B2 thru D12 and asked for a line chart.
    I selected the blue line and, using the stroke button, I defined its stroke to 1.
    Yvan KOENIG (from FRANCE lundi 5 janvier 2009 14:05:15)

Maybe you are looking for

  • HT204053 Accounts linked together and we don't want to be!

    My teen  (L) daughter's girlfriend (J) is getting my contact updates on her iPhone; her boyfriend (D) uses one of her old phones and I got some of his photos; I think the girls used my iTunes account 2 years ago and connected us, but can't find setti

  • Enhance node of standard service in a new enhancement namespace - PI 7.0

    I'm hoping some body has encountered a similar scenario while enhancing a standard service. We are following [this guide |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0bb5687-00b2-2a10-ed8f-c9af69942e5d?quicklink=index&override

  • HT1338 how do i update java for my computer

    how do i update java for my computer

  • Business Area in Asset master

    Hi, I would like to change Business areas in some of the Asset masters, for that I have set the indicator " Time dependent management of Organizational units", when i change it in Asset master, the bus.area is changing from the beginning and an autom

  • How to create a substituion at Vendor master level

    HI, i need to make the House bank defaulted in vendor master while creating new vendor master in Xk01. For this i need to define substituion.Kindly provide me the path or transaction codes to create a substituion at vendor level.It would be a great h