What does jbo.ampool.dynamicjdbccredentials do?

Can someone provide a more detailed explanation of this AM configuration property than what is in the documentation?
jbo.ampool.dynamicjdbccredentials
The documentation simply says:
Enables additional pooling lifecycle events to allow developer-written code to change the database credentials (username/password) each time a new user session begins to use the application module.
This feature is enabled by default (true), however this setting is a necessary but not sufficient condition to implement the feature. The complete implementation requires additional developer-written code.
I am not actually changing the database credentials, but I am using the AM method, prepareSession, to set an Oracle Context (CREATE CONTEXT command in DDL) and the context settings must remain the same or be reset before any database action by the same user.

John,
As far as I understand it, this parameter enables the custom credential and session cookie providers to be called. It should not have an impact upon your use of prepareSession(), as it's only needed if you need to switch the actual user that is being used to connect to the database.
JOhn

Similar Messages

  • ADF 10g: AM pool dropped to zero after the jbo.ampool.timetolive is reached

    Hi,
    JDev: 10.1.3.2.0.4066
    I have a problem where all appModules in the application module pool are removed when the jbo.ampool.timetolive threshold is reached, even the currently referenced ones. This causing serious performance issues in our application. I have seen reports from Steve Muench on his blog (http://radio-weblogs.com/0118231/2006/03/30.html) that this issue can happen under certain circumstances but the link is broken, so am not sure what the reason is. Does anyone have a link to where this was moved to? Steve also has added (Disabling jbo.ampool.timetolive on this forum of how to "disabled the time to live consideration" but the timetolive is still removing all the appModules in the pool. Why is the pool being completely wiped out after the timetolive?
    Here is the BC4J configuration that is being used:
    NB:
    * web session timeout is 45 minutes
    * I am using a JDBC pool as well
          <AppModuleConfig name="Oracle">
             <DeployPlatform>LOCAL</DeployPlatform>
             <JDBCName>cvclaims_Oracle</JDBCName>
             <jbo.TypeMapEntries>Java</jbo.TypeMapEntries>
             <jbo.project>Model</jbo.project>
             <AppModuleJndiName>my.adf.root.RootAppModule</AppModuleJndiName>        
             <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
             <ApplicationName>my.adf.root.RootAppModule</ApplicationName>        
             <jbo.locking.mode>optimistic</jbo.locking.mode>        
             <jbo.ampool.initpoolsize>50</jbo.ampool.initpoolsize>
             <jbo.ampool.maxpoolsize>100</jbo.ampool.maxpoolsize>
             <jbo.recyclethreshold>50</jbo.recyclethreshold>
             <jbo.ampool.maxavailablesize>50</jbo.ampool.maxavailablesize>
             <jbo.ampool.minavailablesize>50</jbo.ampool.minavailablesize>
             <jbo.poolmaxavailablesize>51</jbo.poolmaxavailablesize>
             <jbo.maxpoolsize>51</jbo.maxpoolsize>
             <jbo.initpoolsize>51</jbo.initpoolsize>
             <jbo.poolminavailablesize>51</jbo.poolminavailablesize>
             <jbo.ampool.maxinactiveage>2760000</jbo.ampool.maxinactiveage>
             <jbo.ampool.monitorsleepinterval>60000</jbo.ampool.monitorsleepinterval>
             <jbo.ampool.timetolive>2850000</jbo.ampool.timetolive>
          </AppModuleConfig> Here is the code that logs out a user:
                    // Check whether the URL is the LOGOUT URL
                    if (requestURL.endsWith(logoutUrl)) {
                        // Log out, invalidate the session.
                        // Tried the patch mentioned in this thread with no change:
                        // ADF BC/ Faces - Logout exception
                        // This linked blog reports that the below ADFContext
                        // addition fixed it:
                        // http://vgoldin.blogspot.com/2007/02/adf-invalidating-web-session-in-apache.html
                        // but there may be more than one problem here.
                        // Others have suggested just wrapping the invalidate code
                        // in try/catch.
                        // Trying both here.
                        try {
                            ADFContext.getCurrent().removeScope(ADFContext.SESSION_SCOPE);
                        } catch (Exception e) {
                            e.printStackTrace();
                        try {
                            session.invalidate();
                        } catch (Exception e) {
                            e.printStackTrace();
                        MDC.remove(MDC_USERNAME);
                        if (!logoutDestinationUrlChecked && logoutDestinationUrl.startsWith("/")) {
                            logoutDestinationUrlChecked = true;
                            logoutDestinationUrl = request.getContextPath() + logoutDestinationUrl;
                            // relative path, prefix with request context path;
                        log.debug("Session is invalidated, redirecting to " + logoutDestinationUrl);
                        // we do redirect instead of forward so that this filter
                        // will be visisted again for the requested logout
                        // destination
                        // forcing a new login when applicable.
                        response.sendRedirect(response.encodeRedirectURL(logoutDestinationUrl)); DumpPoolStatistics.jsp page output
    This page is explained in Steve Muench's blog
    head:Application module lifetime statistics
    Number of application module creations,3208
    Number of application module removals,3184
    head:State management statistics
    Number of transactional state activations,2073
    Number of transactional state passivations,2873
    head:Application pool use statistics
    Number of application pool check outs,193821
    Number of application pool check ins,193818
    Number of referenced application modules that were reused,183071
    Number of referenced application modules that were recycled,0
    Number of unreferenced application modules that were recycled,7594
    Number of application pool check out failures,8
    head:Application module statistics
    Total number of application modules in the pool,24
    Maximum number of application modules in the pool,50
    Average number of application modules in the pool,23
    Total number of available application modules in the pool,21
    Average number of available application modules in the pool,21
    Average number of unavailable application modules in the pool,2
    Total number of referenced application modules in the pool,24
    head:Application module age statistics
    Number of referenced instances unused for >10 min,7
    Number of referenced instances unused for >5 min,2
    Number of referenced instances unused for >1 min,6
    Number of referenced instances used during last 1 min,9
    Number of instances unused for >10 min,0
    Number of instances unused for >5 min,0
    Number of instances unused for >1 min,0
    Number of instances used during last 1 min,0
    head:Session statistics
    Number of sessions registered with the pool,32
    Average number of sessions referencing transactional state,427
    head:Session age statistics
    Number of sessions inactive for >10 min,14
    Number of sessions inactive for >5 min,2
    Number of sessions inactive for >1 min,7
    Number of sessions active during last 1 min,9 The above DumpPoolStatistics page shows the AM pool shortly after the timetolive has kicked in. There is 24 app modules in the pool despite the jbo.ampool.minavailablesize being 50. There is also 32 users in the application so I would of expected there to be a corresponding number of appModules.
    Thanks
    Barry
    Edited by: Bar on Mar 9, 2011 5:18 PM
    Edited by: Bar on Mar 9, 2011 5:20 PM

    I believe my problem is that the jbo.ampool.minavailablesize is higher than the normal load on the system. This is stopping app modules to be removed once the jbo.ampool.maxinactiveage time is reached, therefore the only time an AM is removed is when the jbo.ampool.timetolive limit is reached.
    e.g.
    * 35 users log into the application in the morning. The AM pool contains 35 AM's
    * GC on the pool happens. If an AM has reached the jbo.ampool.maxinactiveage then they will not be removed because it would mean that the pool (currently 35) drops below the jbo.ampool.minavailablesize (50)
    * GC happens again and the jbo.ampool.timetolive threshold is now reached on all AM's so they are all removed from the pool.

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

    Hi gang
    (JDev 11g Build 5188)
    I'm currently doing some testing as recommended by the Fusion 11g Guide to test the ADF BC state management with jbo.ampool.doampooling = false (see sections 36 and 37). I'm seeing different behaviour under 11g vs 10g.
    I have a single updateable VO with a query restricted by a single bind variable. I have a single JSF page with the bind variable as an inputText control, the executeWithParams operation as a commandButton, and a table showing the results from the VO.
    Under 10g I can:
    1) Open the page
    2) Enter a value (say X) for the bind variable, hit the executeWithParams button and correctly see results in the table matching bind variable value X.
    3) Enter a different value for the bind variable (say Y), hit the executeWithParams button and correctly see results in the table matching value of the bind variable value Y.
    Under 11g I get different behaviour for # 3. Instead when I press the executeWithParams button with the value set to Y, the table still show results for the previous bind variable value X?
    It must be noted that if I set jbo.ampool.doampooling = true, the problem disappears, but presumably the error will reappear in a production system under load, so I need to track down what's happening here.
    Possibly I'm seeing a bug, but given the large amount of 11g changes and large amount of documentation I need to read on state management, it could just be I've missed something vital for 11g.
    Does anybody have any opinions what's happening here?
    Thanks for your help in advance.
    CM.

    Hi Chris,
    Yes, waking up in my lair after the long winter ;-)
    No problem for the version numbers.
    The reason I was asking was that the referenced issue was reported for JDeveloper 10.1.3.4.0
    So I'm not convinced this is the same issue.
    Bug 7517882 is fixed in 11.1.1.1.0, but a patch is available for 11.1.1.0.1
    I checked I could download it myself:
    1) in (classic) MetaLink, click tab "Patches & Updates"
    2) click "Simple Search"
    3) select "Search By" "Patch Number"
    4) enter the patch number: 7517882
    5) select the Platform "Microsoft Windows (32 bits)"
    6) click "Go"
    7) Download the patch for version 11.1.1.1.0
    8) click "View Readme" and follow instructions to install the patch.
    If you have any problem, open a SR requesting a support engineer to upload the patch on our FTP server.
    I would recommend you test the patch to ensure this is the same issue and the problem is fixed in your case after applying the patch.
    If not, you can easily de-install it anyway.
    For completeness, the following bugs were closed as duplicated of Bug 7517882
    Bug 7553275 - VOIMPL.GETBINDVARIABLE() RETURNS NULL AFTER APPLICATION MODULE ACTIVATION.
    (logged against 10.1.3.4.0)
    Bug 7556903 - JDEVELOPER 11G EXECUTEWITHPARAMS DOES NOT WORK CORRECTLY WITH AMPOOLING OFF
    (logged against 11.1.1.0.0)
    Regards,
    Didier.

  • 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

  • NullpointerException after App module jbo.ampool.timetolive time

    Hi friends,
    I face a strange scenario where my page gives NullpointerException exactly after my jbo.ampool.timetolive time elapses (In my case 2min).
    When I gave the "Disconnect Application upon release" in the App configuration the same NullException raises on page load itself.
    This is the following piece of code where the null pointer raises,
    public <T> T resolveValueExpression(String expression, Class<T> type) {
    ELContext context = FacesContext.getCurrentInstance().getELContext();
    ValueExpression value = getExpressionFactory().createValueExpression(context, expression, type);
    //Null raises in this Value.getValue(Contect)
    // returns null even when value and context is not null
    return (T) value.getValue(context);
    The stack trace is as follows:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=Cannot invoke method getAttribute() on null object
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1048)
         at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1081)
         at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:911)
         at oracle.jbo.server.ViewObjectImpl.createViewAccessorRS(ViewObjectImpl.java:15564)
         at oracle.jbo.server.ViewRowImpl.createViewAccessorRS(ViewRowImpl.java:2572)
         at oracle.jbo.server.ViewRowImpl.createViewAccessorRS(ViewRowImpl.java:2583)
         at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1721)
         at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1891)
         at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:834)
         at com.symmetry.dashboard.panels.model.vo.EditPurchaseInvoiceViewRowImpl.getGoodsReceiptAuthoriserLOV1(EditPurchaseInvoiceViewRowImpl.java:2204)
         at com.symmetry.dashboard.panels.model.vo.EditPurchaseInvoiceViewRowImpl$AttributesEnum$71.get(EditPurchaseInvoiceViewRowImpl.java:945)
         at com.symmetry.dashboard.panels.model.vo.EditPurchaseInvoiceViewRowImpl.getAttrInvokeAccessor(EditPurchaseInvoiceViewRowImpl.java:2224)
         at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:864)
         at oracle.jbo.server.RowImpl.isRefreshRequired(RowImpl.java:574)
         at oracle.jbo.server.ViewRowImpl.isRefreshRequired(ViewRowImpl.java:5481)
         at oracle.jbo.server.RowImpl.isRefreshRequired(RowImpl.java:559)
         at oracle.jbo.server.RowImpl.checkAndAutoClearLOVAttributes(RowImpl.java:351)
         at oracle.jbo.server.ViewObjectImpl.activateTransients(ViewObjectImpl.java:18358)
         at oracle.jbo.server.ViewObjectImpl.activateTransients(ViewObjectImpl.java:18289)
         at oracle.jbo.server.ViewObjectImpl.activateState(ViewObjectImpl.java:18512)
         at oracle.jbo.server.ViewObjectImpl.activateState(ViewObjectImpl.java:18407)
         at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:4025)
         at oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:7235)
         at oracle.jbo.server.ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:18742)
         at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:8172)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:7918)
         at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:7884)
         at oracle.jbo.server.Serializer.activate(Serializer.java:296)
         at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:330)
         at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6207)
         at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:219)
         at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8933)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2458)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2270)
         at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3168)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)
         at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:234)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)
         at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:516)
         at oracle.adf.model.bc4j.DCJboDataControl.getDataProvider(DCJboDataControl.java:869)
         at oracle.adf.model.binding.DCDataControl.internalGet(DCDataControl.java:1963)
         at oracle.adf.model.bc4j.DCJboDataControl.internalGet(DCJboDataControl.java:855)
         at oracle.adf.model.binding.DCDataControl.get(DCDataControl.java:1929)
         at javax.el.MapELResolver.getValue(MapELResolver.java:164)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         at com.symmetry.dashboard.panels.util.BackingUtilsImpl.resolveValueExpression(BackingUtilsImpl.java:36)
         at com.symmetry.dashboard.panels.util.BackingUtilsImpl.getApplicationModuleForDataControl(BackingUtilsImpl.java:29)
         at com.symmetry.dashboard.panels.util.BackingUtils.getApplicationModuleForDataControl(BackingUtils.java:21)
         at com.symmetry.dashboard.panels.view.backing.purchase.EditInvoice.viewMatchedOrders(EditInvoice.java:1070)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at javax.faces.component.UIViewRoot.notifyPhaseListeners(UIViewRoot.java:608)
         at javax.faces.component.UIViewRoot.notifyBefore(UIViewRoot.java:510)
         at javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:564)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    Caused by: java.lang.NullPointerException: Cannot invoke method getAttribute() on null object
         at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77)
         at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:750)
         at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:727)
         at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:17)
         at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
         at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
         at bc4j.CreatedBy.gs.run(bc4j.CreatedBy.gs.groovy:1)
         at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1032)
         ... 117 more
    Pls do give be possible solution to fix this

    I believe my problem is that the jbo.ampool.minavailablesize is higher than the normal load on the system. This is stopping app modules to be removed once the jbo.ampool.maxinactiveage time is reached, therefore the only time an AM is removed is when the jbo.ampool.timetolive limit is reached.
    e.g.
    * 35 users log into the application in the morning. The AM pool contains 35 AM's
    * GC on the pool happens. If an AM has reached the jbo.ampool.maxinactiveage then they will not be removed because it would mean that the pool (currently 35) drops below the jbo.ampool.minavailablesize (50)
    * GC happens again and the jbo.ampool.timetolive threshold is now reached on all AM's so they are all removed from the pool.

  • 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.

  • 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

  • Problems understanding jbo.ampool... Parameters

    Hi
    I'm using the DumpPoolStatistics.jsp as descrived in http://radio.weblogs.com/0118231/stories/2004/05/10/gettingApplicationModulePoolStatisticsToAidWithSizeTuning.html.
    But I do not completely understand the meanings of the terms used. Please help me to understand the following terms:
    "available ApplicationModule":
    I guess this is an ApplicationModule, which has been checked into the pool "stateless", "stateful" or "reserved".
    (Or is this an ApplicationModule checked in "stateless" only?)
    "unavailable ApplicationModule":
    I guess this is an ApplicationModule, which has currently not been checked into the Pool by "releasePageResources".
    (Or is this an ApplicationModule which is referenced, because it is "stateful" or "reserved"?)
    "referenced ApplicationModule":
    I guess this is an ApplicationModule which has been checked into the pool "stateful" or "reserved".
    (Or is this an ApplicationModule which is is currently checked out?)
    a "reused ApplicationModule":
    Is this an ApplicationModule, which has been assigned to the same session as before, so no activation or passivation has taken place?
    a "recyled ApplicationModule":
    is this an ApplicationModule, which has been assigned to another session, so some activation and passivation have taken place (in case of "stateful" AM)?
    "Total Number of ApplicationModules":
    The sum of all "available" and "unavailable" ApplicationModules in the Pool?
    Furthermore I haven't understand the meaning of the following jbo... Parameters:
    - jbo.recyclethreshold
    - jbo.ampool.minavailablesize
    - jbo.ampool.maxavailablesize
    I've set jbo.recyclethreshold and jbo.ampool.minavailablesize to the same Value of 40 and jbo.ampool.maxavailablesize is 100. When watching my application I realize that continuously ApplicationModules are created and removed. However: DumpPoolStatistics.jsp reports a "Maximum number of application modules in the pool" of 9. I can't understand what's happening here.
    I've already read http://www.oracle.com/technology/products/jdev/tips/muench/ampooling/index.html, but sorry, it didn't help me to understand this.
    If anyone can help me to understand the concepts of am- pooling and the meaning of the mentioned terms and parameters I'd be wery happy.
    Thanks in advance
    Frank Brandstetter

    Any hints are appreciated
    Thanks
    Frank Brandstetter

  • What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7

    What does this mean:Photoshop 13.1.2 for Creative Cloud Installation failed. Error Code: U44M1P7
    I found the manual update, which worked!
    http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=5595&fileID= 5604

    Hi Barbara,
    For failed 13.1.2 update error U44M1P7, Please refer to the solution mentioned in the following threads :
    http://forums.adobe.com/message/5396792#5396792
    http://forums.adobe.com/message/5409050#5409050

  • In relation to Wireless Speakers, what does 'Connected Music Server' mean?

    Hello All,
    Need some advise. I am looking at purchasing a Wireless speaker. I currently have a MacBook Pro 10.8 which has my music stored in iTunes. My phone is an Android 4.2.2 device.
    Therefore, I need to buy a wireless speaker that supports AirPlay (aka stream music from my MacBook Pro) and also has an app that I can install on my Android device which can threby access the iTunes playlist so that I can use my phone as the remote control.
    Based on the above requirements, I narrowed down my chocie to the Denon Cocoon Home (whose app is also Deno Cocoon) and the Pioneer A4 XW-SMA4-K (whose app is Pioneer ControlApp)
    Question 1:
    The Denon App says this:
    - When connected to your home Wi-Fi network you can further expand your choice of music by using the Music Server to browse and play all the music that is stored on your PC, Mac or Network Attached Storage (NAS) drive.
    - DRM protected music is NOT supported by the Denon Cocoon app (or any 3rd party music app)
    My question what does one mean by a 'connected music server?' If an AirPlay speaker receives iTunes music, does it automatically become a 'connected music server?' Technically, is music in my iTunes app (some purchased from iTunes store, some imported) considered DRM protected music? Can ithe app read the iTunes music given the above contraint?
    Question 2:
    The Pioneer App has a lot of complicated lingo that says:
    Network Audio Player
    - Browse and select music files on your connected music server
    AV Receiver
    - Browse and select music files on your connected music server
    Network CD Receiver System
    - Browse and select music files on your connected music server
    Wireless Speaker
    - Volume up/down
    - Select Internet Radio Stations
    - PUSH PLAYER
    It uses one app for multiple devices and in the app description has a breakdown for what the app supports for every device. Now the 'connected music server' is not mentioned in 'Wireless Speaker' but the same is mentioned in 'Network Audio Player' so what does that mean?
    I am more veered towards the Pioneer speaker as it costs $100 less and has better reviews but I will go with the one that will aloow me to use my Android phone as a remote control to access the music that the speaker is streaming from my MacBook pro.

    CSS SSL module sending a Close_Notify.
    Try these links;
    http://www.cisco.com/warp/public/117/basic_css_lb_config.html
    http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a008057a127.html

  • Downloads from itunes fail - error code 8003 - what does that mean, or more importantly, how do I get what I paid for?

    Downloads from itunes fail - error code 8003 - what does that mean, or more importantly, how do I get what I paid for?

    Try the troubleshooting for that error code on this page : iTunes: Advanced iTunes Store troubleshooting - Apple Support (search for '8003' on the page, it's just below half-way down)

  • I replaced my iPhone with a Galaxy 5 and am not receiving all of my text messages. The sales person told me to remove my phone number from iTunes to stop this from happening. Is that true? What does iTunes have to do with text messages?

    I replaced my iPhone with a Samsung Galaxy5 and I am not receiving all of my text messages now. The rep at the store told me to go to iTunes and take my phone # off of the account and that would fix the problem. Is that true? What does iTunes have to do with text messages anyway?

    You need to remove your phone number from the iMessage system.
    Read here: http://support.apple.com/kb/ts5185
    ~Lyssa

  • GetResponseCode() returns -1,what does it mean

    Hi ,
    The HttpURLConnection class's getResponseCode() method returns -1.
    getResponseMessage() returns null.i m accessing my servlet through a proxy.i know only about 1xx to 5xx codes.i dont know what does it mean by -1.But at server side the request is properly sent and processed and i m getting 200 and ok after processing at serverside. the object is sent to client also. but it is not received by the client.
    Null object is returned.I think proxy is the culprit.If anyone can help me what -1 means,it will be really greatfull to diagnoise my issue in detail and solve my problem soon.
    Your help will be greatfull.
    Thanks
    prakash

    As it says perfectly clearly, right there in the API documentation for the method:
    "Returns -1 if no code can be discerned from the response (i.e., the response is not valid HTTP)."

  • I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???

    I got an iphone from Hong Kong which is locked one. Can anyone explain me what does a locked iphone means. How do I use it in India now, with my own sim card. How do I unlock it???

    If your iPhone is locked to a wireless provider, only that wireless provider
    can unlock it. Contact the wireless provider in Hong Kong to see if they
    offer unlocking and if you qualify.
    If your iPhone is locked to an AppleID that you do not know, return it for
    a refund as it is useless. Only the person whose AppleID was used for
    activation can remove the lock. There is no workaround for Activation Lock.
    If neither of the above is what you are facing, provide more detail so someone
    may offer a solution.

  • Apple TV does not work after trying to update software. Main light keeps blinking and on the screen shows itunes icon and a usb cable. What does that means?

    My Apple TV does not work after trying to install the new software update. The main light keeps blinking rapidly and on the screen it shows the itunes icon and a USB cable. What does that mean?

    The Apple TV is in recovery mode. Try to restore the Apple TV. Follow the link for instructions on the restore process.
    http://support.apple.com/kb/HT4367

Maybe you are looking for

  • When I save a PDF report the file name is xdo instead of "report name.pdf"

    Hi, I started a new project with BI Publisher integrated with OBIEE, I builded a set of reports that are working properly (these are the first reports on this OBIEE/BIP server) Accessing Oracle BI Cataloge I can run the reports and change the output

  • Running reports in 9ids

    I want to use report in 9ids(windows Xp). Please tell me about configuration steps. where to place reports and where to set path in registry. In my application I want to run report from Form.

  • Yahoo! Sync Problem

    Ever since the upgrade to 1.0.1 I havent been able to sync with my Yahoo! address book. I get this error "Itunes could not sync with Yahoo! Address Book because an unknown error occurred (4). Please try again later." I've tried reentering my yahoo na

  • Please help to solve following error

    Hi, I am using Flash cs6 and ActionScript 3.0. I want to play a video when first video completes second video should immedially start. But I am getting an error Scene 1, Layer 'Layer 2', Frame 1, Line 3 1119: Access of possibly undefined property COM

  • Save Project As 1 time, 2 times, 3 times....

    Has anyone else run into problems using Save Project As? I've been doing a tutorial that requires saving the current project as a new one so that editing can be done. These are small beginner projects so I can't believe their size is the problem. But