I did that and got a few more lines of output, but unfortunately doesnt
really give me much more insight into what the problem is:
] Mar 11 org.jboss.weld.bootstrap.WeldBootstrap <clinit>
] INFO: WELD-000900 ${parsedVersion (osgiVersion})
] Mar 11 org.glassfish.weld.DeploymentImpl <init>
] FINE: Creating deployment for archive:testcase1
] Mar 11 org.glassfish.weld.BeanDeploymentArchiveImpl populate
] FINE: -JAR processing:
file:/var/folders/j5/j5OhelqbEry7nD77sjOW0++++TI/-Tmp-/gfembed6426199222922121257tmp/applications/testcase1/
as a Bean archive jar since it has META-INF/beans.xml
] Mar 11 org.glassfish.weld.BeanDeploymentArchiveImpl collectJarInfo
] FINE: -collecting jar info for
file:/var/folders/j5/j5OhelqbEry7nD77sjOW0++++TI/-Tmp-/gfembed6426199222922121257tmp/applications/testcase1/
] 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
The output just shows a little more acknowledgement that there's some CDI
deployment that needs to be done, but nothing about what is wrong. Honestly
I thought this would be easier to get to work with the embedded container
than inside the container, but that seems to not be the case.
On Fri, Mar 11, 2011 at 1:35 PM, Laird Nelson <ljnelson_at_gmail.com> wrote:
> Well, go nuclear:
>
> .level = FINEST
>
> L
>
>
> On Fri, Mar 11, 2011 at 1:26 PM, Phillip Ross <phillip.w.g.ross_at_gmail.com>wrote:
>
>> Seeting FINER on org.jboss.level unfortunately had no affect, nor did any
>> of the others I tried, org.jboss, org.jboss.weld.level, org.jboss.weld.
>> Just keeps saying "Exception while loading the app"
>>
>> This is maddening.
>>
>>
>> On Fri, Mar 11, 2011 at 1:01 PM, Laird Nelson <ljnelson_at_gmail.com> wrote:
>>
>>> Try org.jboss.level.
>>>
>>> L
>>>
>>>
>>> On Fri, Mar 11, 2011 at 12:57 PM, Phillip Ross <
>>> phillip.w.g.ross_at_gmail.com> wrote:
>>>
>>>> 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
>>>>>
>>>>
>>>>
>>>
>>
>