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 :)

Tags: Java

Similar Questions

  • Once connected to download the message 'download error' and application of re - download the creative cloud

    Hello. I did the installation of Adobe Criative cloud. Once logged in to download the application the message 'download error' and application of re - download the creative cloud (and I am downloading repeatedly unresolved. "What should I do?

    Hello

    Please see: -.

    Error download or update Adobe Creative Cloud applications

    or

    https://helpx.Adobe.com/creative-cloud/kb/download-error-apps-tab.html

    Hope this helps!

  • Tecra A2 - can not find the CD of drivers and applications for download

    Hello support,

    I can't find anywhere on the Toshiba Site "TECRA A2 Applications and drivers CD.
    Why are you doing if difficult for your customers to find all the drivers needed in one place?

    Please provide me a link to download the full drivers disk.
    The driver downloads page lists 30 pilots unique instead to offer a package.

    Thank you.

    Hello

    Have you checked on the Toshiba driver page?

    http://EU.computers.Toshiba-Europe.com/innovation/download_drivers_bios.jsp

    There is not a full driver package, you must download the only drivers and install them keeipng the proper installation order.

    Post edited by: Jeka-HE

  • Windows (Vista) stop way unexpectedly in the middle of sessions and caused the problem would BlueScreen. Here are more details: OS Version: 6.0.6002.2.2.0.768.3

    Frequent unexpected stops in the middle of sessions.  Problem event name is BlueScreen.  This problem is related to the Service Pack 2.0.

    Hi Mir,

    1. do you get an error with the Blue Screen Error of death (BSOD) code?
    2. When you get this error message?

    I suggest you to follow the steps and check if it helps.

    Method 1: Follow the steps in the link and check if that helps.
    http://support.Microsoft.com/kb/958233

    Method 2: You can also check out the link and check if it helps.
    http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7

    Note: This link is also applicable to Windows Vista.

    Method 3: Check related error in the observer of events and after return.

    http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer

  • Error in deployment of Simulator for the 10 Blacbkerry 'synchronization and application launch.

    I use Momentics® IDE for BlackBerry Version: 2.0 Build id: v201310251603 with Simulator10.1.0.4828.

    Momentics seems to connect and paired with success to the Simulator. When I click "Run", it starts the process of packaging and deployment, but get the error in "synchronization and launch the application" part. There are different errors but no useful information in the dialog box. Here are two samples

    Failure of deployment: Info: failed to get a connection QConn, sync disabled
    Info: Sync disabled, packaging full bar required for installation
    Info: Sending request: INSTALL_AND_LAUNCH
    Info: Action: install and launch
    News: Native debugging: on
    Info: File size: 304312
    Info: Installing com.example.BB10TrackerSample.testDev_ackerSamplea7864132...
    Info: Treatment 304312 bytes

    #2

    Failure of deployment: Info: try using the synchronization failed: connection reset
    Info: Sync disabled, packaging full bar required for installation
    Info: Sending request: INSTALL_AND_LAUNCH
    Info: Action: install and launch
    News: Native debugging: on
    Info: File size: 304312
    Info: Installing com.example.BB10TrackerSample.testDev_ackerSamplea7864132...
    Info: Treatment 304312 bytes

     

    Please refer to this article for more information about this problem and a workaround.  Note that this problem is resolved in the new versions of BlackBerry 10.

    Application deployment can hang or fail after OTA update to 10.1

  • What is the association between JMS and JMS Module server in weblogic 10?

    Hello

    I have a created a topic ConnectionFactory, queue as JMS Modules in Weblogic Server 10 using the administration console.
    And I created a JMS server and targeted on the server running current (Server Admin).

    But when I run the program of the sender of the queue it is not able to search the jndi I gave for the queue.

    queue = initialContext.lookup ("jndi_queue") (line);

    Exception:
    javax.naming.NameNotFoundException: unable to resolve 'jndi_queue '.

    But I have configured jndi name when I create the queue JMS module in Weblogic Server 10.

    How the JMS Module and Server JMS are involved.

    My doubt is if I have several JMS Modules and that one created JMS server so how the JMS server identifies the queue/topic belonging to what JMS Module?

    Please advice.

    Thank you...

    Hello

    Once you have configured the JMS servers:

    Step 1: Target the configuration module of JMS in the cluster that will host destination, or, if not using clusters, target the module to the individual WL server that will host the JMS server.

    Step 2: Set up a "subdeployment' for the module and set it to reference the exact JMS servers that will be the destination host. If you use a desitnation distributed, you can specify that multiple JMS servers, if you use a regular destination, don't specify a single destination.

    Step 3: Create a resource of destination in the module, and then assign him his the subdeployment subdeployment specified in step 1 (the console called "advanced targeting"). As a best practice to avoid the "targeting default" option for the resource - always choose subdeployment targeting (Advanced).

    For more information, refer to the "best practices" section of the JMS configuration guide:

    http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13738/best_practice.htm#CACJCGHG

    I also I highly recommend chapter JMS the book "Professional Oracle WebLogic.

    Hope this helps,

    Tom

  • Just a simple print request gives me the impression of file and application name of output file.

    I am trying to set up a wireless printer samsung on a Linksys router for a Dell with Vista laptop.  When I send a test page it will go not to the printer... He's trying to "print to a file" asking and "Output File Name".  Why?

    Nelia,

    You may find that when you set up the printer first place it has been accidentally manually installed as a "print to file" rather than a printer real itself.

    My suggestion would be to uninstall all samsung software, remove the printer (start, devices and printers, right click on the printer-> remove) and then start again from scratch. Let us know how you go!

    See you soon

  • DataBindings and Application Module Bean

    Hello everyone,
    I'm working on JDev 10.1.3.4 and Oracle Application Server 10.1.3.4.
    I developed a "request module' and I've marked as being accessible remotely using option"EJB Session Bean.
    then I deployed on his.
    I know how to call the remote application of code module in a JClient application ([thanks a metalink note: https://metalink2.oracle.com/metalink/plsql/f?p=130:14:6076423513290714654:p14_database_id, p14_docid, p14_show_header, p14_show_help, p14_black_frame, p14_font:NOT, 309753.1, 1, 1, 1, helvetica | thanks a metailk note]):
    Bq. JUApplication app = new JUApplication (TestClient.getAppModule ()); - app.setClientApp (DCDataControl.JCLIENT); - + app.getApplicationModule (+)
    I would use the function module remote application of DataBindings and PageDef %.
    is this possible? How can I do this?

    Best regards

    Published by: user567554 on December 17, 2008 17:44

    Hello

    its been a while since I tried the distance AM, but the configuration of remote access AM must be in the configuration of data control, which means that remote becomes automatically available through the definition of link ADF. At the level of the application developer, there should be no need to know the type of deployment of AOS

    Frank

  • Problem with the Satellite Pro 2100 and new modules of RAM

    Hello

    I have a Toshiba Satellite Pro 2100 and I have a problem with the memory upgrade.
    My notebook of startup only if a plug-in module to a ddr, but if I insert the two modules IN CC led orange flashing start when I try to turn on the pc. The stop led not blinking unless I take out the battery and the dc adapter.
    Here is the code of the modules:
    KTT3614/256 (original)
    KVR266X64SC25/256
    256 MB pc2100 both.
    Starting the PC with any of them, as well as the modules are both compatible.

    Any ideas?
    (Sorry for my English but I'm Italian: D)

    Post edited by: DaK_TaLeS

    Hello

    the second location of memory perhaps is the problem.
    Try to start with a module in the second slot, first an empty slot.

    Good bye

  • With the help of control and simulation module; e to get the time the MISO model Manager

    Hello

    Please can someone show me how to find the response time of the system below using the module control and simulation?

    (y (k) - 1,7407 y (k-1) + 0.6236y (k-2) + 0.1782y (k-3)) =-0.0932 u(k-1) + e (k)

    where there is out, u came and e is a white noise.

    I tried to enter the CD construct MIMO model, then connect it to CD response time. * s vi.

    But what I really need to enter the model coeffs every time? and I still don't see the answer!

    Help, please...

    Kind regards

    ruser

    Hello

    you have the correct image... I used the Toolbox ID sys (Assistant)... to estimate the system model...

    and I tried all week last get the model of my system in labview for use the control on this module.

    Alhamdulillah...

    I ended up doing... I saved the template to a file from the Toolbox id sys... (my model is in discrete form) then I loaded it in labview using load file pattern...

    so now I in labview...

    now for control parts... ..

    Thank you again...

    ruser.

  • What is the difference between Fusion and Applications of the OBI. ?

    Hi all

    Please help me understand what OBIA and merge request. ? They are even if not, what is the difference. ?

    Thank you

    J Smith

    Merger application is a suite ERP (basically an OLTP system) supporting families of products such as Supply Chain, procurement, finance, HCM, CRM.

    Applications of the OBI is an output of the application of datawarehousing box (OLAP) that provides précodé ETL (in ODI or lower depending on version) and predefined in OBIEE reporting model. This application supports the extraction of the source data from systems ERP Oracle EBS, TFTP, Siebel systems of source. Applications of the merger is also one of the source systems supported by the Applications of the OBI.

  • Whenever I start my computer, I get the blue screen of death. I'm not getting in what concerns the opening of session and there is no prompt to start in safe mode. Whenever I start my computer the error code and message on blue screen are different.

    I have Windows Vista Home Premium. I was on the internet when my computer screen turned blue and a message told me that a problem has been detected and Windows has been shut down. He said that I had tried to do something with memory executable not executable (I don't have a note of the code). He said as he poured out memory. Now, whenever I start, the blue screen of death gives me different messages and different error codes. Today, he says:

    IRQL_NOT_LESS_OR_EQUAL

    and codes of error STOP: 0x0000000A (0x0000001B, 0 x 00000600, 0x810A90B0, 0x00000001).

    PC World say that they need to reinstall Windows, but I have some really really important files on there that I have not supported (I know, really stupid on my part) and they said they cannot guarantee their recovery. Is there another way to fix it?

    I've been on the forums and suggestions involve me to be able to connect to my computer. Blue screen hits me before I can log on, and there is no prompt to start in safe mode.

    Thank you very much!

    Try this to save your data:

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1 in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    See you soon.
    Mick Murphy - Microsoft partner

  • Call stored procedures in the object module and application of entity

    Hello

    I've implemented a helper methods that contains the EntiyImpl base class to call stored procedures.

    Now, I need to call procedures stored from the module of the application.

    Apart from the creation of a module base class asks and the programme of assistance of duplication of code in the method is possible
    to share methods of assistance for calling stored procedures between the entity impl and application module impl?


    Concerning
    Paul

    Support code depends on characteristics of an object instance given entity beyond its database transaction?

    If so, I'm not sure I see how it could be used with a class of application module.

    Otherwise, here's what you do:

    Step 1:

    Set up the database transaction - you can even choose to. So instead of

    {myHelperMethod (Object someParam) protected
    DBTransaction trans = getDBTransaction();
    ...
    }

    This is for change

    protected myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }

    Step 2: make the method public and static - once you set DBTransaction, you should be able to do.

    public static myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }

    Step 3: Remove your EntityImpl base class method in a utility class:

    Public MustInherit class PlSqlUtils {}
    private PlSqlUtils() {}

    public static myHelperMethod (DBTransaction trans, someParam Object) {}
    ...
    }
    }

    When you call the method of application module, object entity or class of same view object, call

    PlSqlUtils.myHelperMethod (getDBTransaction (), paramValue);

    Unlike Transaction.executeCommand (), allows you to provide features like the setting procedure of parameter values, recovery of the values of the parameters, etc.

    Hope this helps,
    Avrom

  • See the link to view the objects in different application modules

    Hello

    How to create link view (or link if that's the right word) to display the objects belonging to different application modules. Application modules use different database connections. I'm missing something.

    Any help is appreciated.

    Thank you
    VJ

    You can not do this - but maybe a possibility is to have the VO depend on a variable binding - and pass this variable to a VO to another.

  • Cannot find the Application Module

    Hello experts!

    I extended a controller to validate a user input (controller: oracle.apps.ar.cusstd.contact.webui.ArAcctContactCreateCO).
    I clicked on the about Page and in the PageDefinition the pageLayout controller = ArAcctContactCreateCO and ArContactsAM = application module.
    When I scroll I find attribute I'm posting called PersonLastName. This attribute is under
    controller: HzPuiQuickCreatePersonSpecialCO
    AM: HzPuiQuickCreatePersonAM
    VO: HzPuiPerQuickCreateProfileVO
    Display attribute: PersonLastName


    It's my extended controller:

    package xxx.oracle.apps.ar.cusstd.contact.webui;
    Import oracle.apps.fnd.framework.webui.OAPageContext;
    Import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    Import oracle.apps.ar.cusstd.contact.webui.ArAcctContactCreateCO;
    Import oracle.apps.fnd.framework.OAApplicationModule;
    Import oracle.apps.fnd.framework.OAException;
    Import oracle.apps.fnd.framework.OAViewObject;
    Import oracle.jbo.Row;


    SerializableAttribute public class XXF5ArAcctContactCreateCO extends ArAcctContactCreateCO
    {
    ' Public Sub processFormRequest (OAPageContext oapagecontext, OAWebBean oawebbean)
    {System.out.println ("Running LOW");
    OAApplicationModule oaapplicationmodule = (oawebbean) oapagecontext.getApplicationModule;
    System.out.println ("AM:" + oaapplicationmodule);
    OAApplicationModule PersonAM = (OAApplicationModule) oaapplicationmodule.findApplicationModule ("HzPuiQuickCreatePersonAM");
    System.out.println ("PersonAM:" + PersonAM);
    }
    }

    For some reason, the computer cannot find HzPuiQuickCreatePersonAM application module. I get the following results:
    PFR running
    AM: oracle.apps.ar.cusstd.contact.server.ArContactsAMImpl@5b04ae
    PersonAM: null


    I also replaced OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule (oawebbean) with OAApplicationModule oaapplicationmodule = (OAApplicationModule) oapagecontext.getRootApplicationModule () and I got the same results.

    Does anyone know why it does not find HzPuiQuickCreatePersonAM application module? Any help is appreciated.

    Hello

    as HzPuiQuickCreatePersonAM is under HzPuiCompositionAM

    (-a) HzPuiCompositionAM
    -I) HzPuiQuickCreatePersonAM

    If you start with
    OAApplicationModule apprAM = (OAApplicationModule) rootAM.findApplicationModule ("HzPuiCompositionAM");

    Kali has provided a code too much for AMs nested.

    Thank you
    Pratap

Maybe you are looking for