You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "John D. Ament" <jo...@gmail.com> on 2014/07/11 18:22:59 UTC
Threading issue using CdiCtrl/Weld & Apache Tomcat
Hi all
I'm trying to get Embedded Tomcat working using CdiCtrl. I noticed when I
use the OOTB context controller, I get this weird threading problem where
the request scope doesn't get started in a custom filter I've written.
When I instantiate a custom context controller (which does the exact same
thing as the OOTB one), everything works perfectly.
Has anyone else tried this? Gerhard, I know you at one point tried getting
Hammock up and running w/ OWB. Were you using Tomcat for that or Undertow?
John
Re: Threading issue using CdiCtrl/Weld & Apache Tomcat
Posted by Gerhard Petracek <ge...@gmail.com>.
hi john,
it would be great if you can provide a link to a demo which illustrates the
concrete constellation.
@hammock:
i just took hammock and replaced the weld specific code with cdi-ctrl which
allowed to use hammock with owb as well.
however, i never used hammock (or the customized version of it) for more
than a quick benchmark.
regards,
gerhard
2014-07-11 18:22 GMT+02:00 John D. Ament <jo...@gmail.com>:
> Hi all
>
> I'm trying to get Embedded Tomcat working using CdiCtrl. I noticed when I
> use the OOTB context controller, I get this weird threading problem where
> the request scope doesn't get started in a custom filter I've written.
>
> When I instantiate a custom context controller (which does the exact same
> thing as the OOTB one), everything works perfectly.
>
> Has anyone else tried this? Gerhard, I know you at one point tried getting
> Hammock up and running w/ OWB. Were you using Tomcat for that or Undertow?
>
> John
>