Multiple request processing on action of commandLink

Hi,
I am working on a transaction based screen where on submit the transaction is done. On submit I have used action parameter of commandLink to perform a transaction. However I am facing a problem. Once submit is clicked, during the processing of the request, If I click Submit again, multiple transaction are done.
I suspect this is due to action. Is if I use actionListener will this not be happened?
Please advice.

I have another screens which do not have this problem. They have used actionListener rather that action.
My observation are during the processing of the request, on multiple requests made there is an additional transaction happened regardless of number of more request. I mean once you click on Submit, if you click more then 2 times, even though transaction takes place exactly 2 times.

Similar Messages

  • Concurrent multiple requests hitting action classes

    I have posted this issue in other forums, but i haven't got an answer that makes me satisfied.
    Here is the scenario.
    I have MVC architecture.
    I have several action classes forwarded to one JSP page. Basically, one JSP page is shared by multiple action classes. The model built in the action class is displayed in the JSP page something like request.getAttribute(DATA_MODEL_VAR). "DATA_MODEL_VAR" is just string variable. The JSP page is very simple.
    But I am just curious if there is any synchronization issue for JSP page. The JSP doesn't have isThreadSafe tag. I mean if there is any chance that the model built in A action class can be overriden by the model built in B action class if concurrent multiple requests are made to action class A and B. While I test some load testing, I found data (that doesn't even belong to a particular user) in JSP. That's why it makes me curious.
    It would be great if someone can give me some info or resources.
    Thank you.

    I have posted this issue in other forums, but i haven't got an answer that makes me satisfied.
    Here is the scenario.
    I have MVC architecture.
    I have several action classes forwarded to one JSP page. Basically, one JSP page is shared by multiple action classes. The model built in the action class is displayed in the JSP page something like request.getAttribute(DATA_MODEL_VAR). "DATA_MODEL_VAR" is just string variable. The JSP page is very simple.
    But I am just curious if there is any synchronization issue for JSP page. The JSP doesn't have isThreadSafe tag. I mean if there is any chance that the model built in A action class can be overriden by the model built in B action class if concurrent multiple requests are made to action class A and B. While I test some load testing, I found data (that doesn't even belong to a particular user) in JSP. That's why it makes me curious.
    It would be great if someone can give me some info or resources.
    Thank you.

  • Problem with multiple requests to different servers using HTTPService

    Hi
    I'm aware that we are limited to two concurrent connections to a single host, so I'm looking into using either subdomains pointing to the same server, or separate physical servers to process multiple requests side-by-side.
    However, whichever way I try to send three requests, looking at the Network Monitor the 3rd request always waits until one of the first two has finished. In the screenshot below, all three requests were sent at the same time to three separate physical servers, yet the top request didn't start until the bottom request finished, at 15:33:28
    Any ideas how to get round this? I'm using SSL, but I've also tested it on HTTP with the same results. I'm writing an AIR app, and posted this on the AIR forum but was told it was a Flex issue and I should post it here.
    Please let me know if any more information is needed
    Many thanks
    James

    Would that still apply even though I'm not running this inside a browser, but in AIR?
    I've seen this method recommended by other people, and also the following page seems to suggest that what I'm doing should work
    http://www.chadupton.com/blog/2008/08/maximum-concurrent-http-requests-from-adobe-air/
    Kind regards
    James

  • Do you have a transaction scope that spans multiple requests.

    We have and application that includes multiple tabs, which are really iframe instances. We need to maintain state for the entire time the tab is open, which may be across multiple requests.
    I am not comfortable making all our backing beans "session" scope, and making them "request" forces us to do lots of work (DB access etc...) on every post-back to re-initialize the backing bean.
    I have been looking at both Shale and JBoss SEAM to give me this "conversational" scope. I have looked at "process" scope, however we may have the same backing bean in use for multiple tabs, therefore would need it linked to something like the viewId.
    Does ADF plan on enhancing the "process" scope functionality or is it OK to add SEAM or shale at the front-end of the ADF processing lifecycle?
    Your guidance would be appreciated.

    The processScope functionality seems pretty crude.
    I was looking to define which data elements of the backing bean need to be stored (maybe using annotations) and have them restored automatically before the APPLY_REQUEST lifecycle gets initiated. I can write this functionality, however I was looking for a more robust solution.

  • Handling Multiple requests in SOAP Sender Adapter

    Hi All,
    We are working on scenario SOAP-IDOC.
    We receive multiple requests from Source, PI should process them and deliver it to SAP system.
    Now the issue is :
    The messages are in separate SOAP requests i.e. 5 messages = 5 SOAP requests.
    If sending a single message there is no issue.
    If sending multiple messages at once then a time-out occurs.(HTTP 408 Timeout) If sending
    5 SOAP requests in the same transmission then the first message will process ok but the other 4 will report an error. If the 5 SOAP requests are transmitted individually then they process ok.
    Can any one throw some pointers on this? What are the settings I have to do in PI so that sender can avoid getting HTTP 408 timeout error?
    Regards,
    Srini

    Hi Srinivasa,
    Set icm/server_port_X parameter . You can change this in RZ10 .Goto tcode RZ10 select the instance profile and select the extended maintenance and click on Change Now click on Create Parameter Tab and write the profile parameter icm/server_port_X and press enter it will show you the default value if any and then put the new value and click on save and F3 and then again save.System needs to be restarted to reflect these changes.
    Also check out the SOAP adapter FAQ on service market place. This would surely solve your problem(time out).
    Rgds
    joel

  • Passing multiple rows from one action to another

    Hi,
    I've build a Guided Procedure Process with two actions. Both actions call a Visual Composer Model (deployed as Flex).
    The Processdesign is:
    Process
    ---Block
    Action 1
    CO 1 as VC Model (Flex)
    Action 2
    CO 2 as VC Model (Flex)
    From the first vc model I want to pass multiple rows (its a vc table) to the second vc model. Therefor I've group the out-going parameters from model 1 with the in-coming parameters from model 2 at the block-level.
    Now, when I start my process I have two results in the table of  vc model 1 and will pass them to model 2. But only one record (always the first) is shown at model 2.
    Can you say me the reason for this? Have I configured the parameter-grouping false? Or isn't it possible to pass multiple rows at guided procedures?
    I'm using Visual Composer 7.0 and Guided Procedures 7.0 technology.
    Thanks in advance
    Claudia

    hi,
    Do structure mapping to pass row values
    Thanks
    Gopal

  • Error when sending multiple request at same time

    When we send multiple request at the same time, we get an error.
    Same scenario
    XIServer:AE_DETAILS_GET_ERROR:Error while reading from the secure store:
    ERROR_U: No service user password found for Adapter Engine
    The first request is processed OK, it's the second one that gives the error...
    Anybody any ideas?

    Check out the below thread : Re: No service user password found for Adapter Engine
    May be some of the solution from the thread will work for you.
    Thanks,
    Pooja Pandey

  • Problem with multiple requests

    I have a problem with the users submitting multiple requests simultaneously.
    Let me put it this way:
    1. User is on a tabbed panel with clear and search buttons.
    2. User clicks on 'clear' button from any tab (request one). On successful completion, it should reset and load tab one.
    3. Before the tab one loads, user again clicks (request two) on a different tab two. (Tabbed panel - server side tab switch)
    4. As a result, tab two loads. Now when I click on tab one, the default values are not getting set.
    Now when I look at my phase listener logs:
    Processing new  Request!
    St - RESTORE_VIEW 1
    En - RESTORE_VIEW 1
    St - APPLY_REQUEST_VALUES 2
    En - APPLY_REQUEST_VALUES 2
    St - PROCESS_VALIDATIONS 3
    En - PROCESS_VALIDATIONS 3
    St - UPDATE_MODEL_VALUES 4
    En - UPDATE_MODEL_VALUES 4
    St - INVOKE_APPLICATION 5
    En - INVOKE_APPLICATION 5
    St - RENDER_RESPONSE 6
    Processing new  Request!
    St - RESTORE_VIEW 1
    En - RENDER_RESPONSE 6
    Done with Request!
    En - RESTORE_VIEW 1
    St - APPLY_REQUEST_VALUES 2
    En - APPLY_REQUEST_VALUES 2
    St - PROCESS_VALIDATIONS 3
    En - PROCESS_VALIDATIONS 3
    St - UPDATE_MODEL_VALUES 4
    En - UPDATE_MODEL_VALUES 4
    St - INVOKE_APPLICATION 5
    En - INVOKE_APPLICATION 5
    St - RENDER_RESPONSE 6
    En - RENDER_RESPONSE 6
    Done with Request!Looking above its very clear that request two begins before the completion of render response phase of request one. I guess thats where the problem lies and users are not really interested in solution provided by me to use javascript and freeze the page until request one completes.
    I would like to know if it is possible to hold a second request in the phase listener until the first request gets completed. Any help would be highly appreciated.
    Thanks.

    Thus, you want to keep user/session-specific requests in a synchronized queue? You could put a lock in the HttpSession on start of request and remove it on end of request and synchronize the requests on that lock. You can use a Filter for this which is mapped on FacesServlet.
    It's all theory and I've never done it, so I can't give a "safe" code example out of head. But googling using the terms "synchronized, lock, httpsession" gives lot of the same ideas, some with examples, under each this article: [http://www.ibm.com/developerworks/library/j-jtp09238.html].

  • Batch processing - sequential actions (CS5)

    I would appreciate any help for the following scenario as no internet search has been useful so far.
    I need to batch process a set of folders, each with subfolders inside, and each subfolder with 3 images as follows:
    -TWG 1
      - subfolder 1
         - green 1.tif
         - blue 1.tif
         - red 1
      - subfolder 2
         - green 2.tif
         - blue 2.tif
         - red 2.tif
      - subfolder 3 .....
    - TWG 2....
    - TWG 3....
    My goal is to take green 1, blue 1, red 1 and combine them into a single image placing each into the respective color channels.
    Combo 1.tiff = red channel (image from red 1), blue channel (blue 1), green channel (green 1)
    I have already created 2 actions as follows:
    Action 1 - autocontrast each image - purpose is to open all 3 images using batch processing and leave them open for action 2
    Action 2 - combine the 3 open files into a single combo.tif and closes all files leaving no files opened
    My questions are as follows:
    1) Is it possible to batch process a folder that opens all images prior to proceeding through the action? This would allow me to open the 3 files in each subfolder and process them all together, skipping action 1 that I already created
    2) Is there a way to automate a batch such that sequential actions are used? For example A) batch is processed through action 1 first, and then B) action 2 kicks after all 3 pics have already been opened from action 1
    3) Can I automate this entire process for the parent folder of everything? (Pictures/TWG1-9/subfolders1-9/green1, red1, blue1)
    I appreciate any help or advice in this matter.
    Thanks.

    You'll probably have to use a script if you want to automate things at the high level of being able to traverse multiple folders.  I'm no scripting expert, but I know there are a lot of them about, especially here: 
    http://forums.adobe.com/community/photoshop/photoshop_scripting
    -Noel

  • How can i process an action to another page in clientListener ?

    i have a table in page a.jspx,i want to navigate to b.jspx when a user double click the table in a.jspx,
    so i want to know how to process an action in clientListener?

    I'm not sure I get your question exactly, but I'll give it a go. What I think you mean is in JDev 11g using an ADF Faces RC table, you want the user to have the ability to click a row in a table and navigate to another screen?
    The easiest way to do this is to replace one of the table-column-outputexts controls with a commandLink instead, like this:
    <af:column sortProperty="LocationId" headerText="Location ID">
      <af:commandLink text="#{row.LocationId}" action="toWherever"/>
    </af:column>...replacing action="toWherever" with your own navigation rule name.
    Note as per the following Re: ER: af:table double click action on the OTN forums, the table control does not provide any double click-navigation ability directly.
    Anybody else found any nifty ways to implement the double click navigation?
    CM.

  • How biztalk handle multiple request at a time ?

    can TCP/IP adapter or biztalk handles multiple request at a time ?
    If yes,then how it process multiple request ? 
    Can TCP/IP send ports sends multiple request ?
    Prakash

    Yes.
    It processes multiple requests using THREADS. Each Connect starts off a thread that handles the receipt of the message, submission to BizTalk, wait for the response (matching two-way subscription) and then respond back to the client.
    TCP/IP Send ports handle multiple requests by creating fresh sockets (RPC High-end ports). As an example, in your browser you open multiple tabs and access different sites, each tab results in your browser opening a fresh socket connection for the request.
    Regards.

  • Why to multiple calls to begin action occur?

    Hi!
    I'm quite confused. When looking for the reason of some performance problems of our portal, I noticed that the begin action of many portlets is called several times.
    Our portal has a number of portlets containing PageFlows, that are shown simultaneously. After logging in, the begin actions of each of these portlets is executed, as I'd expect. But on the next request, the begin actions of most portlets are executed again, no matter what a request that is (portlet or not). That happens two, three or four times, but then it stops, and only the actions that are really requested by the user are executed. Except of this problem, everything works as expected.
    Of course, that has a performance penalty. How can that happen? I thought in each portlet an action is executed exactly once after a request is made that applies to this portlet. In requests that go to other portlets, I would expect only the JSP of the currently shown page in this portlet would be re-executed.
    Thanks so much,
    Hans-Peter Störr

    Hans,
    The reason will be clear if you consider the two stages involved with
    portlets.
    Render state: For generating a view. For page flows, the either the
    begin action, or subsequently a JSP is used for generating a view.
    Action/event phase: This is used for processing user input. With page
    flows, the result of action processing is a JSP. This JSP will get used
    for subsequent render state.
    So, prior to a user interaction happens for a page flow, the begin
    action will be used to generate the initial view of the portlet.
    Note that since the begin action is used for generating the initial
    view, and can be called a number of times (like you have noticed), you
    should keep it idempotent - that is not make state changes (e.g.
    inserting a record in a table). To address the perf concerns, you should
    also limit the amount of business logic executed to generate this
    initial view.
    Hope this explains.
    Subbu
    Hans-Peter Stoerr wrote:
    Hi!
    I'm quite confused. When looking for the reason of some performance
    problems of our portal, I noticed that the begin action of many
    portlets is called several times.
    Our portal has a number of portlets containing PageFlows, that are
    shown simultaneously. After logging in, the begin actions of each of
    these portlets is executed, as I'd expect. But on the next request,
    the begin actions of most portlets are executed again, no matter what
    a request that is (portlet or not). That happens two, three or four
    times, but then it stops, and only the actions that are really
    requested by the user are executed. Except of this problem,
    everything works as expected.
    Of course, that has a performance penalty. How can that happen? I
    thought in each portlet an action is executed exactly once after a
    request is made that applies to this portlet. In requests that go to
    other portlets, I would expect only the JSP of the currently shown
    page in this portlet would be re-executed.
    Thanks so much,
    Hans-Peter St??rr

  • Sending multiple request approval at one time

    Hi,
    Im working on a senario thats sending multiple request approvel at one time with HWC application. For example , client approves one request and it approves multiple requests at one time as well. Is it possible make this with HWC ?
    Thanks in advance.

    If you have a list key, it'll have child MessageValueCollection keys (specifically, the value of that list key will be an array of MessageValueCollection objects). Each MessageValueCollection has a state, "add", "update", "delete" or empty. By specifying mappings between list key actions and MBO operations, or by doing so manually in the WorkflowClient.xml, you can specify which MBO operation will be invoked for each "add" MessageValueCollection, which MBO operation will be invoked for each "update" MessageValueCollection and each "delete" MessageValueCollection when the message is submitted to the server via an Online Request or Submit Workflow, where it will loop through the MessageValueCollections and execute the appropriate MBO operation for each.
    In the tooling, you can do this by having a listview bound to that list key and having subsequent screens that invoke Add/Update/Delete List Key Collection menuitems.  In that scenario, when you update the rows in the listview, the effects don't occur immediately, but rather wait until you submit them as a batched operation, which will behave as described above.

  • Does af:commandButton submit multiple requests at the same time?

    Hi experts,
    I have a question about af:commandButton behavior.
    I have two commandButtons in a page. They are button1 and button2.
    Button1 takes a few seconds to complete its request process.
    So when I click button1, I can click button2 although button1 request is still being processed.
    I checked how ADF faces handled this situation with servlet filter.
    And I saw that button2 request was always submitted after button1 request was completed.
    Due to this behavior, I would assume that commandButton is designed not to submit multiple requests at the same time and guarantees click order.
    However I couldn't found any documents specifying this feature of commandButton.
    If anyone knows it, could you share?
    I know ADF Faces has busyStateListener to prevent user inputs during request round trip.
    But I'd like to make it sure that I don't need to use busyStateListener if I just want to keep processing order.
    Regards,
    Atsushi

    Hi,
    Does anyone know the document specifying the behavior of af:commandButton in case I click two buttons in a page almost simultaneously?
    Any help will be much appreciated.
    Thanks in advance,
    Atsushi

  • ITunes Connect - Validation request process failed

    Hi,
    I am trying to sign up with iTunes Connect to sell on the iBookstore.
    I successfully signed up with iTunes Connect, but when I go in to the "Request Paid Books Agreement", I receive an error that says "Validation request process failed" whenever I click on the continue button.
    The page that I am talking about only has address/phone details and a checkbox to agree to the agreement.  Name and address details are already pre-filled from my iTunes account, I click on the checkbox (which makes the continue button active), but then when I click on continue, I get this error.
    I have tried multiple times from multiple browsers in case it was cache or browser cookies related.
    I have searched for people encountering the same issue, but haven't found anything, so I thought it best to put the question here.
    Thanks

    I received a reply from support, asking me to take screenshots and confirm some more details.
    When I went to do so, it worked.
    What I would suggest is restarting your computer and trying again from logging in.
    It might have just been a temporary problem, because I had tried from multiple browsers previously and nothing seemed to work.  But when I tried this morning it worked.

Maybe you are looking for