Stop multiple requests to the server in JSPs
Hi,
We have multiple JSPs with submit buttons in the screenflows. The problem we have is that when a user accidentally clicks on the same SUBMIT button in quick succession the values that are sent to the server from the JSp are corrupt and the exact values user gave on the screen is not sent. It is observed to be null in most cases. So code throws null pointer at places. I know this can be stopped using javascripts by disabling the button , but is there a property on the server which can stop two submits from same screen when one is already underway. Implementing the javascript for all screens across projects would be a very huge task and i understand this was an oversight during development. The way it is currently implemented, once user clicks a submit button, a javascript method is called to do some on screen validations and then document.form.submit is called to submit the page. These errors happens when the page is clocking once the request has been sent to the server and not on the JS side.
Any suggestions/ thoughts to resolve this are welcome.
Thanks
shiva
Hello -
Try to limit instance creation to 1 (ONE).
Refer this thread : Control Instance Creation in BPM 11g
BR,
Justin.
Similar Messages
-
How can I send an XML request to the server using JSP
Can anybody say how to send a xml request
For ex:
Address:__________
City: ________
State:__________
Country:________
and a Submit Button.
By clicking on the Submit Button -- xml request had to go to the server.
Please send the detailed code for itxml http request..is that wat your are looking for?
-
How can I send request to the server through XML using JSP
How can I send XML request to the server using JSP and servlets
Ajax may be the one way.
-
Problem in sending HTTP request to the server.
Hi,
i dveloped an ant script for sar deployment.
i deployed a sar to my local soa server with ant script. it got deployed succesfully..
but when i try to deploy to a remote server, getting the below error..
"Problem in sending HTTP request to the server. Please make sure the server is up and/or check standard HTTP response code for 404"
but the server is up and runnig and i am able to ping it from my machine and also access the console...
below is my script
build.properties
wn.bea.home=C:/Oracle/Middleware
all.needed.jars.path=D:/SourceCode/neededJAR
oracle.soa.home=C:/Oracle/Middleware/Oracle_SOA1
java.passed.home=C:/Oracle/Middleware/jdk160_24
#Deployment environment
deployment.plan.environment=DEV
#Deploy Action
deployAction =redeploy
#credentials
user=weblogic
password=welcome1
#For Composite deployment
serverURL=http://10.177.154.6:7001
forceDefault=true
server=10.177.154.6
port=7001
sarLocation=D:/SourceCode/JAR
build.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<project name="soaDeployAll" default="deployAll">
<echo>basedir ${basedir}</echo>
<property environment="env"/>
<echo>current folder ${basedir}</echo>
<property file="${basedir}/build.properties"/>
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="${all.needed.jars.path}/ant-contrib.jar"/>
</classpath>
</taskdef>
<target name="init">
<tstamp>
<format property="timestamp" pattern="yyyy-MM-dd_HH-mm-ss"/>
</tstamp>
<property name="build.log.dir" location="${basedir}/buildlogs"/>
<mkdir dir="${build.log.dir}"/> <property name="build.log.filename" value="build_${timestamp}.log"/>
<record name="${build.log.dir}/${build.log.filename}" loglevel="verbose" append="false"/>
<echo message="Build logged to ${build.log.filename}"/>
</target>
<target name="deployAll" depends="init">
<echo>Deploy for environment ${deployment.plan.environment}</echo>
<antcall target="deployAllComposites"/>
</target>
<!-- Following Actions are performed for Composite files in Managed Server - Deploy,Redeploy -->
<target name="deployAllComposites" depends="init">
<foreach target="deployComposites" param="Files">
<fileset dir="${sarLocation}" casesensitive="no" includes="*.jar"/>
</foreach>
</target>
<target name="deployComposites" depends="init">
<basename file="${Files}" property="basename"/>
<echo>Deploy Project ${basename} for environment ${deployment.plan.environment}</echo>
<if>
<equals arg1="${deployAction}" arg2="deploy" />
<then>
<echo message="Deploying composites in Managed server........." />
<ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
<property name="serverURL" value="${serverURL}"/>
<property name="user" value="${user}"/>
<property name="password" value="${password}"/>
<property name="overwrite" value="false"/>
<property name="forceDefault" value="${forceDefault}"/>
<property name="sarLocation" value="${sarLocation}/${basename}"/>
</ant>
</then>
<else>
<echo message="ReDeploying composites in Managed server........." />
<ant antfile="${oracle.soa.home}/bin/ant-sca-deploy.xml" inheritAll="true" target="deploy">
<property name="serverURL" value="${serverURL}"/>
<property name="user" value="${user}"/>
<property name="password" value="${password}"/>
<property name="overwrite" value="true"/>
<property name="forceDefault" value="${forceDefault}"/>
<property name="sarLocation" value="${sarLocation}/${basename}"/>
</ant>
</else>
</if>
</target>
</project>
please help....Hi,
Give the serverURL as http://<host>:<managed.server.port>/soa-infra/deployer and try.
e.g . http://10.177.154.6:8001/soa-infra/deployer
Regards,
Neeraj Sehgal -
Hi All,
I am getting error "Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"
in one of my Test Environment when trying to run the SSRS 2012 report from report manager.
Any clue why it is happening.
Thanks Shiven:) If Answer is Helpful, Please VoteHi All,
Upon investigation found that there was no space (0 Byte is available) in E drive where underlying SQL DB is residing.
Once I cleared the space, report started working and above error was not displaying.
Thanks Shiven:) If Answer is Helpful, Please Vote -
When I run the report on production I got the following error message:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the
request on the server. The status code returned from the server was: 12019
It hasn’t happen on Dev and Test before.
I googled, The error is described as:
12019 ERROR_INTERNET_INCORRECT_HANDLE_STATE
The requested operation cannot be carried out because the
handle supplied is not in the correct state.
But I cannot find the solution for that.
Has it happend to you before? How to solve that?Same behaviour here, Sharepoint 2013 with SSRS in integrated mode
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status
code returned from the server was: 12019 -
How to handle multiple request in the servlet
how to handle multiple request in the servlet...
Example:
java forum...
i'm login in the java forum at this time 1000 members make login in this....how happended in servlet?
if we use thread how to implement in servlet ?Serlets are already threaded. The application container instantiates the servlet, then uses this instance in a new thread for every use.
This is the reason that you should use (almost) no instance variables in a Servlet, but rather that (almost) everything should be local to the method. -
How can I send an XML request to the server using servlets
How can I send an XML request to the server using servlets
http://forum.java.sun.com/thread.jspa?threadID=5158333
http://forum.java.sun.com/thread.jspa?threadID=5158705
Crossposting is lame. -
Have been trying to publish a 44 picture album to MobileMe Gallery all morning using Aperture 3, and I consistently get a "Request to the server failed" message. I transferred the pictures to iPhoto 9, and the album published with no problem.
Does anyone have an answer for this, or is anyone else experiencing the same thing?It isn't duplicate names that is causing the issue for me. Earlier I had successfully uploaded several mobileme galleries under Aperture 3, but for the past 2 days have gotten persistent "request to the server failed" messages. (wonder if it has anything to do with the most recent Aperture update that fixes an HD video problem?) The sync with mobileme appears to be working, shows the clock rotating, and takes quite a bit of time, but at the end I get the "request to the server failed" message.
I have checked all my file names and *none are duplicates*. I have unstacked any stacks with new versions (which should in any case be named differently from the original and should have a "version 2" as part of the name). I have tried the upload with version name as the photo title, and also with the caption as the version title. Nothing works. The fact that files from the same camera worked earlier this month, with the versions and the stacks arranged similarly to what I'm trying to upload now points to the new update as having broken something. When I check mobileme, the new gallery appears as a generic gallery with no files in it.
What now? -
I am not able to run Report in Report viewer due to the below error:
Sys.WebForms.PageRequestManagerServerErrorException : An unknown error occured while processing the request on the server.The status code returned from server is 12019 in report viewer
This report works fine in SSRS tool. but after i deployed into sharepoint 2013 site, it throws error.
Please advise what needs to be done
Any help is really appreciated.
Thanks,
SPHi SP,
Please check if the following web config appSettins value settings from SSRS server could fix the issue (Note, back up your original web config file before any modification).
http://stackoverflow.com/questions/10911610/ssrs-webpage-error-status-code-500
http://srinivasbn.blogspot.in/2013/09/syswebformspagerequestmanagerservererro.html
http://connect.microsoft.com/SQLServer/feedback/details/782155/ssrs-2012-failed-with-win32-error-0x03e3
If you have more questions about the SSRS error logs related to this issue, you can post in the SSRS forum for a better assistance with more experts.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices
Thanks
We are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Hi All,
I have a small C# console app.
I have been facing some timeout issue with Sql Azure for a while now.
I now decided to use the retry logic and Reliable connections - using the
TransientFaultHandling Enterprise lib
RetryPolicy myretrypolicy = new RetryPolicy<SqlAzureTransientErrorDetectionStrategy>(3, TimeSpan.FromSeconds(3));
What should be the correct max tries and interval that actually works for SQL AZURE?
The issue i have is when i use this lib i keep getting error :
Failed to establish a MARS session in preparation to send the request to the server.
As anyone used this library successfully in a console app before.If yes can you share some resources or some sample snippet code.
CheersHey there and apologies for the slow response. Is this still an issue for you? And do you still need help?
Thanks Guy -
HT4906 Request to the server macappstore://showUpdatesPage failed.
I am receiving the following error message:
Request to the server macappstore://showUpdatesPage failed.
What do I do?Have exactly the same problem as Anthony Barnett. I upgraded some time ago from Leopard and now have the latest version of Lion on my iMac but of course this does not give you access to iCloud for your photos unless you upgrade iPhoto and the only way to do this is to try and buy iLife '11 from the App Store. I click to buy iLife '11 (though it actually says upgrade to iLife '11) and get a pop up asking to choose an application. This pop up pre-selects iPhoto but when you click on "accept" a message comes up asking whether you want to "join this stream". If you click yes you then get this message "Request to the server macappstores://itunes.apple.com failed." Have tried endless times and each time get the same result. Does anyone have a solution? Contacting the App Store I´m afraid, would be a last resort for any of us who have tried to do so in the past so would be very grateful for guidance - I must be doing something wrong. Maybe Anthony found a solution?
-
Dear Team,
I have implemented OBIA 7964 for HRA. Some reports throw the error Graphing engine is not responding.A fatal error occurred while processing the request. The server responded with: java.lang.NumberFormatException. It is not happened all reports. Only some of the reports showed this kind of error. Kindly help me to resolve this issue.
We have used
OBIA 7964
OBIEE 11.1.1.7.140527
Thanks & Regards,
Gauthaman SIssue was, Font been defined as 7.5 (may be font size decimal not supported ).the problem solved
-
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,
AtsushiHi,
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 -
Error code 30 the request to the server webcal fails
I receive the message"The request to the server webcal:// 192.168.149.113/ical/3225/3am/6/homework.icw failed(code30)
convergence wrote:
I have this from the watcher
/var/opt/sun/comms/messaging64/log/These are the messaging server logs, not application server logs. The application server log file is located by default at:
/opt/SUNWappserver/domains/domain1/logs/server.log
Regards,
Shane.
Maybe you are looking for
-
How to always show rulers in Photoshop CS5 and other problems
Does anyone know how to make Photoshop CS5 always show rulers in mac? I have not have this issue with any other PS. I need the rulers to drag guides contantly, but photoshop cs5 would not show the rulers automatically. Everytime I have to go to View
-
Opening a new link in a tab (contr+click or right click and open in new tab) causes ff to lose scroll position in first tab or main window, like google. This does not happen when opening in a new window (shift+click). It was never a problem in older
-
403 Error Message on a website?
Hello, I tried to access a website, and I received a 403 Error Message. It said: "Error 403 We're sorry, but we could not fulfill your request for / on this server. You do not have permission to access this server. Before trying again, run anti-virus
-
Itunes 10.5 download nightmare
I am trying to download itunes 10.5 to my laptop (Windows 7) in order to use my new iphone. I keep receiving the same error message..."There is a problem with this windows installer. A program run as part of the set-up did not finish as expected.
-
Does Studio Creator support Oracle ADF Faces and other components?
Hi everyone According to: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/faq.html "Although ADF Faces is "vanilla" JSF we have not been able to run with Java Studio Creator Build 04.06.2. We are working with Su