htmlUnit + Wicket to get a page

2010-08-31 Thread Fernando Wermus
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.

any idea?

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus


Fwd: htmlUnit + Wicket to get a page

2010-08-31 Thread Fernando Wermus
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


Re: htmlUnit + Wicket to get a page

2010-08-31 Thread Igor Vaynberg
try using wickettester in a new thread instead.

-igor

On Tue, Aug 31, 2010 at 3:58 PM, Fernando Wermus
fernando.wer...@gmail.com wrote:
 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.

 any idea?

 --
 Fernando Wermus.

 www.linkedin.com/in/fernandowermus


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org