Hi, I have a very simple thread that sleeps most of the time. Every
hour, it goes to the database to check what new stuff has been added,
and generates a summary of that.

This thread is started in my WicketApplication.init() method.

The problem is that the run() method of this thread, needs access to
the following method
"WebApplication.get().getServletContext().getContextPath()" but when
it tries to access this method, the following error occurs:

org.apache.wicket.WicketRuntimeException: There is no application
attached to current thread Thread

Any suggestions? Many thanks!

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

Reply via email to