Passivation/activation on glassfish + mysql

Hello.

I am currently trying to establish a platform freelicense ADF: ADF Essentials + GlassFish + MySQL.

I've seen a few brief talkings to override the framework passivation/activation methods to work with the file instead of MySQL system but haven't seen any code.

So I would really like to hear from someone who have implemented it and receive a notice.

If there is place.

Thank you.

In fact, any information about ADF + MySQL compatibility would be apreciated.

Here is a good article: http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html

It belongs to "Configure Passivation".

Personally I put the Module of the Application property: jbo.passivationstore = file

Tags: Java

Similar Questions

  • Legacy of the entity and Passivation/Activation

    Hi all

    I use:

    11.1.1.56.60 ADF business components
    Java (TM) Platform 1.6.0_18
    Oracle IDE 11.1.1.3.37.56.60
    PMD JDeveloper Extension 4.2.5.3.0
    Support versioning 11.1.1.3.37.56.60


    It seems I have a problem with the legacy Etity and Passivation/Activation of States.

    I unchecked the AM pooling and behavior is very very strange.
    The strange thing is that I tried to follow the Documentation of the ADF for this and still have a problem.
    It seems that activation does not work properly


    I created a sample application and more details on my case here:

    http://dstas.blogspot.com/2010/11/entity-inheritance-and-passivation.html


    Please tell what I'm doing wrong.

    Thank you in advance.

    Hi Dimitris

    Followed to the poster of 'anonymous' on your blog, I tried your demo on 11.1.1.2.0 and I see the same problem. I suggest you submit your test Oracle Support to work through detailed case.

    CM.

  • Passive active Essbase 11.1.2.3 Clustering

    Hello

    Is supported for the Windows Active Passive Clustering environment?

    Installation and Configuration Guide Release 11.1.2.2

    I can see that it is supported only on Linux. Please confirm if she is supported in a Windows environment as well.

    Thank you

    NGO Mopala

    I assume you mean of Essbase, yes it is supported on windows - Configuration Active / Passive Essbase Clusters (Windows)

    See you soon

    John

    http://John-Goodwin.blogspot.com/

  • ADF BC on GlassFish, MySQL: ResultSet.IsClosed)

    So, I have spent two hours but have not yet managed to run a simple application of ADF Essentials on GlassFish application with MySQL database server.

    I installed ADF Essentials om GlassFish, adds MySQL connector JDev, established connections between JDev, GlassFish and MySQL and set to GlassFish application platform.

    Currently a simple application without data works, but when I add a table on the page, all tripped down.

    Server.log has the following entries:

    [#: 2013-08 - 07T 01: 22:19.884 + 0400 |] WARNING | glassfish3.1.2 | org.apache.catalina.connector.Request | _ThreadID = 20; _ThreadName = wire 2. PWC4011: cannot set the application context/ess-test1 UTF-8 character encoding, because the request parameters have already been read, or ServletRequest.getReader () has already been called. #]

    [#: 2013-08 - 07T 01: 22:26.518 + 0400 |] WARNING | glassfish3.1.2 | oracle.adf.share.platform.AdfServerPlatformSupport | _ThreadID = 22; _ThreadName = thread 2;: java.lang.reflect.InvocationTargetException

    Caused by: java.lang.AbstractMethodError: com.mysql.jdbc.jdbc2.optional.ConnectionWrapper.isWrapperFor (Ljava/lang/class ;) Z

    java.lang.AbstractMethodError: com.mysql.jdbc.ResultSet.isClosed (Z)

    ADF Model Tester ran, it displays the following message:

    (oracle.jbo.jbotester.ErrorHandler$ ExceptionWrapper) Houston-29000: Unexpected exception caught: java.lang.AbstractMethodError, msg = com.mysql.jdbc.ResultSet.isClosed (Z)

    -Level 1: retail - 0

    (java.lang.AbstractMethodError) com.mysql.jdbc.ResultSet.isClosed (Z)

    Would appreciate the help.

    Thank you.

    JDev 11.1.2.3, GlassFish 3.1.2 MySQL 5.6

    Solved.

    The reason for the problem was the wrong version of connector MySQL.

    Connector of the MySQL installation folder was the solution.

  • Question on Passivation / Activation in the Dev Guide example

    ADF 11 g

    Hello

    I load certain values in the session UserData in my application PrepareSession module.
    If I understand things that I have to passivate/activate this information.

    However the example in the merger Dev Guide page 39-19 for passivation
    seems to be missing the appellant to super.passivateState.

    Is this correct?

    Best regards
    Paul

    Surprisingly, no.. The method of the superclass is basically a no-op. This method is not involved in the passivation of State transactional and nontransactional standard; It's just for custom data. Standard passivation takes place at passivateState (byte [], int, int).

  • Active/passive HA comments with shared vmdk

    I have 2 ESXi host with a vmfs on iSCSI SAN.

    I want to install 2 identical VM on each host suite HR cluster in active/passive mode.

    I intend to set up the two VM with a disc 'private' for the base OS/APP installation and a 'common' one disk for data

    managed by the services that are configured in active/passive mode (for example, MySQL, OpenLDAP).

    The goal is that when the master virtual machine fails (because of true judgment of breach or ESXi host simpleVM), the slave VM built the commune

    VMDK and starts the cluster services.

    I've read a few articles on the possibility of sharing a vmdk disk so the solution seems possible.

    Is there someone who has used such a configuration?

    TIA,

    Guido

    An alternative is to create a network of VM for iSCSI (depending on your SAN topology, you must also 2 storage networks).

    Then, you can add this network to the virtual computer, install the initiator software and set it up as a physical machine.

    André

    * If you found this device or any other answer useful please consider awarding points for correct or helpful answers

  • AM question of Passivation on the creation of master / details (composition)

    Hi all

    I recently discovered some problems at our request on the passivation of the AOS.

    After reading some time on the web, I disabled the AM pooling on our application for testing on my built-in server that our request is 'activation-safe'

    After that, I have the following error when I try to create a new line on a "actually dated VO:

    java.lang.ArrayIndexOutOfBoundsException: 1
    at oracle.jbo.server.ViewObjectImpl.bldEffectiveDateKeys(ViewObjectImpl.java:15914)
    at oracle.jbo.server.ViewObjectImpl.bldKeysForMovingRows(ViewObjectImpl.java:15736)
    at oracle.jbo.server.ViewObjectImpl.moveRows(ViewObjectImpl.java:16096)
    at oracle.jbo.server.ViewObjectImpl.afterRowUpdate(ViewObjectImpl.java:14096)
    at oracle.jbo.server.ViewObjectImpl.sourceChanged(ViewObjectImpl.java:14395)
    at oracle.jbo.server.EntityCache.sendEvent(EntityCache.java:1557)
    at oracle.jbo.server.EntityCache.deliverEntityEvent(EntityCache.java:1573)
    at oracle.jbo.server.EntityCache.notifyColumnAndBlgChange(EntityCache.java:1629)
    at oracle.jbo.server.EntityImpl.notifyAttributesChanged(EntityImpl.java:7668)
    at oracle.jbo.server.EntityImpl.notifyAttributesChanged(EntityImpl.java:7649)
    at oracle.jbo.server.EntityImpl.notifyAttributesAndBlgChanged(EntityImpl.java:7658)
    at oracle.jbo.server.EntityImpl.setAttributeValue(EntityImpl.java:3828)
    at oracle.jbo.server.EntityImpl.handleEffectiveDateRowCreate(EntityImpl.java:11669)
    at oracle.jbo.server.EntityImpl.handleEffectiveDateOperations(EntityImpl.java:11585)
    at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2652)
    at oracle.jbo.server.EntityImpl.validateChildren(EntityImpl.java:2364)
    at oracle.jbo.server.EntityImpl.validateEntity(EntityImpl.java:2511)
    at oracle.jbo.server.EntityImpl.validate(EntityImpl.java:2666)
    at oracle.jbo.server.DBTransactionImpl.validate(DBTransactionImpl.java:4577)
    at oracle.adf.model.bc4j.DCJboDataControl.validate(DCJboDataControl.java:1620)
    at oracle.adf.model.binding.DCBindingContainer.validateReferredDataControls(DCBindingContainer.java:4411)
    at oracle.adf.model.binding.DCBindingContainer.validateInputValues(DCBindingContainer.java:4327)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4259)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.validateRegion(TaskFlowRegionController.java:311)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4249)
    at oracle.adf.controller.internal.binding.TaskFlowRegionController.validateRegion(TaskFlowRegionController.java:311)
    at oracle.adf.model.binding.DCBindingContainer.validate(DCBindingContainer.java:4249)
    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.validateModelUpdates(PageLifecycleImpl.java:303)
    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.validateModelUpdates(FacesPageLifecycle.java:71)
    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 6.execute(Lifecycle.java:190)
    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
    at $200 (ADFPhaseListener.java:34) oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access
    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 3.after(ADFPhaseListener.java:428)
    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:88)
    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:520)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    to 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.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    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:128)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to 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.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:74)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    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:163)
    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)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
    to 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:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    If the AM pooling is enabled, no errors...

    No idea what means this exception?

    I use JDev 11.1.1.7, let me know if you need additional information on the VO, entity or something else...

    Many thanks for the suggestions,

    So what solved my problem was simply uncheck the "cascade update key attributes" relative to the association (composition). I still don't understand why that would be a problem to check if...

    No restrictions on Association (composition) with the option "Cascade update key attributes" checked when passivation/activation takes place on a newly created on two line master-detail VO?

  • Release_mode = reserved safe to use is

    Hello

    JDeveloper 12.1.3, Glassfish 3.1.2 ADF, JSF Facelets, BC4J.

    Our application appeals to global temporary tables, which is not safe to use due to the ADF / AM passivation/activation. Until we moved to 12.1.3 and Glassfish worked well however.

    But now it seems that even often is provided, a different database connections asks the other.

    Our system has few users - never more than 5-10 at one point.

    It would be safe to turn on relaese_mode = reserved in order to ensure that the same session always get the same database connection?

    Best regards

    Erik

    In theory, it can be used, but it is not recommended. ADF web applications use optimistic locking and you must avoid the reserved mode. In the end, you will need to test your application if you want to use the reserved modes, it serves not so much.

    I see other problems using reserved mode as the cleanup of resources does not which means later, you're running out of resources.

    We should think about getting rid of global temporary tables.

    Timo

  • install new PS6510e - no communication on Iscsi network

    Getting desperate here now.

    bought refurbished ps6510e of third-party reseller - have been categorically denied access to the site of dell for support on that basis.

    connected to 2 servers R720 via grouped 10 gb SFP + cables through a switch of 8024F to SAN with redundant connections of 10 GB on two controllers. configured on the private network for iscsi only traffic with addresses private to each server, switch, Saint Nic individual and the Group ip san.

    set up in business / management network for servers / san / management switch with works perfectly.

    2 (2012r2) servers can communicate with each other via the links of 20 GB. No communication with san via ping or connecting iscsi connectors at all. servers can ping each other and switch, not san. CLI in san - cannot ping anything - not even his own individual ip addresses. SAN web interface reports that snap ports (15 + 16), it is plugged into the switch so that he knows that she is and that she connects to her apparently happy.

    configured according to the guidelines of dell white papers, frames, LAG switch. I swapped 10 GB connections between servers and san groups, and regardless of the combination of connections, servers talk, san does not work.

    interface Web and SAN HQ all report everything is hunky dory. one mistake is on the free space that we have configured volumes while.

    bright ideas about what was fundamentally wrong very favorably received.

    Hello

    Re: refurbished.  Sorry, but Dell does not offer without PS Series in this way.  Dell partners cannot provide these services either.  Support requires the table under warranty or support contract access to firmware, and other downloads.  In addition, the license to use the table is maintained in the contract, not the hardware.  This license may not be transferred or resold.

    Re: is associated. PS Do not support series without grouping at all.  You need to configure MPIO on servers instead.  Almost sure that tagging VLAN is not in use, or stripped of all PS Series ports.

    In the GUI, network ports show online?

    On the switch, make sure that you have the current firmware, and data center bridging (DCB) is disabled.

    Given you cannot ping anything, I suspect the cable or switch configuration.  If you use TWINAX cables be PASSIVE, Active cables are not supported.

    Kind regards

    Don

  • Changing the definition of table PS_TXN use SECUREFICHIERS

    Fusion Middleware Version: 11.1.1.7

    WebLogic: 10.3.6.0

    JDeveloper Build JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493

    Project: Custom Portal Application WebCenter integrated with ADF custom workflows.

    During our ADF application performance tests, we noticed that a lot of contention on the LOB segments for the table PS_TXN (supports transactions State passivation/activation).

    Movement of the LOB segment to use Oracle SECUREFICHIERS, most other tweaks to the definition of the table showed significantly reduce the contention as providing a much higher throughput for read and write operations.

    To implement these changes, we would like to modify the ADF internal script that creates the table in the first place rather manually, dropping the table or by using the online table reorganization.

    This approach is documented, and suggests that this can be done my edit script "adfbc_create_statesnapshottables.sql" located under the directory MIDDLEWARE_HOME/oracle_common/sql $.  We tried it, but after letting off the table in a test environment, ADF is re - create the table using the original definition when the application is done after the operation first move.

    The same scenario can also be found under $MIDDLEWARE_HOME/oracle_common/modules/oracle.adf.model_11.1.1/bin however edit this file also makes no difference.

    Does anyone know what script ADF uses to create the table, or if this is now coded in a class file or some other mechanism?

    Automatic creation of table PS_TXN is hardcoded in the oracle.jbo.pcoll.OraclePersistManager class. Have a look at the statements at the end of the OraclePersistManager.createTable () method (in line 904 according to my decompiler). Other SQL statements (for example to drop the table, to the updates/insertions/deletions in the table, etc.) are defined inside the class oracle.jbo.pcoll.TransactionTableSqlStrings. You can find these classes within $MIDDLEWARE_HOME/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar.

    If your database is not Oracle, but DB2 or MS SQL Server, then you should look at the classes oracle.jbo.pcoll.pmgr.DB2PersistManager and oracle.jbo.pcoll.pmgr.SQLServerPersistManager respectively.

    You can override the default value PersistManager (create a new class that extends oracle.jbo.pcoll.OraclePersistManager and override/change the createTable() method), and then specify the new class in the AOS "jbo.pcoll.mgr" configuration property CreateTable() method has a package-level visibility, it would be very easy to do. This approach is delicate and the efforts needed to make does not, in my opinion. If I were you, I would be to pre-create the necessary tables in PS_TXN updated the manually.

    Dimitar

    PS Scripts SQL "adfbc_create_statesnapshottables.sql" aims to be used by advanced users who want to create their paintings previously manually. These scripts are not used by the infrastructure when it automatically creates the necessary tables.

  • Why we need application module...

    Hi all

    I doubt cannot we expose our service directly from control data business, why we need application... module for example

    We will create a class and right click and we will expose directly as a data control right! Why cannot the VO

    Why is there another interface like AM

    Thank you

    Delphine

    AMS offer a set of services including pooling of resources, passivation/activation, transaction and lock management.

    All those who work in all of your multiples.

  • Issuing Java.lang.NullPointerException after inactivity

    IM using JDeveloper 12 c and im making a webapp, an im getting this error after inactivity I know im giving many details, but it's the scenario.

    Caused By: java.lang.NullPointerException
                at oracle.jbo.server.ViewObjectImpl.activateNewRowTracker(ViewObjectImpl.java:20372)
                at oracle.jbo.server.ViewRowSetIteratorImpl.activateIteratorState(ViewRowSetIteratorImpl.java:4015)
                at oracle.jbo.server.ViewRowSetImpl.activateIteratorState(ViewRowSetImpl.java:8035)
                at oracle.jbo.server.ViewObjectImpl.activateIteratorState(ViewObjectImpl.java:21046)
                at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:8646)
                at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:8380)
                at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:8346)
                at oracle.jbo.server.Serializer.activate(Serializer.java:328)
                at oracle.jbo.server.DBSerializer.activateRootAM(DBSerializer.java:337)
                at oracle.jbo.server.ApplicationModuleImpl.activateState(ApplicationModuleImpl.java:6421)
                at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:213)
                at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9432)
                at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4523)
                at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2453)
                at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2263)
                at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3162)
                at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:590)
                at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:224)
                at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:523)
                at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:518)
                at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:637)
                at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:1009)
                at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1667)
                at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2588)
                at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2523)
                at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2617)
                at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2265)
                at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3292)
                at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2913)
                at oracle.adf.controller.internal.binding.TaskFlowRegionController.doRegionRefresh(TaskFlowRegionController.java:286)
                at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:136)
                at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3250)
                at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2913)
                at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:113)
                at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:421)
                at oracle.adf.controller.v2.lifecycle.Lifecycle$2.execute(Lifecycle.java:149)
                at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
                at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.startPageLifecycle(ADFPhaseListener.java:204)
                at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:370)
                at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:89)
                at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
                at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)
                at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
                at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:280)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:254)
                at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at com.arshumano.gh.view.handler.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:40)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
                at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
                at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
                at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:478)
                at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:303)
                at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:208)
                at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:137)
                at java.security.AccessController.doPrivileged(Native Method)
                at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
                at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
                at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
                at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
                at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3367)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3333)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
                at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
                at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
                at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    

    Well, if you use transient attributes that must survive passivation / activation you must ensure for the passivate. Check JDev: always Test Your App with the regrouping of ApplicationModule turns off | JDev & amp; Goodies ADF

    It't not a best practice just passivation everything without thinking. However, he must passivate some info so that your application works.

    Timo

  • The affinity of session and Application Module API

    Hi all

    We have some problems to understand why - the session affinity is not preserved when you use some of the methods provided by the interface of the AOS.

    In particular, we analyzed the effects of the method post_changes on the session of DB that the referenced instance of AM used to execute the method:
    We have seen that post_changes, when called, outside any internal modification of ADF, also locks the tables DB changes the user through the web interface of the session. Very well.

    Now if another user opens a Web Session and, for some reason, the above AOS instance is recycled to the pool, then the DB used by instance AM session is restored to be ready for the demands of the new session, so the previous table locks are lost and the new user can basically do anything with the table/view objects.

    The question is:

    Why are they not all the effects of post_changes (which is the framework method) "passivees/enabled" as the other methods of the framework, for example: "insert/delete/update? or why locks are lost?
    We expected these paintings remain locked after the instance referenced AM was recycled (i.e. is no rollack should have be done).

    Basically, we think that there is something inconsistent in the behavior of the framework: simultaneity is always choerent for some base DML (insert, update, delete) via the API framework, but, on the other hand, at least in the case of post_changes the "effects" of the two concurrent on AOS users same instance may be gone.

    Could someone give no explanation?

    Because postChanges actually performs the DML against the underlying tables in the DB instead of simply store the intermediate layer state information. The effects of the postChanges cannot be passive/active. If you do not postChanges, then the insert/delete/update is just the State information in the middle tier and can be passivated/activated.

    In short, as we discussed on your other thread, you shouldn't be trying to keep DB state between requests :)

  • Should replace AppModule:beforeDisconnect when using PROXY user database?

    Hello, OTN,.
    I'm trying to find out the ability to use the proxy database user associated with the application of the ADF.
    First link Google showed me this blog: https://blogs.oracle.com/imc/entry/how_to_use_database_proxy. In this case, AppModuleImpl::afterConnect and beforeDisconnect are overloaded.
    This implementation of the method showed trouble with passivation/activation.

    Other research Ferré it is recommended to substitute AppModuleImpl::prepareSession instead of these methods. Found here: ADF 11 g - user Proxy

    My question is: is the second method really activation/passivation without danger? And should I replace beforeDisconnect the same way as described in the first method?

    Thank you.
    ADF 11.1.2.1

    Anyone?

    Published by: ILya Cyclone on March 1, 2012 12:35

    My question is: is the second method really activation/passivation without danger?

    I don't see any problems with it - what have you seen when you tested? Turn off AM pooling (including forces activation/passivation) and test

    And should I replace beforeDisconnect the same way as described in the first method?

    NO.

  • Unable to create the virtual disk: fault. RestrictedVersion.summary

    Hello

    Im trying to create a virtual disk using the CLI on ESX4i.  The script is:

    vmkfstools.pl - Server 10.190.2.51 - c 20 g d eagerzeroedthick - a free /vmfs/volumes/Internal/test.vmdk

    When the script runs I get error: unable to create the virtual disk: fault. RestrictedVersion.summary

    Can someone tell me why please.  Im trying to create a disk of 20 GB with adapter free with eagerzeroedthick on my internal called storage, (no subdirectory).

    The file system is THAT VMFS 3.33 maximum file size is 256 GB.  The block size is 1 MB.  If it is the block size that is the problem how can I easily change?

    It's in a laboratory, not a production environment.  I need the flag eagerzeroedthick like Im trying to create a passive active cluster node MSCS 2 on a single physical node with 2 machines VMS.

    Thank you.

    Mike.

    If you use the free version of ESXi (U4 and later versions), access to tools like the VIMA API are read-only.

    -Matt

    VCP, vExpert, Unix Geek

Maybe you are looking for