ADF BC: default jbo.ampool.maxpoolsize

Hello

The "Guide of Oracle® Application Development Framework Developer for developers of forms/4GL 10 g Release 3 (10.1.3.0) B25947-01" has a Table 29-2, 'Parameters of Configuration Application Module pool sizing', which says for jbo.ampool.maxpoolsize'the default value is 5000 cases.'.»

I used JDeveloper 10.1.3.4.0 to create a sample application for the default value of jbo.ampool.maxpoolsize.
See http://www.consideringred.com/files/oracle/2010/MaxpoolsizeDefaultApp-v0.01.zip

It has a module of application with code like this:
public class ScottServiceImpl
     extends ApplicationModuleImpl
     implements ScottService
{
//...
     public void printMaxpoolsizeValues()
     {
          System.out.println("ScottServiceImpl.printMaxpoolsizeValues() : begin");
          System.out.println("AMPOOL_MAX_POOL_SIZE_DEFAULT = "
               + PropertyConstants.AMPOOL_MAX_POOL_SIZE_DEFAULT);
          System.out.println("System " + PropertyConstants.ENV_AMPOOL_MAX_POOL_SIZE
               + " = " + System.getProperty(PropertyConstants.ENV_AMPOOL_MAX_POOL_SIZE));
          System.out.println("PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE"
               + " : getName() = " + PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getName()
               + " : getDefault() = " + PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getDefault());
          System.out.println("JboEnvUtil = " + JboEnvUtil.getProperty(
               PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getName()));
          System.out.println("JboEnvUtil with default = " + JboEnvUtil.getProperty(
               PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getName(),
               PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getDefault()));
          Hashtable vEnvironment = getSession().getEnvironment();
          System.out.println("session environment = " + vEnvironment.get(
               PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getName()));
          ApplicationPool vApplicationPool = getApplicationPool(
               "maxpoolsizedefault.model.ScottServiceLocal");
          Hashtable vAPEnvironment = vApplicationPool.getEnvironment();
          System.out.println("ApplicationPool environment = " + vAPEnvironment.get(
               PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE.getName()));
          System.out.println("vApplicationPool.getMaxPoolSize() = "
               + vApplicationPool.getMaxPoolSize());
          System.out.println("ScottServiceImpl.printMaxpoolsizeValues() : end");
     }
//...
}
The result in the Panel Log in JDeveloper is like this:
ScottServiceImpl.printMaxpoolsizeValues() : begin
AMPOOL_MAX_POOL_SIZE_DEFAULT = 2147483647
System jbo.ampool.maxpoolsize = null
PropertyMetadata.ENV_AMPOOL_MAX_POOL_SIZE : getName() = jbo.ampool.maxpoolsize : getDefault() = 2147483647
JboEnvUtil = 2147483647
JboEnvUtil with default = 2147483647
session environment = null
ApplicationPool environment = null
vApplicationPool.getMaxPoolSize() = 2147483647
ScottServiceImpl.printMaxpoolsizeValues() : end
question:
(q1) What is the value default real to jbo.ampool.maxpoolsize, 5000 or 2147483647, or something else?

(Note that this example shows a small part of the confusion that can occur during execution, which requires improvement 7540624, 'need an API to access the runtime property values', mentioned in Re: [Poll] what are the 3 top improvements you want to see in JDeveloper.)

Thank you very much
Jan Vervecken

In 10.1.3.x, the default value is the large number of that show you.

In 11.1.1.2.0, the default value is 4096

Tags: Java

Similar Questions

  • vs 10g 11g: VO bind variable values stale on jbo.ampool.doampooling = false

    Hi gang

    (JDev 11g Build 5188)

    I'm currently such tests recommended by the merger of 11g Guide to test the management of State ADF BC with jbo.ampool.doampooling = false (see paragraphs 36 and 37). I see different behaviors under 11 g vs 10 g.

    I have a single VO updateable with a query that is limited by a single binding variable. I have a JSF page with the link as command inputText variable, executeWithParams one operating control commandButton, and a table showing the results of the VO.

    Less than 10g, I can:

    (1) open the page
    (2) enter a value (say X) to the variable binding, click the executeWithParams button and correctly to see results in the table corresponding to the value of the bind variable X.
    (3) enter a different value for the binding variable (say Y), click on the executeWithParams button and correctly to see results in the table corresponding to the value of the value of the bind variable Y.

    Less than 11g I get different behaviors for # 3. Instead when I press the button executeWithParams with the value defined on, the table always show results for the previous value of the variable X bind?

    It should be noted that if I set jbo.ampool.doampooling = true, the problem goes away, but probably the error reappears in a system of production under load, so I need to find what is happening here.

    Maybe I see a bug, but given the large amount of changes 11 g and large amount of documents that I read on the management of the State, it could just be that I missed something vital to 11 g.

    Does anyone have any opinions, what is happening here?

    Thank you for your help in advance.

    CM.

    Thanks Chris - I took possession of the SR.

    Kind regards

    Didier.

  • JBO.ampool.doampooling set to false during execution.

    Hello everyone,

    Is it possible to set the configuration property jbo.ampool.doampooling set to false at run time?
    If possible, how can I do?

    Thanks in advance.

    See the section * 40.2.4 how to value Configuration properties programmatically * in
    http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31974/bcampool.htm#sm0301

    Thank you
    Nini

  • TP 4, ADF BC: Anyone able to put jbo.ampool.sessioncookiefactoryclass?

    Cannot set this property for App module Configuration.
    Always returns the default :-(
    Bug?

    See short text not yet documented examples my blog page for examples #14 and #129 a tip on that.

  • Select the top row of ADF Table default

    jdev 11.1.1. 6

    In my application, I have a fall towards the bass and based on the value, select from the drop-down list on the af: table is filled (using the drop-down list vcl property, I'm populating the VO based on which the table is).

    The table has "selectionListener" defined in a method at the bean so that every time a line is selected some operation.

    < af:table value = "#{bindings." RoleVO1.collectionModel}.

    var = "row" rows = "#{bindings." RoleVO1.rangeSize}"width ="500 ".

    "partialTriggers =": soc1: cb1: cb2.

    emptyText = "#{bindings." RoleVO1.viewable? "{'No data to display.': 'Access Denied.'}".

    fetchSize = "#{bindings." RoleVO1.rangeSize}.

    rowBandingInterval = '0 '.

    selectedRowKeys = ' #{bindings. " RoleVO1.collectionModel.selectedRow}.

    selectionListener = "#{CRoleARoleBean.roleTableSelection} '"

    rowSelection = "single" id = "t1".

    editingMode = "clickToEdit."

    Binding = "#{CRoleARoleBean.roleTable}" >

    I have here a certain way, I can make the top row of the selected table and trigger the selectionListener by programming the dropdown each time value is bud?

    Please notify

    by selecting the default line can be obtained by adding after the vcl in drop-down list:

    this.roleTable.setRowIndex (1);

    RowKeySet ch = this.roleTable.getSelectedRowKeys ();

    PS. Clear();

    PS. Add (this.roleTable.getRowKey ());

    AdfFacesContext.getCurrentInstance () .addPartialTarget (this.roleTable);

    Make sure the displayRow selected = is defined in the table property

  • JBO.ampool.initpoolsize

    How to add?

    Right-click on the ApplicationModule-> Configuration-> Edit-> properties (third tab). It there and change it. Once you change it, it will appear in the list you see.

    Edited by: Valhery 17-8 - 2010 0:23

  • AM pool for WLG with MNG servers Configuration

    Hi guys,.

    I'm going to live production my first project of the ADF. The project is a ADF 12.1.3.0 with a module of an application. The server has 4 nodes mng with load balancing and I am confused with pool configuration AM.

    The application will be used for 100 users simultaneously (allow about at the moment) and 600 users max. The database a 3000 process parameters and 4560 sessions.  I read about setting up AM in documents of the Oracle and other items.

    On the recommendation of Oracle: http://docs.oracle.com/middleware/1213/core/ASPER/adf.htm#ASPER99797

    Initial size of Pool (current users of more than 10%): 110

    Maximum Pool size (20% more Initial Pool size): 132

    Referenced Pool size: default 10

    Minimum size: default 0

    The maximum available size: default value 25

    Instance Idle Timeout: default 600 seconds

    Pool polling interval: default 600 seconds


    This configuration is good? It is similar to found in this post: http://blog.dreamix.eu/oracle-2/adf-business-components-performance-tuning


    OK, but in others post for AM Configuration factor managing servers: https://rmirchan.wordpress.com/2013/11/09/adf-application-module-tuning/


    Initial Pool size (more than 10% of current users / mng): 110 / 4 = 27.5-> about 30 aprox

    Maximum Pool size (20% more Initial Pool size): 36

    Referenced Pool Size (-20% more than the max pool size): 30

    Minimum size (25% of jbo.ampool.maxavailablesize): 9

    Maximum size available (maximum number of available AM case. Evenas a jbo.ampool.maxpoolsize value): 36

    Instance Idle Timeout: default 600 seconds

    Pool polling interval: default 600 seconds


    The differences between the two configurations are very large. What is the right configuration or more appropriate?


    Thank you very much!


    And I'm sorry because I have a little experience in the ADF and I don't understand all of the concepts, but I am a student


    No problem.

    > I think aura initial size, maximum Pool size and size of the reference Pool, right? The question is what are the values?

    I don't know which is the problem, but it is not difficult to try.

    You can define for example. to 50 all 05:00 pool settings you mentioned (initial pool size, maximum Pool size, referenced, Pool size size available Minimum, maximum size available).

    But something caught my attention.

    You said, "in the server of the application pool is configured: pool activate (of course) ...". »

    What setting do you mean exactly, did you mean setting jbo.doconnectionpooling?

    The name jbo.doconnectionpooling is bad – this parameter actually means "disconnect Application Module on release.

    According to Oracle documentation:

    «Note: the notion of disconnect request their release at the pool module captures better than the actual function that does the name of related configuration setting (jbo.doconnectionpooling).»

    Setting jbo.doconnectionpooling = false does not mean there is no database connection pooling to occur.

    What this means is that the module of the application is not disconnected from its JDBC connection on arrival back to the application module pool. »

    It would be desirable to set the parameter Module Application disconnected when output to true (default),

    three others including the parameters (jbo.ampool.timetolive = 1, jbo.ampool.maxinactiveage =, jbo.txn.disconnect_level = 1)

    as Florin Marcus often points out, for example. in the blog post was mentioned:

    Pooling Application module for the Production of tuning

    Kind regards

    Zlatko

  • A shared application module create a lot of locks

    Hello world

    First of all, I don't know if I do use just to the SharedAM application level...

    We put your static data, we also store the results of some described as "static" procedure stored in a hash table and a few general indicator Boolean. Sometimes return us a set of rows according to a criterion of view, once again, we are changing the data and return an array or a vector and some time, we return (or change) the local variables, like our flags and our HashMap. In most cases, access is done directly via a Java Bean.

    When I have hundreds of users, I meet a lot of locks when I do this specific code

    DCDataControl dc = BindingContext.getCurrent().findDataControl(SHARED_LOOKUP_SERVICE_DATA_CONTROL);
    SharedLookupServiceImpl am = (SharedLookupServiceImpl)dc.getApplicationModule();
    
    
    
    

    I added a timer before and after and if takes more than 250 ms, I issued a warning, so I have a lot of them!

    In trying to solve problems using JRockit Mission Control, I can see this information in ' CPU/thread - claim - high blocking lock - oracle.jbo.JboSyncLock. This snapshot is for the selection of 3 sec on a test with about 900 concurrent users.

    oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationPoolSvcMsgContext)    27    75.952 ms
    oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolSvcMsgContext, SessionCookie, ApplicationPoolImpl$SessionCookieInfo, ApplicationModule, ApplicationPoolImpl$ApplicationModuleInfo)    27    75.952 ms
    oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationModule, ApplicationPoolImpl$ApplicationModuleInfo, SessionCookie, ApplicationPoolImpl$SessionCookieInfo, int, SessionCookie, ApplicationPoolImpl$SessionCookieInfo, ConnectionMetadata, ApplicationPoolSvcMsgContext)    21    68.929 ms
    oracle.jbo.common.ampool.ApplicationPoolImpl.prepareResource(Object, Properties)    21    68.929 ms
    oracle.jbo.pool.ResourcePool.useResource(Properties)    21    68.929 ms
    oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(SessionCookie, ApplicationPoolImpl$SessionCookieInfo, int)    21    68.929 ms
    oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(SessionCookie, boolean)    21    68.929 ms
    oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(boolean, long)    21    68.929 ms
    oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(boolean, long)    21    68.929 ms
    oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(boolean)    21    68.929 ms
    oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule()    21    68.929 ms
    oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(boolean)    21    68.929 ms
    oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule()    21    68.929 ms
    com.xxxx.xxxx.view.util.xxxUtilADF.getSharedLookupService()    14    34.222 ms
    
    
    

    AOS is defined as "Shared at the level of the application" in the properties of model project.

    Here is the bc4j.xcfg

    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
       <AppModuleConfigBag ApplicationName="com.xxxx.xxxx.services.shared.SharedLookupService" default="SharedLookupServiceShared">
          <AppModuleConfig jbo.project="com.xxxx.xxxx.xxxxModel" DeployPlatform="LOCAL" jbo.passivationstore="database" name="SharedLookupServiceShared" ApplicationName="com.xxxx.xxxx.services.shared.SharedLookupService">
             <AM-Pooling jbo.ampool.initpoolsize="1"
                         jbo.ampool.maxpoolsize="1"
                         jbo.ampool.dynamicjdbccredentials="false"
                         jbo.ampool.isuseexclusive="false"
                         jbo.ampool.resetnontransactionalstate="false"
                         jbo.dofailover="true"
                         jbo.ampool.minavailablesize="1"/>
             <Database jbo.locking.mode="optimistic" jbo.TypeMapEntries="Java" jbo.SQLBuilder="SQL92"/>
             <Security AppModuleJndiName="com.xxxx.xxxx.services.shared.SharedLookupService"/>
             <Custom JDBCDataSource="java:comp/env/jdbc/xxxxConnDS"/>
          </AppModuleConfig>
       </AppModuleConfigBag>
    </BC4JConfig>
    
    
    

    And I use JDev 11.1.1.1.7

    Thank you

    Guillaume

    Thanks to all for your responses.

    I finally found the problem in our SharedAM. It is because we have methods for translation, which called for the database and these methods have been very often called, and of course, they were not cached. So I fixed that by moving the database stored in non-sharedAM procedure call.

    Guillaume

  • Another user has changed the primary key

    uses 11.1.1.5.0 - adfbc jdev

    After each insertion while saving the recording
    get error like this > > > another user has changed the primary key

    What should I do to avoid this?
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
       <AppModuleConfigBag ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
          <AppModuleConfig DeployPlatform="LOCAL" JDBCName="goodwell" jbo.default.country="IN" jbo.project="com.rits.glm.GeneralLedger" name="generalLedgerAMLocal" ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
             <Database jbo.locking.mode="optimistic"/>
             <Security AppModuleJndiName="com.rits.glm.model.servicesAM.generalLedgerAM"/>
          </AppModuleConfig>
          <AppModuleConfig DeployPlatform="LOCAL" JDBCName="goodwell" jbo.default.country="IN" jbo.project="com.rits.glm.GeneralLedger" name="generalLedgerAMShared" ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
             <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1" jbo.ampool.resetnontransactionalstate="false"/>
               <Database jbo.locking.mode="optimistic"/>
             <Security AppModuleJndiName="com.rits.glm.model.servicesAM.generalLedgerAM"/>
          </AppModuleConfig>
       </AppModuleConfigBag>
    </BC4JConfig>

    a few suggestions
    Houston-25014: another user has changed...
    http://adfhowto.blogspot.com/2010/12/troubleshooting-another-user-has.html
    Another user changed the row with primary key

  • Pointer null on ViewRowSetImpl

    Hi gurus,

    Strangely, I'm getting this exception randomly. I use Jdev 11.1.1.4g with full stack of ADF
    Caused by: java.lang.NullPointerException
    at oracle.jbo.server.ViewRowSetImpl.getParameters(ViewRowSetImpl.java:6246)
    at oracle.jbo.server.ViewRowSetImpl.getRowFilter(ViewRowSetImpl.java:625)
    at oracle.jbo.server.ViewRowSetImpl.getRowFilter(ViewRowSetImpl.java:618)
    at oracle.jbo.server.ViewRowSetImpl.ensureStorage(ViewRowSetImpl.java:6853)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2467)
    at oracle.jbo.server.ViewRowSetImpl.createRow(ViewRowSetImpl.java:2455)
    at oracle.jbo.server.ViewObjectImpl.createRow(ViewObjectImpl.java:10631)
    Any idea on this?

    Hi Michelle,

    It was really specific to the application, I've learned to analyze. The problem was private because some information was recorded in oracle.jbo.Session data user hashtable but no code has been added to the application module to record information during the activation/passivation.
    See 'oracle.jbo.Session Hashtable data user not saved through the Activation and Passivation'
    URL - http://blogs.oracle.com/Didier/entry/oraclejbosession_user_data_has_1

    The problem reproduced at will when running the application with the Application Module pool put in place with the following parameters:

    Referenced Pool Size (jbo.recyclethreshold) = 0
    Maximum Pool size (jbo.ampool.maxpoolsize) = 1
    Initial of the size of Pool (jbo.ampool.initpoolsize) = 1
    Minimum available size (jbo.ampool.minavailablesize) = 1
    Maximum size available (jbo.ampool.maxavailablesize) = 1

    and using the application with 2 different browsers.
    We discovered that the first session has been initialized properly, but the second has been re-use the values stored for the first session.

    The substitution of passivateState (Document doc, parent of the element) and activateState (element elem) in Modules of Application code to save and restore user solved the problem data.

    Kind regards

    Didier.

  • No data to display

    simple demo can be run in weblogic, but when it is deployed to Glassfish, it shows "no database selected".

    JDeveloper (12.1.3) 12 c, GlassFish 3

    BC4J.xcfg:

    <? XML version = "1.0" encoding = "UTF - 8"? >

    "< BC4JConfig version ="11.1"xmlns ="http://xmlns.oracle.com/bc4j/configuration">."

    < AppModuleConfigBag ApplicationName = "model. AppModule">

    < AppModuleConfig DeployPlatform = "LOCAL" name = "AppModuleLocal" ApplicationName = "model. AppModule"jbo.project ="model. Model">

    < jbo.sql92.JdbcDriverClass = "com.mysql.jdbc.Driver database" Houston. " TypeMapEntries = 'Java' Houston. SQLBuilder = "SQL92" / >

    < AppModuleJndiName = security 'model. AppModule "/ >"

    "< custom = ns0:ns0"http://xmlns.oracle.com/bc4j/configuration"ns0:JDBCDataSource =" jdbc/SakilaDS"xmlns:ns0 ="http://xmlns.oracle.com/bc4j/configuration "/>

    < / AppModuleConfig >

    < AppModuleConfig jbo.project = "model. Model"ApplicationName ="model. AppModule' DeployPlatform = 'LOCAL' name = "AppModuleShared" >

    "< jbo.ampool.dynamicjdbccredentials ="pooling of the AM false"jbo.ampool.resetnontransactionalstate =" false "jbo.ampool.maxpoolsize =" 1"jbo.ampool.isuseexclusive="false"/ >"

    < database Houston. TypeMapEntries = 'Java' jbo.sql92.JdbcDriverClass = "com.mysql.jdbc.Driver" Houston. SQLBuilder = "SQL92" / >

    < AppModuleJndiName = security 'model. AppModule "/ >"

    "< ns0:JDBCDataSource custom =" jdbc/SakilaDS"ns0:ns0 ="http://xmlns.oracle.com/bc4j/configuration"xmlns:ns0 ="http://xmlns.oracle.com/bc4j/configuration "/>

    < / AppModuleConfig >

    < / AppModuleConfigBag >

    < / BC4JConfig >

    error1.jpgerror2.jpg

    error3.jpg

    Without the url property error any database not selected would be generated. Add the url property.

  • How to get and set the size of the pool AM in life

    Hi, I want to get and programmatically, set the following parameters:


    ------------------------------------------------------------------------------

    Size of the initial Pool (jbo.ampool.initpoolsize)

    Maximum Pool size ( jbo.ampool.maxpoolsize )

    Referenced Pool size ( jbo.recyclethreshold )

    The maximum lifetime of Instance ( jbo.ampool.timetolive )

    --------------------------------------------


    In AMImpl or other place?


    Is it methods?


    Thank you.

    To get information about the pool, you can use code like this in your applicationModuleImpl

    help to dump pool statistics to log

    private void dumpAMPoolStatistics() {}

    Download the pool manager

    PoolMgr poolMgr = PoolMgr.getInstance ();

    get the managed pools

    Key of the poolMgr = enumeration. getResourcePoolKeys();

    If (key! = null) {}

    If (keys.hasMoreElements ()) {}

    can handle several pools, we will get the name of first successful

    String poolname = (String) keys.nextElement ();

    System.out.println ("pool of AM name:" + poolname);

    get the AM pool

    ApplicationPool pool =

    PoolMgr (ApplicationPool). getResourcePool (poolname);

    Journal of diagnostic AM pool

    PrintWriter out = new PrintWriter (System.out, true);

    pool. dumpPoolStatistics (new PrintWriter (out));

    out. Flush();

    }

    }

    }

    Or read Getting Application Module pool statistics to help with setting the size

    I'm not sure you can change the settings at run time. As far as I know, the pool bed settings only when it is first created.

    Timo

  • State management of package PL/SQL in ADF

    Hi all

    I redesign a form of Oracle in the ADF. The shape is a front end for some fairly complex processing that is provided by a database package. The package maintains the different data elements in its State which are used during the session of the interactive user. I would like if possible to reuse functionality in this package for the ADF in the screen version. Clearly, in order to use the package as what I would need to ensure the that maintaining the connection to the database for the user's session just as it would be in forms.

    I have been reading up on top of the connection and the Application Module pool and think it is possible to switch off the two pools and ensure that a user session gets a single database session - set jbo.ampool.doampooling = false and jbo.doconnectionpooling = false (default). I am not mistaken in this or have I missed part of the battery of the session/connection?

    Assuming that it is possible, is it advisable? The maximum number of concurrent users on the application server would be about 200, access to a number of different databases.

    The alternative I suppose would be to redesign the package in the ADF BC layer. While it is perhaps the best architecture if there would be a major effort in the redevelopment of the Java code from scratch.

    I use JDeveloper/ADF 11.1.1.3.

    Thank you very much

    Kevin.

    Yep, it's no doubt that the technique is called 'Dynamic JDBC Credentials'.

    In this for terms is it advisable, for 200 users, assuming that the memory of your package is not huge each user would be nice. Ideally you don't want to rewrite (and a new test) all this code database then go with what you have.

    However, in saying that this is not the best option when you want to scale to a huge amount of users. The best way to make sure is to stress test by using a tool such as JMeter to see if things stand up to.

    CM.

  • ADF application enter mode of passivation

    I have an ADF application production and I am some sort of questions, the customer due to the user leave the page for the duration along (round 1 hour), then again the application and the future mode of passivation. I tested the app ADF passivation by on mode off him 'activate Module grouping of applications"in the AppModule, it works well, but in some operations, it generates unexpected behavior. So, I would like to know when the ADF application will be in the mode of passivation, y at - it a parameter to set the time to enter the application in mode passivatopn?

    FOR INFO:

    -J' have the 4 hours (customer requirement) application session timeout value

    -JDeveloper version 11.1.2.4.0

    -Weblogic Server 10.3.6

    Try to set the jbo.ampool.maxinactiveage = 60000 and jbo.ampool.timetolive = 60000 and check it out. If the application is entered in passivation mode after 1 minute idle time you can set jbo.ampool.maxinactiveage = and jbo.ampool.timetolive =-1

    for example:

    JBO.ampool.maxinactiveage = 18000000

    jbo.ampool.TimeToLive =-1

  • Error Javascript ADF in MS IE 8.0.6001.18702 v

    Hello
    I use v11.1.2.0.0 jdeveloper. I have a connection with the language page, user name, the password fields. Language is af:selectonechoice and use the ppr for re - view the page on the evolution of language. It works well with chrome and FireFox 4. But when I open the page in Internet Explorer (8.0.6001.18702), is to show the following javascript error, and I can not yet present connection details (even if I'm not changing language). The error is,


    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; NET CLR 2.0.50727)
    Timestamp: Thu, February 23, 2012 01:57:28 UTC

    Message: Element not found.
    Line: 6219
    Characters: 2

    Code: 0
    URI: http://192.168.5.140:7101/eMotor/afr/partition/ie/default/opt/boot-SHERMAN-1147.js

    Please find my web.xml below, code
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5">
        <display-name>eMotor</display-name>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <context-param>
            <description>No obfuscation of CSS.</description>
            <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
            <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
            <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
            <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
            <param-value>differentDomain</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
            <param-value>*.jsf;*.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_DECORATORS</param-name>
            <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
            <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
        </context-param>
        <filter>
            <filter-name>JpsFilter</filter-name>
            <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
            <init-param>
                <param-name>enable.anonymous</param-name>
                <param-value>true</param-value>
            </init-param>
        </filter>
        
        <filter>
            <filter-name>SecurityFilter</filter-name>
            <filter-class>com.allianz.common.web.filter.SecurityFilter</filter-class>
        </filter>
        <filter>
            <filter-name>trinidad</filter-name>
            <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
        </filter>
        <filter>
            <filter-name>adfBindings</filter-name>
            <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ADFLibraryFilter</filter-name>
            <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
        </filter>
        
        <filter-mapping>
            <filter-name>JpsFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>
        
        <filter-mapping>
            <filter-name>SecurityFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        
        <filter-mapping>
            <filter-name>trinidad</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>ADFLibraryFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
       
        <listener>
            <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
        </listener>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>resources</servlet-name>
            <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>MapProxyServlet</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>adflibResources</servlet-name>
            <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/adf/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/afr/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <url-pattern>/servlet/GraphServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <url-pattern>/servlet/GaugeServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>MapProxyServlet</servlet-name>
            <url-pattern>/mapproxy/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/bi/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>adflibResources</servlet-name>
            <url-pattern>/adflib/*</url-pattern>
        </servlet-mapping>
        <context-param>
            <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_ TIMEOUT</param-name>
            <param-value>1800</param-value>
        </context-param>
        <session-config>
            <session-timeout>30</session-timeout>
        </session-config>
        <mime-mapping>
            <extension>swf</extension>
            <mime-type>application/x-shockwave-flash</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>amf</extension>
            <mime-type>application/x-amf</mime-type>
        </mime-mapping>
        <welcome-file-list>
            <welcome-file>/faces/Login.jspx</welcome-file>
        </welcome-file-list>
        <mime-mapping>
            <extension>rrpa</extension>
            <mime-type>application/x-orarrp-pdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rar</extension>
            <mime-type>application/octet-stream</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>zip</extension>
            <mime-type>application/x-zip-compressed</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>doc</extension>
            <mime-type>application/msword</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>docx</extension>
            <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
        </mime-mapping>
        
        <servlet>
        <servlet-name>imageServlet</servlet-name>
        <servlet-class>com.allianz.web.servlet.ImageServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>imageServlet</servlet-name>
        <url-pattern>/image/*</url-pattern>
    </servlet-mapping>
    </web-app>
    
                
    And in faces-config, I have the following information
    <application>
            <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
            <locale-config>
                <default-locale>zh</default-locale>
                <supported-locale>en</supported-locale>
            </locale-config>
            <resource-bundle>
                <base-name>resources.UIResources</base-name>
                <var>msg</var>
            </resource-bundle>
        </application>
    My Login.jspx code,
     <af:pageTemplate viewId="/template/LoginTemplate.jspx" id="pt1">
                    <f:facet name="loginArea">
                        <af:panelFormLayout id="pgl1"
                                            inlineStyle="width: 398px; height: 278px; margin-top: 150px; margin-left: 300px;  
                                           background: url(#{facesContext.externalContext.requestContextPath}/img/login.PNG);">
                            <af:spacer height="15px"/>
                            <af:outputLabel value="#{msg['login.loginheader']}"
                                            inlineStyle="font-weight: bold; font-size: 15px; align: left; margin-left: 5px"/>
                            <af:panelFormLayout labelAlignment="start" inlineStyle="margin-top: 30px">
                                <af:selectOneChoice label="#{msg['login.country']}" value="#{authorizationBean.country}"
                                                    autoSubmit="true" styleClass="select_normal" id="country"
                                                    valueChangeListener="#{authorizationBean.changeLanguage}">
                                    <af:selectItem value="zh" label="#{msg['label.china']}"/>
                                    <af:selectItem value="en" label="#{msg['label.english']}"/>
                                </af:selectOneChoice>
                                <af:spacer height="5px"/>
                                <af:inputText label="#{msg['login.username']}" value="#{authorizationBean.auth.userName}" required="true"
                                            requiredMessageDetail="#{msg['message.mandatoryselect']}"/>
                                <af:spacer height="5px"/>
                                <af:inputText label="#{msg['login.password']}" secret="true" value="#{authorizationBean.auth.password}" required="true"
                                            requiredMessageDetail="#{msg['message.mandatoryselect']}">
                                   </af:inputText>
                                <af:spacer height="5px"/>
                                <af:commandButton text="#{msg['label.login']}" accessKey="L" styleClass="button_normal"
                                                  action="#{authorizationBean.doLogin}" id="loginButton"/>
                                 <af:commandLink text="#{msg['title.forgotPassword']}" id="cl1" immediate="true" partialSubmit="true"  >
                                    <af:clientListener method="openForgetPasswordPage" type="action"/>
                                </af:commandLink>                 
                              <af:outputLabel value="#{authorizationBean.loginErrorMsg}" inlineStyle="color:Red;"/>
                            </af:panelFormLayout>
                        </af:panelFormLayout>
                    </f:facet>
                </af:pageTemplate>
    Any help would be appreciated...

    chk this
    http://vtkrishn.com/2011/08/23/IE8-element-not-found-error/

Maybe you are looking for

  • Skype is not showing is not Facebook Feed in Skype Version 7.7 (335)

    Everything worked fine until I updated to the latest version. I tried to disconnect and reconnect to Facebook but still no solution... I also tried to delete the App Skype and re - install the App again and still no results. Someone has the same prob

  • Equium A60: is it possible to boot from the USB port?

    Hello I have an EQUIUM A60 with BIOS Version 1.90 is possible for a start of the USB port using an instead of a floppy mass storage device if yes how?

  • Drag to the right

    When I slide to the right after that I have unlock I get this another screen with siri, nearby and new suggestion, what is this and can I turn it off

  • Download Codec for vista 32 bit

    I have a codec missing for windows media player 11.0.6002.18311, but every time I look for a download they all seem a little dubious, can anyone recommend a downlaod codec for vista 32-bit, what is safe.  I downloaded some of them without any problem

  • HP 15-d035dx Notebook PC Express slot for graphics update?

    Is it can even possible I open her top and be able to find an Express slot for a new graphics card?