Hi all, I have to send some emails when a user clicks a link. The problem I am encountering is that I got a lock.
Caused by: java.sql.BatchUpdateException: Lock wait timeout exceeded; try restarting transaction If I request the email page in a common browser, let say chrome; it works fine. I am using htmlUnit as client to get the page. any idea? -- Fernando Wermus. www.linkedin.com/in/fernandowermus