How to Use No DB connection App with task flow desined as 'New Transaction'

Hi,
My application is fully depend on Custom java datasource implmentation and it requires no DB connection at all. I've done necessary implementation (http://andrejusb.blogspot.in/2012/03/use-case-for-adf-bc-with-no-database.html) by creating CustomDatabaseConnectionStrategy that says
    @Override
    public ApplicationModule createApplicationModule(Hashtable env) {
      env.put(Configuration.DB_REQUIRES_CONNECTION,Boolean.FALSE);
      env.put(PropertyMetadata.ENV_DO_FAILOVER.pName, PropertyConstants.FALSE);
      return super.createApplicationModule(env);
    }My application works fine until i keep my task flow transaction as 'No Controller transaction'. Yes, I use Dynamic tab shell template as UI. But when I keep it as 'Always Begin with New Transaction' and not to share the Data control, Screen is not at all getting rendered. I get some exception (I guess the moment I try to open the task flow, it is trying to get the connection. Since there is no connection available, It gives me this error. Is it so?)
One of my client requirement is to open the same screen under multiple tabs as a fresh screen (i.e. with different transaction. We do transaction through tuxedo transaction server). If I load a screen under first Tab with some data, added some record, deleted some record.. and If I load the same screen under another Tab, it should not refelect the same data whatever I have under first Tab.
Requirement:
I don't have DB connection in my app. But I should be able to define the task-flow to open with new instance of Application module whenever it is opened.
Your help on this would be appreciated.
Raghu

If I understand you requirements correctly, you do not need ADF taskflow transactions but you just need fresh DataControls. If it is so, then you do not have to set the taskflow's transaction behaviour to "Always Begin with New Transaction" (e.g. keep it to "No Controller Transaction"), but set the DataControl frame to "isolated" (e.g. uncheck the "Share data controls with the calling task flow" checkbox in the taskflow's Property Inspector). In this way each taskflow instance will be started in a different DataControl frame (e.g. it will instantiate its own set of ApplicationModule instances).
Dimitar

Similar Messages

  • How to use JDBC to connect Tomcat with database server?(Urgent!)

    I try to deploy the tomcat and make it connect with databaser server.
    I am using mysql connector J 3.0. I added the CLASSPATH of mysql-connector-java-3.0.7-stable-bin.jar in the tomcat.sh .
    I also add the web application in server.xml.
    When I start tomcat, I can see using Classpath including mysql-connector-java-3.0.7-stable-bin.jar .
    But when i browse my jsp including the jdbc, wait for a while, I get a message as following: Timeout on server localhost. My web server and database server is same computer.
    Could you tell me what's wrong?

    Did you check to see that the MySQL database was indeed up and running, and accepting connections when you started Tomcat? Did you make sure that your firewall permits connections to the database?
    Timeout errors generally occur when you send a request to a server and the server does nothing with it - i.e., it doesn't respond to it in any way. Most firewalls are configured this way. If I telnet to your machine and I get "connection refused", I know your machine exists and I can try hacking into it. If I telnet and get nothing at all, then I will either assume either there's no actual machine at that address or it's unresponsive.

  • How to use creative cloud desktop app with proxy

    I currently work at a company where a proxy server is in use, and the desktop CC app doesn't seem to detect it, It returns the no internet connection error. The Retry button doesn't actually retry.

    Webhosting plan included in CC does not include email hosting thus, you can purchase webBasics+ plan of Adobe Webhosting or choose some free email hosting providers to do that.
    Refer to the buying guide for Adobe Web Hosting: http://www.adobe.com/in/products/web-hosting/buying-guide.html

  • TS1702 I no longer want to use the Pandora one app with automatic renewal how do I quit it so it stops charging my credit card??

    I no longer want to use the Pandora one app with automatic renewal how do I quit it so it stops charging my credit card??

    http://support.apple.com/kb/ht1918
    http://support.apple.com/kb/ts5366

  • Is there a way to use a camera connection kit with an ipod touch 64gb?

    is there a way to use a camera connection kit with an ipod touch 64gb?  Is there an App for that?

    no

  • HT1311 How can I get updates for apps with new Apple ID

    How can I get updates for apps with new Apple ID. I have apps that I got for free, and some that I have purchased. I had to create a new Apple ID because I don't have a credit card now.

    Apps will always be tied to the ID in which they were purchased or downloaded under. You can not change this unless you buy or download the free  app using the new ID.

  • HT201205 how to use bluetooth to connect iphone to ipad???

    how to use bluetooth to connect iphone to ipad???

    what you do you expect them to be able to do with eachother ?
    you can transfer files or data between them unless you find some 3th party program which does that
    this is what ios devices support in terms of bluetooth profiles
    http://support.apple.com/kb/ht3647
    this is the full list of all bluetooth profiles (even your computer only support a fragtion of the list)
    http://en.wikipedia.org/wiki/Bluetooth

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How to use "Notes" on my iPad with my existing iCloud address?

    How to use "Notes" on my iPad with my existing iCloud address? It asks me to create a new one...

    Did I overlook some critical info here? I'm having the same problem described by Henry5, but I'm signed in to iCloud with my AppleID which is not the same as my Mobile Me/iCloud email. I keep being asked to create an account (which it won't allow me to do since the account already exists) but no where do I see an option to use the existing account. I also tried logging out with my AppleID account, and using the iCloud email, but that doesn't work.
    I just want to sync my notes and mail... this is really irritating!

  • Is there a way to use the Picture viewer app with linked folders?

    I have a fairly extensive photo collection (literally in the tens of thousands we have taken over the years, and growing) on my PC that I have access to through BB link/file manager...one picture at a time...with no thumbnails...
    Is there any possible way to use the BlackBerry picture app with BlackBerry link folders?  All I want is to be able to hook up my Z30 via HDMI to the big screen and have the option for a slideshow from the archive on my PC without having to blindly stab at individual files and folders, and without having to copy whole folders of dozens or hundreds of photos to my phone.
    Thanks in advance!

    http://www.mebeam.com/
    Create a Chatroom.
    Adjust your Settings (Allow Flash to control your camera)
    Invite Buddies.
    7:55 PM Wednesday; February 20, 2008

  • How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.

    Dear Experts:
    Please help me. How to use FM SO_DOCUMENT_REPOSITORY_MANAGER send mail with CC.
    My Program code is as follow:
    *Send the mail.
    tb_receipients-recnam = 'BAITZ'.
    tb_receipients-recesc = 'B'.
    tb_receipients-sndex = 'X'.
    tb_receipients-att_fix ='X' .
    APPEND  tb_receipients.
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
      EXPORTING
        method       = wa_method1
        office_user  = wa_owner
        ref_document = wa_ref_document
        new_parent   = wa_new_parent
      IMPORTING
        authority    = wa_authority
      TABLES
        objcont      = tb_objcnt
        objhead      = tb_objhead
        objpara      = tb_objpara
        objparb      = tb_objparb
        recipients   = tb_receipients
        attachments  = tb_attachments
        references   = tb_references
        files        = tb_files
      CHANGING
        document     = wa_document
        header_data  = wa_header.
    endform.                    " send_mail
    By the why, tb_receipients-recnam = 'BAITZ'. What's the meaning of 'BAITZ'? Thanks!

    you can use FM SO_NEW_DOCUMENT_SEND_API1
    WA_RECV TYPE SOMLRECI1,
    IT_RECV TYPE STANDARD TABLE OF SOMLRECI1.
    wa_recv-receiver = 'TO email address'.
    wa_recv-rec_type = 'U'.
    wa_recv-com_type = 'INT'.
    APPEND wa_recv TO it_recv.
    CLEAR wa_recv."To Recipient
    wa_recv-receiver = 'CC email address'.
    wa_recv-rec_type = 'U'.
    wa_recv-com_type = 'INT'.
    wa_recv-copy = 'X'.
    APPEND wa_recv TO it_recv.
    CLEAR wa_recv. "CC Recipient
    wa_recv-receiver = 'BCC email address'.
    wa_recv-rec_type = 'U'.
    wa_recv-com_type = 'INT'.
    wa_recv-blind_copy = 'X'.
    APPEND wa_recv TO it_recv.
    CLEAR wa_recv. "BCC Recipient

  • How to use the eventing and databag with a WAS 6.20 ?

    How to use the eventing and databag with a WAS 6.20 ?
    Is what there is a good guide for these services?
    Thank's

    In the raise event you can pass the value
    like below.
    <SCRIPT>
    function raiseEvt(value1){
    if(window.document.domain == window.location.hostname){
    if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
       EPCMPROXY.raiseEvent( "urn:com.sap:BWEvents","BWiViewevent", value1, null );
      // alert('tree domain'+document.domain);
    </SCRIPT>
    and in the
    subscribe event you can get the values like below.
    <script language="javascript">
    if(window.document.domain == window.location.hostname){
    document.domain = document.domain.substring(document.domain.indexOf('.')+1);
        EPCMPROXY.subscribeEvent("urn:com.sap:BWEvents","BWiViewevent", window, "myreceiveEvent");
    function myreceiveEvent( eventObj ) {
          document.forms[0].gp_hidden.value = eventObj.dataObject;
    </script>
    Also look at the following link for a complete documentation.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/Enterprise%20Portal%20Client.pdf
    Regards
    Raja

  • I want to know Apple pay is available in Canada or if it is available how to use it and health app how to use it Ty

    I want to know Apple pay is available in Canada or if it is available how to use it and health app how to use it Ty

    Apple Pay is US-only at this time.

  • How to use warn about changes property with page menus

    how to use warn about changes property with page menus

    Hi,
    If u will enable this property, then u will get warning message as a popup in case of change of state of VO.
    Regards,,
    Gyan

  • How to add admob in android app with dreamweaver

    how to add admob in android app with dreamweaver ?

    flash-air-admob-ane-for-ios-and-android - Admob Ane,a adobe native extention(ANE) for actionscript developer to add go…
    code and demo.but you need upgrade to flash cc.

Maybe you are looking for

  • Here is what to look for when you battery goes bad

    http://gallery.me.com/cid.dennis#100024/Bad%20battery%202 http://gallery.me.com/cid.dennis#100024/Bad%20battery%203&bgcolor=black http://gallery.me.com/cid.dennis#100024/Bad%20battery&bgcolor=black Apple support says after your battery will no longer

  • Spry Menu shift in IE

    I've created a horizontal menubar with the Spry features. In FireFox, the submenu bars drop into the correct place and function properly. Pull up the page in IE 7 and the submenus appear off to the right of where I want them to be. Here's a link to t

  • CopyRights problem with "expires at the fixed time" uat mode

    Dear all I found a problem with rights parameter When I use rights parameter in uat mode or umt mode it can't be work with this two modes($uat and $umt) and I found a document in adobe jp the document says "only uat mode works well with expire functi

  • Need abig help GPS-AGPS !!

    Hi everyone, First of all my topic may sounds so silly, stupid and pretty long but believe me im just a16 years old boy and its like im the Only hope for everyone around me who has n95 for getting our GPS working here in QATAR, espcially that everyon

  • I have installed Lion and the Java update but my CS5 PS will not open jpegs to edit.

    I have loaded Lion, and updated my Java but for some reason my Photoshop doesn't want to load pictures. I can see them in the layers, but the actual image is just not coming up. Maybe this is nothing to do with Lion, but if anyone has any ideas it wo