Hello,
I am facing a problem with row-locking. I have an application running in two machines (jboss4.0.3sp1), sending emails. Both read an Oracle DB and start to send mail. I set the row-locking property True, and checked the log to see if they are generating "Select for Update" code. They are generating. Although, application is not respecting the "select for update" query.
Does anybody know why CMP does not respect select for update??
Thank you all!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977669#3977669
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977669
1. java.net.SocketException:Connection reset by peer:
JVM_recv in socket input stream read.
2. IOException:Connection reset by peer:socket write error.
3. IOExcepion:Broken pipe.
All this exceptions are not thrown at the same time and might not always been thrown.
These Exceptions are mainly caused due to the resubmission of jsp page twice. By using Input type = 'submit' itself submits the page not need to call from java script as form.submit. If we want to use form.submit from java script for Input type as 'submit' then you need to disable the submit button after one click.
The threads running under the server may not be executing synchronously and inappropriate page submissions can cause this exceptions.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977668#3977668
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977668