New ADF Taskflow transaction acquires a new JDBC connection?

Hi,
I would like to know more about ADF Taskflow transaction in relation to JDBC Connection.
tf1 ----(contains)---- page1 and call to tf2
tf2 ----(contains)---- page2
page1 - search objects
page2 - edit objects
I have two pages part of two taskflows, first taskflow does not create any transaction but the page1 in tf1 shows a searh screen for objects. I want to use transaction behavior of ADF TF for tf2 which is called in tf1.
My tf2 contains a page for edit objects, if i set New transaction as TF transaction behavior for tf2.
Does it really acquire a new JDBC connection?
I really appreciate if someone can help me with this.
Thanks,
Sunil.

"Is there any way to achieve 1 user ---> 1 connection ?"
I don't claim to be an expert on answering this as there's still a lot of things I need to investigate, and other's in the forum may chime in with more informed answers, but my understanding is you need to:
a) Use a single root AM
b) Configure your BTFs to use "shared data control scope" and the same AM
c) All of your BTFs should use "Use existing transaction if possible"
Because of "c", the very first BTF called, will not have a transaction to borrow, so it will establish a new transaction and therefore a new connection.
An alternative is, and I'm on shaky grounds here so please check this for yourself, but you could set all your BTFs to "use no transaction", which implies I believe they switch back to the model used in JDev 10g, where it's purely your AMs that determine connections/transactions.
As for saying 250 connections sounds very high, that's really up to you. If you build an application that you need to support a user with multiple transactions, it's your requirement that causes this. IMHO Oracle has given you the flexibility to build your application anyway you want, so it's up to you to decide if you want multiple concurrent transactions per user or not.
Finally regards the behaviour observed in WLS, note that the AM pooling options can influence the behvaiour of connections, so it's hard to say what you're seeing is correct, it depends. A suggestion is to install Oracle's Fusion Middleware Control application and use that for monitoring statistics; the FMW Control has smarts built it to help you observe the AM pooling and connection pooling. Andrejus Baranovskis has a few blog posts describing how he used this to track the pooling options.
CM.

Similar Messages

  • ADF Taskflow Transaction Management Pattern

    We have a project that consumes public common taskflows from a shared library.
    How should we define the transaction management of these public common taskflows?
    Who is respondsible for the transaction management?
    I am able to understand the various transaction handling mechanisms suppported by ADF taskflow from the following link in the Developer's guide:-
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/taskflows_complex.htm#BABICCGC
    But I would like to understand the right pattern for implementating the above.
    Please provide your inputs/links on the same.
    Thanks in advance,
    Navaneeth

    There is no "right" way to do it. If the task flows are standalone, independent transactions that operate independently of any master task flows, then you can have them manage their own transactions; if you want them to join any existing transaction, you would do that. Without an example and without understanding the purpose for which you are building the common taskflows, it's pretty impossible to say much of anything.
    John

  • Two jdbc connections in one transaction

    Hi<br>
              <br>
              In a method of a container managed ejb session bean I have two jdbc connections. I've expected, that they will be in the same transaction, so results of any actions performed with first connection will be visible for the second connection, but it is not. <br>
              I've checked, that there are two sessions at the database, so it seams that there are simply separate transactions. Is it a problem with a ejb-jar.xml (will paste it later), datasource (driver - Oracle Thin non-XA; 1PC selected) or such behaviour can not be achieved in WLS ? <BR>
              <BR>
              regards
              <br>
              <BR><?xml version="1.0" encoding="UTF-8"?>
              <BR>
              <BR><!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
              <BR>
              <BR><ejb-jar >
              <BR>
              <BR>     <description><![CDATA[No Description.]]></description>
              <BR>     <display-name>ConnectionTest1</display-name>
              <BR>     
              <BR>     <enterprise-beans>
              <BR>          <session >
              <BR>               <description><![CDATA[]]></description>
              <BR>               
              <BR>               <ejb-name>ConnectionTest1</ejb-name>
              <BR>               
              <BR>               <home>pl.axit.test.ConnectionTest1Home</home>
              <BR>               <remote>pl.axit.test.ConnectionTest1</remote>
              <BR>     <ejb-class>pl.axit.test.ConnectionTest1Bean</ejb-class>
              <BR>     <session-type>Stateless</session-type>
              <BR>     <transaction-type>Container</transaction-type>
              <BR>     
              <BR>     <resource-ref >
              <BR>          <res-ref-name>jdbc/wowrite</res-ref-name>
              <BR>          <res-type>javax.sql.DataSource</res-type>
              <BR>          <res-auth>Container</res-auth>
              <BR>     </resource-ref>
              <BR>     </session>
              <BR>     </enterprise-beans>     
              <BR>     
              <BR>     <assembly-descriptor>
              <BR>          <container-transaction>
              <BR>               <description/>
              <BR>               <method>
              <BR>                    <description/>
              <BR>                    <ejb-name>ConnectionTest1</ejb-name>
              <BR>                    <method-name>*</method-name>
              <BR>               </method>
              <BR>               <trans-attribute>Required</trans-attribute>
              <BR>          </container-transaction>          
              <BR>
              <BR>     </assembly-descriptor>
              <BR></ejb-jar>

    Hi,
              are you using XA transactions? Two separate JDBC Connections treated
              within one transactional context will require two phase commit (via
              Emulation or an XA database driver) Please check the connections
              settings within your datasources.
              Rgds,
              Axel van Lil (LMIS.de)
              Lukas Uruski schrieb:
              > I forgot to add, that in administration console in server_name > Monitoring > JTA parameter "Transactions Total Count" increases by one each time method from previous post is invoked.

  • How to deploy a new ADF task flow in OIM 11g R2

    Hi,
    I have created a new ADF task flow.
    Now I need to deploy the same in OIM 11g R2, so that when I click on a link it will call my new ADF task flow.
    Please help me in identifying the steps required to deploy the adf task flow.
    Thanks

    Hi Durga,
    Thanks for sharing the post. I think I am facing the same issue which you were facing.
    I have already done these steps but still not able to get my custom page on click of a link which I created in OIM self service page :
    1. I have created the adflibHomepagePortletsUI.jar as an adf library using Jdeveloper and copied it to oracle.iam.ui.custom-dev-starter-pack.war --> WEB-INF/lib folder after unpacking it.
    2. have updated the custom-catalog.xml file inside oracle/adf/rc/metadata folder with the below lines :
    <folder name="Sample Folder" id="sampleFolder">
    <contents>
    <resource id="helloWorld" name="Hello World"
    description="Hello World Taskflow Reference"
    repository="application.classpath"
    path="adflibHomepagePortletsUI.jar/ADF_TaskFlow/WEB-INF+oracle+iam+ui+sample+homepage+tfs+hello-world-tf.xml#hello-world-tf">
    <attributes>
    <attribute value="coreDefault" attributeId="attr.background" isKey="false"/>
    </attributes>
    </resource>
    </contents>
    </folder>
    3. repacked the war file and copied it in OIM_HOME/server/apps directory
    4. Restarted the OIM server.
    5. entered the following lines in jazn-data.xml present in user_projects\domains\idmdomain\servers\oim_server1\tmp\_WL_user\oracle.iam.console.identity.self-service.ear_V2.0\6bddg\META-INF\jazn-data.xml
    <permission>
    <class>oracle.adf.controller.security.TaskFlowPermission</class>
    <name>/WEB-INF/oracle/iam/ui/sample/homepage/tfs/hello-world-tf.xml#hello-world-tf</name>
    <actions>view</actions>
    </permission>
    5. Login to self service console.
    6. Click on the custom link who's actionListener is pointing to bean which is launching the taskflow created in the above steps.
    7. On Click of the link a new tab gets open with blank page.
    Please help me in knowing the step which I am missing in order to solve this issue.
    Many thanks once again.

  • How to add new line in transact move order line

    Hi,
    i am able to update locaotr in Transact move order.
    But i want to add two locators for the same line.
    I tried to insert one more record in data base, but getting error unique index error.
    so how can we add new line in transact move order line .
    please help to slove this isse.
    Thanks In Advance
    Venu.

    Hi,
    the fact that your question is posted in Order Management section, does the move order automatically generated by OM?
    nevertheless, i don't think you should (or allowed, in this case) to add a new line in transact move order. Transact move order only queries (not create records) the move order lines eligible to allocate and transact.
    So, I don't see why you need to add a new line in transact move order.
    You can, however, add a new line in the allocation of the lines, where for instance, you need to have half of the line allocated to one locator, and the other half to another locator
    Thanks

  • New Write up transaction type which can post to Affiliated company

    Hi Gurus,
      Can you please help me with this request.
    I have been asked to create the New Write up transaction type which can post to Affiliated companies copy  of transaction type 700.
      But i dont see any such option (Posting type) in transaction AO78.
    Where as i can see the option in Transaction AO73( Acquisition) and AO68 (Retirement).
    Can you please guide me how can i create this transaction type if i can and the reason if i cant.
    Appreciate your time and early reply
    Regards

    OA81 is a general transaction. and AO78 specific for that kind of transaction types.
    I think these field are hidden in  AO78 for the reason that you can't use Affiliated company.
    I never have seen a screen with Write up that you can fill in an Affiliated company.
    For me this have only sense for postings between company code's.
    You can tray to change the values by using the debugger, but it can give nice other effectslike that it is no longer possible to run the depreciation run when you have used this transaction type. Or it is working now but never again after an upgrade. There is a reason that you can't use these fields.

  • Error while entering transaction for a new customer in release 12.1.1

    Hi,
    I created a new customer in receivables (am using the version 12.1.1)
    First i got an error while creating the customer saying, "Provide a positive integer for minimum customer balance amount or percent when balance amount overdue type is amount or percent respectively"
    I corrected the profile class amounts and now am allowed to create the customer but now the error comes while entering a transaction for this new customer:
    "The system cannot determine geographical information for this location and cannot derive a tax jurisdiction. Please contact your system administrator"
    please suggest a solution.
    regards,
    Shilpa

    I faced the same problem, Doc ID 420194.1 solved the problem. Shilpa kindly post the solutions moving forward so the users can benefit from it. Thank you!
    Solution
    run Geography Reference Program with parameter "Country code" for all records.
    Navigate to Trading Community Manager ->
    Requests -> Run
    Select "Geography Name Referencing" program
    Processing for Table : HZ_LOCATIONS and Run Type : ALL
    Parameters: Country Code :US
    Usage Code :ALL
    From Location Id :NULL: To Location Id:NULL
    Start Date :NULL: End Date:NULL
    Number of workers:1
    Total number of Processed Locations:9
    Number of Successfully Processed Locations:9
    Number of Locations in Error:0

  • Add a new field in transaction KO03

    Hi,
    I would like to add a new field in transaction KO03, which are the solutions?
    thank you.

    check below exits and add the filed
    COOPA002            Customer function for master data maint. - internal orders
    COOPA003            User-Defined Fields in the Order Master
    COOPA004            Customer function: Print order master data
    COOPA_01            Customer check modules for internal orders

  • Addition of new column in Transaction VL10G

    Hello Experts.
    My requirement is that USER want to add new column in Transaction  VL10G
    There two plant in which Ware house management is activated. while creating delivery from Transaction VL10G from these two plants, Storage type column should be added in layout in delivery creation screen.
    Storage type column should be appear after executing VL10G for Ware house managed plant only.
    please help me in that ,is there any configuration or USER Exist which can fulfilled my requirement. ?
    waiting for reply.....its quite Urgent
    Regards
    Pash@SD

    Hi
    Go to report V50R_USEREXITS and see these includes
    * 1. Add field to list-display
    * Userexits for additional fields on list display
    * use append-structure in DDIC at structure SHP_VL10_ITEM
    * and ad field value in one of these routines
    *INCLUDE LV50R_VIEWG02.       "POS_ITEM_FILL_USER:       SD/MM-orders
    *INCLUDE LV50R_VIEWG03.       "POSTAB_VEPVG_FILL_USER    SD-Index
    *INCLUDE LV50R_VIEWG06.       "POSTAB_VETVG_FILL_USER    MM-Index
    *INCLUDE LV50R_VIEWG07.       "POSTAB_DELIVERY_FILL_USER Delivery item
    See also SAP Note 421791 - VL10: Including new fields in the shipping due date list
    Regards
    Eduardo

  • Solman 7.0 - Question regarding "New Maintenance Optimizer Transaction"

    Hi All,
    Since I'm quite new on Solman transactions, while monitoring my queue, I found 4 tickets that says "New Maintenance Optimizer Transaction".
    This is what's inside:
    "Internal Note             SOLMAN_ADMIN 08.04.2014 08:41:25
    The status was set to the value 'Selection'"
    Can someone help me on where to find information regarding this, or if this is something I should take a look at?
    Thanks!

    Hi Bua,
    Somebody has created an new maintenance transaction from MOPZ of solman, which is used for generated XML for applying support packs and EHPs.
    Selection mean, that the user was selecting the components but has now done anything or updated the status
    Divyanshu

  • Transaction in a new task closed unexpectedly

    Hello,
    My requirement is open a new task from my program and calling an specific Z transaction in the second dynpro. I have managed to do this by using a CALL FUNCTION 'my_function' IN UPDATE TASK. However, when the user continues working with the new transaction in a new task it closes unexpectedly because the transaction arrives to a CALL METHOD sentence.
    Do you know how to solve this situation?
    Thank you,
    Óscar

    Hi
    It's not clear if you want to run another program in a new session or you want to open a new dialog where user can run the new transaction.
    IN UPDATE TASK is the option to run a function module in a UPDATE process (it's triggered by COMMIT)
    STARTING NEW TASK task is the option to open a new session
    Max

  • I have acquired a new laptop and wish to transfer my use of the creative cloud from my old laptop to my new one. How do I uninstall and then reinstall on the new device ?

    I have acquired a new lap top and wish to transfer my use of the Creative Cloud from my old laptop. How do I uninstall and then reinstall on the new device ?

    Richardwmills for information on how to install the Adobe Creative applications included with your membership please see Install and update apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • When will new ADF UIX demo be released?

    Are there any one can tell me when the new ADF UIX demo based on uix 2.2 be released?
    I want to know if we can get databind uix tree component (or other ui components) from ADF data action control which return dataobject and something else.
    Thanks a lot.

    Hi Daniel,
    Are there any one can tell me when the new ADF UIX
    demo based on uix 2.2 be released?I'm not sure when any sample applications will be released, but there is an ADF UIX tutorial available here:
    http://otn.oracle.com/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    I want to know if we can get databind uix tree
    component (or other ui components) from ADF data
    action control which return dataobject and something
    else.I'm not sure about the tree component - I'll try to find out whether that is/will be supported. Once your data controls are available in the Data Control Palette, you can bind them to components in your UIX page by:
    1. Selecting the data control that you want to bind.
    2. Selecting a component type from the "Drop As" choice.
    3. Dragging the data control onto the UIX page.
    This process is illustrated in the tutorial above.
    Andy

  • What does this error message mean: "Please acquire a new SIM (H5006)"

    I tried accessing my cellular data and got this screen:
    "The SIM is currently active and not available for activation on this device"
    "Please acquire a new SIM (H5006)"
    Any ideas why this would happen?
    Thanks,
    Ron

    After continuing to get the H5006 error today, went to the Apple store, and after 85 minutes of trying to fix it, they gave me a new iPad with new SIM. Tried to register and was told that I could not because the e-mail address was already being used (it was the one I tried to register yesterday which resulted in the H5006 error). Apple suggested I go to an AT&T store since it's really an AT&T problem, but their service was fantastic in replacing my iPad for a new one.
    Went to an AT&T store and they person said all that he can do is sell me a new SIM card--that the stores are not able to go into iPad accounts. He seemed frustrated with that inability to help customers, I clearly wasn't the only one who had come in and he'd been unable to help.
    Called AT&T, and after two service people, they realized that the H5006 error means that only part of the registration information was transferred and the solution is to delete the account and re-register. Account was deleted, and every time I tried to register I got an "Unable to complete registration, please try later". After several power cyclings and several registration attempts, I was told that a ticket was being written and that I would get an answer on Sept 23--6 days from now. That was a 90-minute phone call.
    So, the 3G iPad still doesn't work and it's clearly AT&T's system preventing it from activating. This iPad is for my wife--I have my own 3G and we both have iphones, so we are competent users. The iPad will be returned without replacement if the problem isn't fixed by the 14-day return date.

  • Let me know what is new table and transaction code in ECC6?

    Hi
    As the above title, I want to know what is new table and transaction code, through from R/3 4.6c to ECC6.
    Regards
    Sang lim.

    Hi Sang lim,
    Apart from the tocdes listed above,
    Transactions that changed from Release 4.6 C
    Rel.  Old TCode  New TCode 
    46C  ME51  ME51N 
    46C  ME52  ME52N 
    46C  ME53  ME53N 
    470  FNBD  FNBT 
    470  ME54  ME54N 
    470  ME59  ME59N 
    46A  MR01  MIRO 
    46A  MR02  MRBR 
    46A  MR08  MR8M 
    46A  MR1G  MIRO 
    46A  MRHG  MIRO 
    46A  MRHR  MIRO 
    46A  MRRS  MRRL 
    46B  S_P99_41000327  S_ALR_87100205 
    46C  MR03  MIR4 
    46C  MR1B  MIR6 
    46C  MR2M  MIR4 
    46C  MR3M  MIR4 
    46C  MR41  MIR7 
    46C  MR42  MIR4 
    46C  MR43  MIR4 
    46C  MR44  MIR4 
    46C  MR5M  MIR4 
    46C  OAA2  AUFW 
    620  AFAB  AFABN 
    620  AL01  RZ20 
    620  AL02  RZ20 
    620  AL03  RZ20 
    620  AR11  AR11N 
    620  AR29  AR29N 
    620  ASKB  ASKBN 
    620  CA97  CA97N 
    620  DB02  DB02N 
    620  FM3S  FMCIA 
    620  FM3U  FMCIA 
    620  FMN3  FMN3N 
    620  FMN4  FMN4N 
    620  FMN5  FMN5N 
    620  O02E  BMBC 
    620  OACR  OAC0 
    620  RZ23  RZ23N 
    620  SCOM  SCOT 
    620  SM22  SM21 
    620  SWID  SWI2_DIAG 
    620  S_P9C_18000190  S_PL0_09000447 
    620  S_P9C_18000247  S_P6B_12000136 
    620  VOPA  VOPAN 
    620  VOTX  VOTXN 
    620  WE49  WE42 
    620  WE52  WE41 
    620  WE53  WE41 
    640  ABAW  ABAWN 
    640  AL04  RZ20 
    640  AL19  OS07 
    640  COHVOMAVAILCHECK  COMAC 
    640  COHVOMPI  COHVPI 
    640  COHVOMPP  COHV 
    640  KE1F  KE1FN 
    640  KE29  KE29N 
    640  MKH1  MKH1N 
    640  MKH2  MKH2N 
    640  RZ02  RZ20 
    640  RZ06  RZ20 
    640  RZ08  RZ20 
    640  STAT  STAD 
    640  STMP  SLPP 
    640  VL22  VL22N 
    700  AL05  RZ20 
    700  AL16  RZ20 
    700  AL17  OS07 
    700  OVXA  OVXAN 
    700  OVXG  OVXGN 
    700  OVXJ  OVXJN 
    700  OVXK  OVXKN 
    700  OVXM  OVXMN 
    700  OVX3  OVX3N 
    700  OVX6  OVX6N 
    700  OVX8  OVX8N 
    700  WLAM  WLAMN 
    700  WLMM  WLMMN 
    700  WLMV  WLMVN 
    700  WLWB  WLWBN 
    700  WPLG  WPLGN 
    Regards,
    Kiran

Maybe you are looking for