Hi all

Before I used pax-cdi 0.13.0-SNAPSHOT with pax-web 6.0.0-SNAPSHOT with 
weld-osgi-bundle-2.2.12.Final.jar and I didn't have any problems.

Today I started to use pax-cdi 1.0.0.RC2 with pax-web 6.1.0-SNAPSHOT with 
weld-osgi-bundle-2.3.5.Final.jar. And I have a problem -
when I set bean-discovery-mode="annotated" @Singleton beans are totally 
ignored. At the same time @Dependent and @ApplicationScoped are
found.

The only information I found is 
https://issues.jboss.org/browse/WELD-1733?_sscc=t but it says about 2.2.4 
but I used 2.2.12 on it was ok.

This is my beans.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee 
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd";
       bean-discovery-mode="annotated">
</beans>

Could anyone advise something?

Best regards, Pavel



-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to