users@glassfish.java.net

Alternatives tag in beans.xml doesn't enable alternatives

From: <dabloem_at_gmail.com>
Date: Tue, 17 May 2011 14:26:35 +0000 (GMT)

I deployed a very simple war, with a library including beans.xml under
META-INF.
Although, the beans.xml is found, but the alternatives tag doesn't
enable an @alternative bean in the jar.

So, there are 2 beans.xml files, one in the war in WEB-INF, and one in
an included library. Both are found, but the alternative tag only works
in war beans.xml.

The war works with GF 3.0.1, but fails with GF 3.1 or GF 3.1.1

Duncan