users@glassfish.java.net

Re: embedded ejb container - CDI

From: Phillip Ross <phillip.w.g.ross_at_gmail.com>
Date: Fri, 11 Mar 2011 12:57:54 -0500

Thanks, that sort of helped. Unfortunately all this extra output doesnt
offer any more details about the problem. When including the beans.xml
there is weld output and there is some message referring to an exception at
the FINE level, but the the actual exception isnt shown. Here's a sample
from the output:

] Mar 11 org.jboss.weld.bootstrap.WeldBootstrap <clinit>
] INFO: WELD-000900 ${parsedVersion (osgiVersion})
] Mar 11 org.glassfish.api.ActionReport failure
] FINE: Exception while loading the app
] Mar 11 org.glassfish.api.ActionReport failure
] SEVERE: Exception while loading the app
] Mar 11 com.sun.enterprise.util.io.FileUtils deleteFile
] FINE: UTIL6049: Attempt to delete
/private/var/folders/j5/j5OhelqbEry7nD77sjOW0++++TI/-Tmp-/gfembed9124478708138172947tmp/applications/__internal/testcase1
failed; the file is reported as non-existent
] Mar 11 org.glassfish.ejb.embedded.EJBContainerProviderImpl
createEJBContainer
] INFO: [EJBContainerProviderImpl] Cleaning up on failure ...


I guess next I need to find out package names for weld to see if there's
more detailed log settings I can set there. Thanks again for the help thus
far.


On Fri, Mar 11, 2011 at 11:52 AM, Laird Nelson <ljnelson_at_gmail.com> wrote:

> On Fri, Mar 11, 2011 at 11:41 AM, Phillip Ross <phillip.w.g.ross_at_gmail.com
> > wrote:
>
>> Thanks Laird I'll try that. Would you know offhand how logging levels are
>> set/modified w/ embedded?
>
>
> Regular old java.util.logging, so look in
> $JAVA_HOME/jre/lib/logging.properties or equivalent.
>
> Best,
> Laird
>