users@glassfish.java.net

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

From: Ludo <Ludovic.Champenois_at_Sun.COM>
Date: Mon, 04 Jan 2010 18:14:17 -0800

glassfish_at_javadesktop.org wrote:
>> 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.
>>
>>
Maybe (from the exception) your beans do not implement serializable? see
http://weblogs.java.net/blog/cayhorstmann/archive/2009/12/23/javaxfacesbeanmanagedbean-dead-arrival
The best is to send a reproducible test with source code.
Ludo
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>