users@glassfish.java.net

Re: Glassfish V3 with Webbeans/Weld via EAR not working???

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Jan 2010 17:19:04 PST

> I have been banging my head against a wall all day
> trying to get Glassfish to pickup a test bean that I
> have in JAR in the EAR. Initially, I had it in the
> lib folder but I have also promoted it to an EJB jar
> with no effect.
>
> I have included an empty beans.xml file in the
> META-INF directory and that should have triggered
> Weld but I can't see that happening in the log files.
>
From my experiments Weld has started by printing all the classes in JARs containing META-INF/beans.xml files.

I've never seen that sort of exception before. The exception reads like you need to clean out the stored sessions before redeploying.
[Message sent by forum member 'beamso' (beamso_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=378734