You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Fernando Wermus <fe...@gmail.com> on 2010/05/17 19:13:39 UTC
HELP! org.apache.wicket.WicketRuntimeException: There is no
application attached to current thread btpool0-6
Hi all,
I have 2 services in my app. I have wicket pages and a flex-blazeds
service. My wicket app pops up a modal window to show a flex-blazeds service
which connects to back end to do some business logic; *besides it sends some
emails*. The emails are again rendered by wicket using a fake request cycle,
etc. But, the flex-blazeds service runs in a thread and wicket runs in
another thread. Thus, when I try to render the email, I don't have an
Application - the wicket Application is in a different thread.
org.apache.wicket.WicketRuntimeException: There is no application attached
to current thread btpool0-6
HELP! Is there some way to use wicket as a render in a different thread? or
some trick about this?
thanks in advance
--
Fernando Wermus.
www.linkedin.com/in/fernandowermus
Re: HELP! org.apache.wicket.WicketRuntimeException: There is no
application attached to current thread btpool0-6
Posted by Igor Vaynberg <ig...@gmail.com>.
there have been numerous posts to this list on this exact topic,
simply search for them. the gist was to use wicket tester to render
the emails as it will set up the complete environment.
-igor
On Mon, May 17, 2010 at 10:13 AM, Fernando Wermus
<fe...@gmail.com> wrote:
> Hi all,
> I have 2 services in my app. I have wicket pages and a flex-blazeds
> service. My wicket app pops up a modal window to show a flex-blazeds service
> which connects to back end to do some business logic; *besides it sends some
> emails*. The emails are again rendered by wicket using a fake request cycle,
> etc. But, the flex-blazeds service runs in a thread and wicket runs in
> another thread. Thus, when I try to render the email, I don't have an
> Application - the wicket Application is in a different thread.
>
>
>
> org.apache.wicket.WicketRuntimeException: There is no application attached
> to current thread btpool0-6
>
> HELP! Is there some way to use wicket as a render in a different thread? or
> some trick about this?
>
> thanks in advance
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org