users@glassfish.java.net

Re: embedded ejb container - CDI

From: Laird Nelson <ljnelson_at_gmail.com>
Date: Fri, 11 Mar 2011 11:26:46 -0500

On Fri, Mar 11, 2011 at 11:23 AM, Phillip Ross
<phillip.w.g.ross_at_gmail.com>wrote:

> Unfortunately there is no stacktrace shown to see under the hood of what's
> failing during container instantiation, and even though it says to see the
> log for details, there isnt actually a log file to check for the embedded
> ejb container. If I remove the beans.xml from the classpath things work
> fine. I actually stripped out all of the CDI code and still get the error
> whenever beans.xml exists, which makes me think just having weld fire up is
> what is causing the problem. Any ideas of how to troubleshoot this further?
>

Set logging levels to FINER. I set them like this:

javax.level = FINER
com.sun.level = FINER
org.glassfish = FINER

...(if I'm remembering right). You'll see more than you ever wanted to. :-)

Best,
Laird