-
Bug
-
Resolution: Won't Do
-
Major
-
jboss-fuse-6.2
-
None
-
%
-
Project is configured to use Weld and added the interceptor implementation in beans.xml, but despite the initialization of the Weld context (that seems to be done correctly except for few warnings), no interceptor event are fired (or caught may be) by Weld.
Same behavior on both the 6.2 133 build and 6.2 143-p1 releases.
The weld-cdi feature installed is the pax-cdi-1.2-weld (that installed also the pax-cdi-1.2 feature).
We see the below logs,
The Weld context startup log is:
INFO | FelixStartLevel | CdiExtender | ax.cdi.extender.impl.CdiExtender 62 | 211 - org.ops4j.pax.cdi.extender - 0.11.0 | starting CDI extender org.ops4j.pax.cdi.extender INFO | FelixStartLevel | CdiExtender | ax.cdi.extender.impl.CdiExtender 143 | 211 - org.ops4j.pax.cdi.extender - 0.11.0 | creating CDI container for bean bundle com.aaa.commons-bundle [567] with extension bundles [org.ops4j.pax.cdi.extension [210]] INFO | FelixStartLevel | AbstractCdiContainer | pax.cdi.spi.AbstractCdiContainer 88 | 209 - org.ops4j.pax.cdi.spi - 0.11.0 | Starting CDI container for bundle com.aaa.commons-bundle [567] INFO | FelixStartLevel | Version | org.jboss.logging.JDKLogger 44 | 213 - org.jboss.logging.jboss-logging - 3.1.3.GA | WELD-000900: 2.2.4 (Final) INFO | FelixStartLevel | Bootstrap | org.jboss.logging.JDKLogger 64 | 213 - org.jboss.logging.jboss-logging - 3.1.3.GA | WELD-000101: Transactional services not available. Injection of @Inject UserTransaction not available. Transactional observers will be invoked synchronously. WARN | FelixStartLevel | Interceptor | org.jboss.logging.JDKLogger 44 | 213 - org.jboss.logging.jboss-logging - 3.1.3.GA | WELD-001700: Interceptor annotation class javax.ejb.PostActivate not found, interception based on it is not enabled WARN | FelixStartLevel | Interceptor | org.jboss.logging.JDKLogger 44 | 213 - org.jboss.logging.jboss-logging - 3.1.3.GA | WELD-001700: Interceptor annotation class javax.ejb.PrePassivate not found, interception based on it is not enabled WARN | FelixStartLevel | Bootstrap | org.jboss.logging.JDKLogger 64 | 213 - org.jboss.logging.jboss-logging - 3.1.3.GA | WELD-000135: Legacy deployment metadata provided by the integrator. Certain functionality will not be available. WARN | FelixStartLevel | Event | org.jboss.logging.JDKLogger 44 | 213 - org.jboss.logging.jboss-logging - 3.1.3.GA | WELD-000411: Observer method [BackedAnnotatedMethod] public org.ops4j.pax.cdi.extension.impl.OsgiExtension.processAnnotatedType(@Observes ProcessAnnotatedType<Object>) receives events for all annotated types. Consider restricting events using @WithAnnotations or a generic type with bounds.