Hi Thomas,

Actually, the first issue I see is a common one for arquillian users.  The
no active context issue can be fixed by switching from an embedded to
managed/remote container.  For TomEE it's just as clean, do you mind if I
try this out locally to see if some of the errors go away?

BTW (from a design standpoint) do you need to bind everything to
@RequestScoped? What if a user is working on something that isn't request
scoped?

John


On Tue, Jun 4, 2013 at 4:53 PM, Thomas Hug <[email protected]> wrote:

> Hey TomEE experts
>
> I'm currently working on getting the CDI query code base ready for import
> [1] but haven't been successful running it under the TomEE profile (JBoss
> and Glassfish run both fine).
>
> As far as I could drill down to the problems it's
> - a Maven Aether library conflict with ShrinkWrap (solved by upgrading to
> ShrinkWrap 2 beta)
> - some of the partial beans not created (haven't checked all errors but
> seems mainly related to abstract classes)
> - JPA metamodel classes not initialized (all null)
>
> Haven't run it with the debugger yet, but in case any of those problems
> ring a bell, a hint is very welcome.
>
> [1] https://github.com/ctpconsulting/query/tree/dsimport
>

Reply via email to