Lost Transaction across web forms

I start a transaction using JTA on one web form. When I move to another form and check the transaction status, it is no longer active. Why is that? Please help.
Thanks.

If one EJB calls the other directly (i.e. not through SOAP), then yes,
2PC applies. But not if you are going through SOAP. The transaction
context is not propogated with the call.
karthikeyan wrote:
If I implement two web services as EJBs on weblogic servers, is it possible to
call one from the other within its own transaction context? Will the 2PC be valid
still?

Similar Messages

  • Lost Page on when you should use MVC vs when you should use web forms

    I read a page last week.  I think it was on MSDN.  It was talking about the relative merits of MVC and web forms.  However, unlike the page http://msdn.microsoft.com/en-us/library/dd381412.aspx,
    which merely states the advantages and disadvantages of each format, this page went on to state something like:
    You should use MVC:
    when building web apps that do this
    when you web app needs that
    when you are doing the other
    You should use web forms:
    when building these other kinds of web app
    when your web app does this other thing
    when your web app does this.
    Does anyone know the page to which I am referring?
    (Oh and since when did it become impossible to paste anything into a question or reply block in MSDN forums.  This makes it very difficult to paste in page links.)
    Also I am not seeing an appropiate forum in my forums dropdown list.  So if a moderator wants to move it to the right forum I would appreciate it.
    Edward R. Joell MCSD MCDBA

    @Darnie Graceline Selvamary Thangalazar
    The first link is not what I was looking for as it tells the difference between MVC and Web Forms but not which is better for what.
    The second link does get more into which is better in certain situations but doesn't really analyze each type of project and specify that this is good for web forms and this is good for MVC.  However, it does provide some ways to analyze if your
    "situation" would be best served by using web forms and which would be best served by using MVC. 
    It specified that if reaction time is an issue then MVC is the answer.  This is good because with our excruciatingly slow network we need apps that take inherantly as little time as possible to load.
    I took another look at the link provided by gaurav.  Turns out that link has a link to an article by Dino Espisito which actually has the statement that I referred to above i.e. if your app has a lot of busines data.  After two years, that
    is as much as I remember of that page.  So in fact indirectly gaurav found the page I was looking for.
    Too bad I did not re-read this link when I started the current project, though.  One thing each of them says is that if your team (in this case me) has not had much experience in handling html elements directly then MVC is not a good fix for them. 
    For the last 6 months theis has been a major learning process in using JQuery, AJAX, and MVC to accomplish tasks which I've could have done using server controls and web forms with my eyes closed.  Too bad they don't make MVC so that you can use server
    controls with it.
    However since this thread is so old and unlike "Whose Line is it Anyway?" the points
    do matter. I am going to award the answer to gaurav.  Thanks everyone for providing some very interesting links on MVC.
    Edward R. Joell MCSD MCDBA

  • How do I access my Web Form Keychain password?

    Hello!
    I lost the original email containing my password from a web site months ago and need to access the password in the Keychain WEB FORM file.
    I dont' need to CHANGE it, I need to see the old one so I can log into the web site again since they changed the site, and the login page is now different with a new URL etc....so the autofill doesn't work.
    I'm in Keychain access and I see the event but how do I edit the form so I can see my password?
    It's my computer, this shouldn't be so hard to do.
    thanks
    A

    Hey Kappy
    thanks.
    I jsut found out how to do it.
    When I double clicked on the Keychain item, there was a checkbox I didn't see before " show password" I clicked it then entered my system password then it showed it.
    thanks!

  • My web form is not working with PayPal

    Only seamless gateways such as the "Pro" version of PayPal, eWay or Authorize.net will work with form payments. Gateways that have the user leave BC, such as PayPal Standard, Google Checkout or Realex, only work with the online store.

    I did further testing:
    1. I turned off the IPN and I still received the Error page.
    2. Than I went and turned off the Payment Data Transfer, and now I got the blank page... /PaymentProcess.aspx?paypal=success. However, I still got the paypal transaction ID attached to the orders.
    3. I turned on the IPN and still got the blank  /PaymentProcess.aspx?paypal=success and I still got the paypal transaction ID attached to the orders.So the conclusion is that IPN has no bearing on payments made with PayPal Standard when it is used with custom forms.
    4. I chaged the URL in the Return URL to go to the secure home page instea of to /PaymentProcess.aspx. and...it still sent me to the PaymentProcess.aspx and I still got the paypal transaction ID attached to the orders.
    5. I made the purchase using shoping cart to ensure it works too and this time I even received the receipt on the /PaymentProcess.aspx. The Ref# and Auth Code were "Not Applicable" but it still worked and it was recorded in the orders with the paypal transaction ID
    So my conclusions are:
    1. IPN has no bearing on PayPal payments made from the custom web form
    2. Payment Data Transfer being on sends to the pafe that can't be processesd and it renders Error message
    3. Return URL always send you to the PaymentProcess/aspx regardless what secure url you put in there.
    4. Transcation ID is always passed to the orders as long as it can connect to PayPal. I guess ur will do it as long as the Payment Gateway has the proper informration in there.
    5. It works the same from the custom web form and from checkout form.
    I hope this sheds some light and serves some purpose to whoever is completely confused by this as I am.
    Mario and Liam, thanks for your help. Much appreciated.

  • How to setup a purchase discount on my web form?

    How to setup a purchase discount on my web form? I use adobe form central and my wix web page only allow me to insert ready host form URL.

    Hi,
      I believe you want to embed a form on your web page.  Please take a look at this link, http://forums.adobe.com/docs/DOC-1991 and see if it works with your web page.  I am not familiar with wix websites tools, but if after trying it out with the instructions on how to embed the form, and does not work, maybe you can provide the FormsCentral web form URL on your web page.  Your end users visit your web page, click on the web form URL link and the form will open in a new browser.
    To get the FormsCentral web form URL, open the form, go to Distribute Tab / Web Form sub-tab and select "Copy Link", then paste the link on your web html page.
    If you want to set up your form to work with PayPal for payment transaction, please see this link: http://forums.adobe.com/docs/DOC-1632
    Hope this helps,
    Thanks,
    Lucia

  • OLE Container linked documents conversion to Web Forms

    We have developed a form within our Oracle 6i application which allows users to navigate directly from the Forms application to relevant documents. We use an OLE container and the documents (Word, Excel, PDF etc) are linked rather than embedded in the database. I understand that OLE containers are not supported within Web Forms. I'd like to maintain the functionality within the application and welcome any suggestions. I was hoping that Web_Util would provide this but it doesn't appear so. We have over 12000 embedded references to documents which we'd like to extract or retain. A possible solution would be to extract the filenames and paths/locations and have them available as a hyperlink.
    I have no idea how to extract the file from the database blob column. There are many samples of code on Metalink to extract the document and store it locally but that's not what we want.
    We use an OLE container (now Obsolete) with the OLE Tenant Type set to Linked, and OLE Tenant Aspect set to Icon. So the actual document is not embedded in the database but somehow the Application (Word Excel etc) knows the filename and path when you double click on the Icon.
    I would like to extract the filename/path from the blob column and transfer it to another column which will be used as a hyperlink.

    The documents are NOT stored in the database, they are linked. We have the documents on the network but have no idea which documents match to which unique record id on the database. Hence the need to extract the name and location of the files. Some ids can have up to 10 different documents attached to them
    The use of OLE Tenant type "Linked" was really a Forms 6 version of a hyperlink.
    I've got a hyperlink working for future use in attaching new documents to a record id. I am worried that we've lost the record of old links. I don't understand how Oracle can make something obsolete without at least providing an upgrade method.
    Hope this makes it clearer.
    Lesley

  • Forms 10.1.2.0.2: Web Form does not appear at Runtime with CALL_FORM

    Hello there,
    We have a number of forms we're executing as web forms using Oracle JInitiator 1.3.1.22. We have one form in particular that, when a button is pressed, is supposed to call another form via the CALL_FORM built-in.
    We are passing a parameter list to the new form, and executing the CALL_FORM built-in with these Setting Parameters:
    CALL_FORM( formmodule_name => '<OUR_FORM_NAME>',
               display         => NO_HIDE,
               switch_menu     => NO_REPLACE,
               query_mode      => NO_QUERY_ONLY );When we run the starting form as a web form (via JInitiator 1.3.1.22), and press the button to call the other form, all buttons on the starting form are greyed-out/disabled. The called form does not appear.
    I have carried out a number of checks with my own debugging tool (stored procedure writing messages to a table via an autonomous transaction), and forms focus is definitely been transferred to the called form. For example, the WHEN-NEW-FORM-INSTANCE trigger in the called form is definitely being executed.
    I suspect this problem is JVM-related rather than Forms-specific. My current plan of attack is to request the Application Server Logs tomorrow morning (I don't currently have access to them) and see if I can find any Java-related error messages. However, if any of you reading this have experience of this type of problem and can offer any assistance, please don't hesitate to let me know your suggestions/advice.
    Cheers.
    James

    You could check the settings of the window in the calling form. If its set to "Modal" or "Dialog", and the window in the called form has other settings, the new window might be opened "behind" the old window.

  • Web forms w/ patch 1 tree & call_form crash

    Hi there:
    I've done my homework and haven't come across anyone else w/ the same problem, so let me see if I can start a grass roots movement here.
    I've got a tree item in a 6i patch 1 web form that acts as a forms launcher. If you double-click a particular node I execute a call_form that looks something like this:
    call_form(form_name,NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,SHARE_LIBRARY_DATA);
    That's what I want: a modal form w/ the calling form in the background. So far, so good, but while I was trying to break the system while having the called-form in focus, I clicked back in the tree item area (single-click, so no custom trigger was getting executed at all), and then everything disappears as if I exited both the called and calling form (client-end).
    The log gives me a dump w/ an excerpt like:
    [Thu Feb 15 18:02:06 2001 EST]::Client Status [ConnId=455, PID=27864]
    >> ERROR: Abnormal termination of connection, Error Code: 6
    FORM/BLOCK/FIELD: MAIN_DEFENDANT:GLANCE.GLANCE_TREE
    Last Trigger: WHEN-TREE-NODE-ACTIVATED - (Execution Suspended)
    Msg: <NULL>
    Last Builtin: CALL_FORM - (Successfully Completed)
    ------------- Call Stack Trace [ConnId = 455, ProcId = 27864] -------------
    Anyone else seen or more importantly overcome this?
    Thanks,
    Charlton

    I knew this would happen . . . came up w/ a solution by making the called forms' window modal=yes.
    I will see if this is what I really want, but I still think something may be wrong w/ the fact that the client simply crashes when navigating from a called_form to a tree object.

  • How to retain focus in Web forms 6i item when displaying pdf image

    How to retain focus in Web forms 6i item when displaying pdf image in a multi-record block?
    Hello.
    I have a Web Forms 6i program (version Forms 6.0.8.19.2) running in a 3-tier application. The web form program has a multi-record block containing invoices. When navigating to a record, the form should display the PDF invoice image which is stored in an Oracle 8.1.7 database as a BLOB in another window. When user press down-arrow, the next PDF invoice image should be displayed.
    I am able to accomplish the functionality above by using web.show_document('URL', target') in the when-new-record-instance. The URL being called is a PL/SQL Web Toolkit stored procedure using wpg_docload.download_file built-in.
    The problem is that the focus is lost on the Webform and the focus is shifted to the PDF image window when you navigate to the next record using down-arrow. I want to retain the focus in the form as this is a data-entry form, the operator will use down-arrow to go to the next-record rather than the mouse. I also only want to do this for this Invoice Entry form and NOT to all forms.
    Please advise how to resolve this problem. Thank you.
    Regards,
    Armando

    Magesh,
    the issue of a SSO protected form showing the logon dialog is a knwon issue for Windows200 and the Oracle9iAS base release. If you applied Forms Patch 1 then this should be solved. Hope that I am right in that you are using Oracle9iAS and not Oracle9iDS. Do you see the Single Sign-On logon screen or the Forms logon dialog directly? Check the forms90.conf file in teh forms90/server directory as this contains the Form sso settings (mod_osso) which by default is commented out and therefore inactive. You need to remove the commenting '#' characters and make sure that each sentence having a '#' in front, after that starts on a new line.
    The Forms deployment documentation within the Oracle9iAS docu provides this information too.
    Frank

  • Increase in SPAM web form submissions

    Hi,
    I'm noticing a trend of increased SPAM web form submissions across most  of our BC sites. This has got particularly bad in the past week or so. All SPAM submissions follow a very similar theme. The text is complete 'gobbledygook' basically! The forms being used don't have any description fields where long descriptions or links can be entered so I struggle to see why this is happening.
    What I want to know is:
    - is this something other BC partners are noticing, particularly recently
    - are your SPAM submissions similar to what I have shown below
    - what can we do to reduce these other than using CAPTCHA on all forms?
    - we exclusively use BC but I would be interested to know if the BC platform is particularly bad for SPAM submissions or is this something all sites are suffering from nowadays?
    - any other light you could shed on this issue or advice you could impart would be much appreciated
    Real submission example:
    First name: tjlavseb
    Surname: tjlavseb
    Email: [email protected]
    Date: hgnhQMmssGynJLb
    Time: 11am
    House Name: LHkJxazHGUYClEZJQd
    Street address: nvOaQumEsbBGsA
    Postcode: lJEODtxlXj

    Hi there,
    We are experiencing a high volume of spam since changing our web forms on our newly redesigned site. The objective of the site design was to make it quick and easy for clients to get a quick quote thus asking for only a few fields to be completed. Adding a captcha form would actually detract from the purpose of the form.
    We have implemented the honey pot field which seems to have made little to no difference in volume (this seems to be the case for this fix across many other users of BC). The problem is with our spam is quite unusual whereby we are not getting any specific info from them really making it hard to detect if it is spam or real. See example;
    Have you seen this type before? 
    Your Name
    David
    Email Address
    [email protected]
    Case Number
    4257685
    Company
    casterick
    Date
    18-Apr-2013
    Location
    Victoria
    Type
    Meeting
    Your Requirements

  • Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported.

    SharePoint 2007 custom (VS 2008) solution is upgraded to SharePoint 2013 using (VS 2012). I followed this approach.
    I had created new empty project (solution) in SharePoint 2013 using (VS 2012) compiled and deployed successfully. All safe controls are registered in the web.config file. After deploying solution i Restarted IIS also, still getting this error. How to resolve
    Error
    Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe. Correlation ID: 5d217c9c-1827-7083-80cd-e095a30befee.
    Show Error Details
    Hide Error Details
    [UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
      at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Boolean isAppWeb, Guid guid, Guid solutionId, Nullable`1 solutionWebId, String assemblyFullName, String typeFullName, Boolean throwIfNotSafe)
      at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)
    <menu class="ms-hide" id="MSOMenu_WebPartMenu"><ie:menuitem id="MSOMenu_Minimize" text="Minimize" title="Collapse this web part." type="option"></ie:menuitem><ie:menuitem
    id="MSOMenu_Restore" text="Restore" title="Expand this web part." type="option"></ie:menuitem><ie:menuitem id="MSOMenu_Close" text="Close" title="Close this Web Part. You can still
    find it under closed Web Parts section in the insert ribbon. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/DelItem.gif" id="MSOMenu_Delete" text="Delete"
    title="Delete this Web Part from the page. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/EditItem.gif"
    id="MSOMenu_Edit" text="Edit Web Part" title="Change properties of this shared Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem id="MSOMenu_Connections"
    text="Connections" title="Show connections options for this Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem type="separator"></ie:menuitem><ie:menuitem
    id="MSOMenu_Export" text="Export..." title="Export this Web Part. These changes will apply to all users." type="option"></ie:menuitem><ie:menuitem iconsrc="/_layouts/15/images/HelpIcon.gif" id="MSOMenu_Help"
    style="display:none;" text="Help" type="option"></ie:menuitem> </menu>        

    Hi Ashok,
    According to your description, my understanding is that you got an error after you re-built a SharePoint 2007 solution with VS2012, and deployed it.
    Make sure the Namespace and Type Name are consistent across all files where indicated. Also with matching case sensitivity. Verify web.config file and assembly in GAC or virtual directory bin folder in post deployment.
    More information, please refer to the link below:
    http://roykimsharepoint.wordpress.com/2013/04/27/classic-web-part-errors/
    Here is a similar post for you to take a look at:
    http://stackoverflow.com/questions/1689707/sharepoint-web-part-type-could-not-be-found-registered-as-safe
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to do simple form post to payment gateway from SharePoint 2010 list form OR InfoPath 2010 Web Form?

    Working on a SharePoint 2010 Ent extranet site where parents of students can submit field trip permission forms and make payment at same time (optionally if fees involved).  Was wondering if someone could advise (or point me to resource on) best way
    to do a simple form post to an external payment gateway?  Would be from InfoPath web form OR SharePoint 2010 list form.
    Any guidance would be appreciated.
    Trevor

    you may create a custom visual web part for this:
    http://www.codeproject.com/Articles/152280/Online-Credit-Card-Transaction-in-ASP-NET-Using-Pa

  • Group Tree issue, web form vs Win form?

    Using Crystal Reports for Visual Studio 2010...
    I am using the same report file for a Win form and web form version of the same utility program.  The report was built bases on a view to the database, and both programs populate the report based on a dataset which has the same columns with restrictive where clauses, based on user input prior to populating the report.
    On the Win Form version, when the user clicks a group on the Group Tree, the report nicely navigates to the appropriate section of the report. However... on the Web version, the ReportViewer makes a return trip to the database, refreshing the data with the entire view, overwriting the original content.  In other words, out of lets say 50,000 possible records, if I ask for 50, they are displayed as I want, but in the web report, if I try and navigate to any of the 50, I get all 50,000 (an no navigation), an unwanted return to the database.
    I am perplexed, as it is the same report file used by both versions.
    I tried hiding the Group Tree panel (I don't need it), per instructions (CrystalReportViewer1.ToolPanelView = ToolPanelViewType.None;)
    But that only closes the panel, and it is still available to the user to open (icon remaining). Is it possible to really make the Group Tree unavailable?
    thanks,
    Mark

    Ludek,
    What I wish to do is follow the instructions for placing the report in a session, per your suggestions above:
         Place the report in session. See
         KBA 1985571 - How to use sessions in web applications using the Crystal Reports viewer (the complete code)
    OK, since I'm new at this, where does the code go? I can't seem to resolve RAPPBasePage, and I admit that without more specific directions on the linked page, I'm more than a bit lost with this.
    Thanks,
    Mark
    Below is a complete code that describes how to ensure the report is in
    session:
    public partial class Reports : RAPPBasePage
          private ReportDocument crReportDocument;
          protected override void Page_Init(object sender, EventArgs e)
               //connect method to master event
               base.Page_Init(sender, e);

  • Retrieve text entered in web form

    Somebody please offer some assistance here.
    I've lost some important information entered into a web form and simply using the back button will not retrieve it.  I'm hoping it can be retrieved through the cache or form value files somehow but I'm not familiar with these types of files so I'm coming up short.
    Any idea how to retrieve it?

    What is the unary operator (addition, subtraction, never, etc) on the member that represents your text measure?  Is it possible that you're aggregating the numeric data in Essbase that is then referenced to derive the text data (from the Planning repository), and therefore the text measure is returning something at upper levels?
    If that isn't helpful, you could potentially mask the cell using a data validation.  Create a data validation that always evaluates to true, and black-out the one cell you don't want displayed.  Not the best fix, but it will prevent the wierd characters from being displayed.
    Hope this helps,
    - Jake

  • Character encoding across Web application contexts

              If I submit an HTTP request encoded in SHIFT-JIS across Web application contexts,
              the characters seem to get mangled. Do I need to do anything special to pass request
              objects that are encoded in SHIFT-JIS to another context.
              

    a. EUC-JP
    EUC is Extended Unix Code.
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=x-euc-jp">x-euc-jp should be EUC-JP. You use x- for non-registered
    encoding names with IANA.
    b. JIS
    Japanese Industrial Standard
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=iso-2022-jp">To be precise, JIS means nothing. JIS has many standards.
    It is an ISO-2022 encoding applied to JIS code sets.
    c. Shift_JIS
    Microsoft's Japanese encoding method loosly based on
    JIS.
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;
    charset=x-sjis">Use "charset=Shift_JIS" in most cases.
    >
    d. UTF-8You use charset=UTF-8.
    - Which one of the above 4 I should use? Either one is fine as long as you include the meta tag
    in HTML. If you want to support older generation of
    browsers, then skip UTF-8. If you target i-mode
    phone browser, use Shift_JIS.
    - Do I have to worry about the encoding of the
    Japanese data being entered by user in the input
    fields in the HTML form?Yes. Use the same encoding as the encoding of the form.
    Make sure to call response.setEncoding to set the
    enxoding for the parameter processing.
    - What should be encoding of the content of html
    output generated by the JSP?Use contentType tag in page directive.

Maybe you are looking for

  • WIP: My adventures with 2011 MacBook Pro and Windows 8.1 including seconday HDD

    So I've just lost about 3 days of my life trying to install Windows 8.1 (my preferred) operating system on a Late 2011 MacBook Pro. I feel that I've learnt a lot and hopefully can share my experiences to speed a few of you along the process. This is

  • How do i find music on itunes

    hi i have purchased music before on itunes, but haven't accessed the thingie in a long while. now i purchased this new macbook, and wanted to browse some music on itunes, but when i click on store, i can see only applications for iphone and ipad. how

  • Can connect to router, but not internet

    I just recently have been unable to connect to the internet.  I have tried everything, reset network settings, reboot ipad, router, and computer.  I show the wifi locations and when I select them I show the bars, but when I go to the internet I get a

  • Function module on date

    HI!     IS there any function module existing wherein I give the Date(eg 09/09/2005)  and daytext( eg: monday --etc. The function module should return the date for Monday ( this date should be after 09/09/2005) eg : date     - 09/10/2005 ( mm/dd/yyyy

  • Keynote 6 (2013) doesn't allow mixing themes?

    I have upgraded to Keynote 6 and have noticed that, amongst many other options, mixing themes is not available. Unless I am very wrong, once you try to change the theme of an individual slide, all the other slides change as well. This is clearly a st