• JpaInjectionServices implementation is created three times?

    I've found in my CDI SE application that much to my surprise my JPAInjectionServices implementation is created three times by AdditionalServiceLoader.  Is this by design?  If so, what design? :-)   Bes...
    Profile Photo
    last modified by ljnelson
  • Does CDI container takes care of calling event observer method on server stop or crash

    Hi, We are using CDI events that gets fired on DB persist transaction success and an event observer listens to the event to send JMS message on successful transaction.   The question I have is what happens when t...
    Profile Photo
    last modified by gandhirajan
  • Is adding an InjectionPoint to synthetic bean sufficient to cause injection to happen?

    I am adding a synthetic bean.   The Java object that I am "beanifying" does not have any @Inject-annotated methods on it.   I would like to turn one method into an injection point.  The method has one...
    Profile Photo
    last modified by ljnelson
  • EAGER CDI with AttributeConverter error

    Hi, I want to load some configurable data from database when my application startup, so i use . javax.enterprise.inject.spi.Extension BUT When i use AttributeConverter with JPA, i got the following exception Cause...
    Profile Photo
    last modified by jorcx.liu
  • ProcessInjectionPoint.setInjectionPoint() doesn't work in some environment.

    My project use weld-se-core and weld-servlet-core that version is 3.0.5.Final. I use undertow(eagerFilterInit=true) as project servlet container. I have some servlets that were injected some services. The CDI injectio...
    Profile Photo
    last modified by bingochen
  • WeldStartService: org.jboss.msc.service.StartException in service

    Hi ,   I am trying to deploy a war file to JBOSS EAP 6.3, basically we are trying to migrate this app from Seam to CDI. We I try to deploy , This project is built using Ant   I keep getting this error...
    Profile Photo
    last modified by jondcontact
  • Injecting into an abstract type

    We have a simple use case where we have this UI scenario:   1) User logs in, a long running conversation is begun 2) User enters in some information on a screen. 3) Based on the information entered, the user i...
    Profile Photo
    last modified by javacoryd
  • Alternative not selected in injection point when using SeContainerInitializer

    Hello, I have been trying to play with SeContainerInitializer and encountered an issue. I am using weld 3.0.2.Final   I have the following 2 beans in src/main/java :   public class BarImpl implements IBa...
    Profile Photo
    last modified by vsevel
  • WELD-000132: Disabled alternative

    I have an implementation class, and a Mock class for that implementation. Both class implement an interface.   Server: wildfly-8.2.0.Final (with 9.0 same result)   Interface: public interface Validator { ...
    Profile Photo
    last modified by gergely.hegyi
  • Weld + Tomcat + Jerset: WELD-001304: More than one context active for scope type javax.enterprise.context.RequestScoped

    Hi, I'm new with all this. I'm trying to set up a project using Jersey over Tomcat. By adding Weld to the mix I was able to have a @Context ServletContext injected. But I wanted more: I wanted to inject my own objects...
    Profile Photo
    last modified by niqueco
  • BoundRequestContext and store

    Hi all,   I'm playing with BoundRequestContext to create my own request context in a non servlet application but I don't understand what is the purpose of the associated store.   I through it was meant for...
    Profile Photo
    last modified by flavien.laurent
  • Contents of a Conversation...

    After we execute a conversation.begin() the user can navigate through a series of screens that are backed by @ConversationScoped beans.    Is there a way to list the @ConversationScoped beans for a particu...
    Profile Photo
    last modified by javacoryd
  • Weld SPI: ResourceReference vs. ResourceReferenceFactory

    I'm implementing JPAInjectionServices.   When working with EntityManager references, should I:   create the EntityManager in the ResourceReference#getInstance() method (like Hammock does, and, from a searc...
    Profile Photo
    last modified by ljnelson
  • BeforeBeanDiscovery.addQualifier() question

    I'm doing awful things with JPA and CDI.  :-)   One experiment that I am working on starts like this:   private final void beforeBeanDiscovery(@Observes final BeforeBeanDiscovery event) {   if (ev...
    Profile Photo
    last modified by ljnelson
  • Why is weld-se 2.4.0.Final not available through Maven Repository anymore?

    Hi there,   we can't build our product anymore due to weld-core-parent missing in the right version. "Could not find artifact org.jboss.weld:weld-core-parent:pom:2.4.0.Final" We tried to bump up the version to ...
    Profile Photo
    last modified by the_alien
  • xsi:schemaLocation sniffing?

    Currently the beans.xml deployment descriptor's version is sniffed from the xsi:schemaLocation. This change was added in WELD-2445. A String.contains() operation checks for things like "beans_1_1.xsd". Does this need ...
    Profile Photo
    last modified by sixcorners
  • Event firing/matching and parameterized types

    (For background, I've read You think you know everything about CDI events… Think again! | Next Presso , so I'm at least mostly familiar with many edge cases in CDI events.)   I have an AbstractFoo<? ex...
    Profile Photo
    last modified by ljnelson
  • Shutdown hook problem and log4j2

    Hi. Here's a simple enough project. GitHub - SetoKaiba/weldtest   Uncomment these lines and use shutdown hook. The log will be cleared. It seems that the logging is booted for twice. Because I use append="fal...
    Profile Photo
    created by seto
  • ApplicationScoped and synthetic beans

    If I want to have a bean created that is scoped in a singleton (little-"s") way, there is no point to having it be @ApplicationScoped, right, since by the specification it cannot be intercepted or decorated?   I...
    Profile Photo
    last modified by ljnelson
  • CDI-@ViewScope and Glassfish v3.0.1

    Hi forum, after not beeing able to integrate seam3 I tried the CDI-ViewContext implemented by Verborgh. I downloaded the source from GitHub and integrated the source in a simple webapplication with a the test backin...
    Profile Photo
    last modified by kernstock