• UnsatisfiedResolutionException: WELD-001334: Unsatisfied dependencies for type MovieListerSortedDecorator with qualifiers

    Hello Guys,   im new to DI / WELD SE, and im stuck on this Exceptions for days:   Exception in thread "main" org.jboss.weld.exceptions.UnsatisfiedResolutionException: WELD-001334: Unsatisfied dependencies ...
    Profile Photo
    last modified by okok
  • Implementing a TransactionServices for Java SE - question about AfterCompletion

    I'm currently implementing a solution to leverage the transactional event facilities of CDI in Java SE.   I've implemented: A TransactionServices class and made sure it's loaded via the ServiceLoader A UserTra...
    Profile Photo
    last modified by steappe
  • Problems testing application with (Junit 5 - Weld 3 - CDI)

    Hello! I have the following classes: public interface SessionFactoryTemplate {      public Session getCurrentSession();      public Session openSession();    ...
    Profile Photo
    last modified by mauroreinehr
  • Asynchronous events question

    The CDI 2.0 specification seems a little light in the area of asynchronous events.   Specifically, if I call fireAsync(): I assume the notification task used behind the scenes is guaranteed to be submitted to t...
    Profile Photo
    last modified by ljnelson
  • Conversation timeout notification

    We are using Weld 3 on Wildfly 10 and I was wondering if there is a way to get notified that a conversation has timed out and will be destroyed.  Is there something that can be observed or an event that can be li...
    Profile Photo
    last modified by javacoryd
  • Is there a reason JandexIndexBeanArchiveHandler doesn't "do" directories?

    See core/JandexIndexBeanArchiveHandler.java at 3.0.3.Final · weld/core · GitHub   Is there a reason that directories aren't handled here, or just no one has implemented that yet?   Thanks!
    Profile Photo
    last modified by ljnelson
  • Context lost when using StreamingOutput

    Hello,     I would like to stream a Response using StreamingOutput but the context seems to be lost when doing so. In a @Stateless class with a logic @ApplicationScoped injected. So, in my case, this would ...
    Profile Photo
    last modified by kafeukleu
  • Help Bootstrapping StrutsTestCase in Junit

    I have struts2 running with it's CDI-plugin and Weld is the CDI container of choice on my glassfish server.    For unit testing struts Actions, Struts has a StrutsTestCase http://struts.apache.org/maven/st...
    Profile Photo
    last modified by gbuckholtz
  • Is it possible that ProcessBean<X> is not fired right for producer methods?

    Before I file a bug, I wanted to make sure I'm not misreading anything.   My understanding is that it is fine to observe a ProcessBean event in an extension.  Your observer method will be called when every ...
    Profile Photo
    last modified by ljnelson
  • Weld JettyContainer incompatible with Google App Engine's Jetty 9 fork

    I’m trying to get Weld CDI (2.4.6) working on GAE standard with Java 8 / Jetty 9.x. Almost there, i.e. my beans & annotations get processed by Weld etc, but the link to the servlet container and my servlets...
    Profile Photo
    last modified by erwindl
  • Must a qualifier be meta-annotated with javax.inject.Qualifier?

    The specification says: A qualifier type is a Java annotation defined as @Retention(RUNTIME). Typically a qualifier type is defined as @Target({METHOD, FIELD, PARAMETER, TYPE}). A qualifier type may be declared by spe...
    Profile Photo
    last modified by ljnelson
  • With CDI-256 resolved, should it be possible to fire events with type parameters?

    My title above is probably bad.   CDI-256 seems to have fixed up some Event-related inconsistencies in early CDI specification versions.   That led me to believe that in CDI 2.0 in a class, Foo<T>, I...
    Profile Photo
    last modified by ljnelson
  • Is it legal for an Extension to keep a reference to BeanManager?

    In CDI 2.0, if I "leak" a BeanManager reference from a container lifecycle event observer method into an instance or static field in my Extension, can I safely and portably make use of that BeanManager reference from ...
    Profile Photo
    last modified by ljnelson
  • CDI throws exceptions during deployment on Tomcat 8

    I have to create a new JSF/PrimeFaces application to run on Tomcat 8. I want to include CDI. I have added the following jars:versions to the project:   javax.enterprise:cdi-api:2.0 org.jboss.weld:weld-api:3.0.S...
    Profile Photo
    last modified by arnieaustin
  • ClassDefNotFoundException at start of Weld-SE Application

    Hi guys,   Actually i want to create a small "Hello World"-like Example of a JavaSE-Application with Weld-SE, but it seems that there is a runtime error. Here is my class: package de.mycompany.weldapp;  im...
    Profile Photo
    last modified by daniel.danger
  • [Wildfly 10] org.jboss.classfilewriter.DuplicateMemberException

    Hi,   We have some troubles with org.jboss.classfilewriter.DuplicateMemberException during some performance tests sessions.   We are on Wildfly 10.1.0 ( with Weld core 2.3.5.Final ) The performance tests ...
    Profile Photo
    last modified by fbarbe
  • Class annotations and weld proxies

    Hi,   I'm finding that calling getAnnotations() on the class of a weld proxy, e.g., org.jboss.resteasy.test.providers.priority.resource.ProviderPriorityFooParamConverterProviderAAA$Proxy$_$$_WeldClientProxy, doe...
    Profile Photo
    last modified by ron_sigal
  • Definition of parameter org.jboss.weld.conversation.concurrentAccessTimeout not recognized

    Dear     I am using PrimeFaces 5.3 + Java EE 7 on Glassfish 4.1.1 when I meet a long execution operation. I constantly have this error message which interrupt the execution : WELD-000315: Failed to acquire ...
    Profile Photo
    last modified by abdoul.m.zorome
  • What is the alternative to the WeldContainer.instance-method?

    Within a Java SE application I am trying the following:   Weld weld = new Weld(); WeldContainer container = weld.initialize(); Test t = container.instance().select(Test.class).get();   However the method in...
    Profile Photo
    last modified by christoph.tornau
  • Weld 3 PostConstruct question.

    2017-05-19 21:28:08,598 [main] WARN org.jboss.weld.Validator - WELD-001469: Method init defined on class co.kaiba.blueeyes.impl.executor.infinispan.ExecutorImpl is not defined according to the specification. It is ann...
    Profile Photo
    last modified by seto