Hi Jan,

This is from the "interoperability" section of the 
[url=http://www.magnolia-cms.com/product/features/overview.html]features 
page[/url] :

[quote]Compatibility with WildFly (JBoss AS) - Both the Community and the 
Enterprise Edition are compatible with WildFly (formerly JBoss application 
server.)    ✔     ✔       ✔[/quote]

I usually use Glassfish as the App server, but spent a couple of days getting 
to grips with JBoss specifically because of this. But both WildFly and 
Glassfish use Weld for their CDI implementation, so it's not surprising that 
they behave in the same way - which I probably should have thought about before 
wasting my time :)

>From memory, I think there's a way to configure weld to ignore classes, but 
>since this class is marked @Singleton, and therefore is requesting CDI 
>services I"m not sure what would happen if I did. From my experience of 
>working with CDI these kind of checks are there for a reason - there are very 
>odd corner cases in CDI that can lead to really obscure bugs, and older 
>versions were less strict about ensuring that beans conform to the 
>specification which meant that it was difficult to track down what was going 
>wrong. If Weld is complaining about this, then it's simply doing it to help 
>you avoid these corner cases. All this to say that it's probably a good idea 
>to fix the code rather than suppress the error messages.

cheers,
Josh

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=71e16516-6efc-4f48-92ab-f69b8e38c316


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to