org.apache.webbeans.exception.definition.DuplicateDefinitionException: PassivationCapable bean id is not unique: MANAGER#interface javax.enterprise.inject.spi.BeanManager#@javax.enterprise.inject.Any(),@javax.enterprise.inject.Default(), bean:BeanManager, Name:null, WebBeans Type:MANAGER, API Types:[javax.enterprise.inject.spi.BeanManager,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]

Stack Overflow | Subrata | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    CDI feature in WLP is not working

    Stack Overflow | 8 months ago | Subrata
    org.apache.webbeans.exception.definition.DuplicateDefinitionException: PassivationCapable bean id is not unique: MANAGER#interface javax.enterprise.inject.spi.BeanManager#@javax.enterprise.inject.Any(),@javax.enterprise.inject.Default(), bean:BeanManager, Name:null, WebBeans Type:MANAGER, API Types:[javax.enterprise.inject.spi.BeanManager,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]

    Root Cause Analysis

    1. org.apache.webbeans.exception.definition.DuplicateDefinitionException

      PassivationCapable bean id is not unique: MANAGER#interface javax.enterprise.inject.spi.BeanManager#@javax.enterprise.inject.Any(),@javax.enterprise.inject.Default(), bean:BeanManager, Name:null, WebBeans Type:MANAGER, API Types:[javax.enterprise.inject.spi.BeanManager,java.lang.Object], Qualifiers:[javax.enterprise.inject.Any,javax.enterprise.inject.Default]

      at org.apache.webbeans.container.BeanManagerImpl.addPassivationInfo()
    2. OpenWebBeans Core
      AbstractLifeCycle.startApplication
      1. org.apache.webbeans.container.BeanManagerImpl.addPassivationInfo(BeanManagerImpl.java:394)
      2. org.apache.webbeans.container.BeanManagerImpl.addInternalBean(BeanManagerImpl.java:367)
      3. org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:157)
      4. org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:157)
      4 frames
    3. Web plugin
      WebContainerLifecycle.startApplication
      1. org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97)
      1 frame
    4. com.ibm.ws
      WebBeansInitializer.onStartup
      1. com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:70)
      1 frame
    5. WebSphere
      WebApp.initialize
      1. com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2486)
      2. com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:1038)
      3. com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6463)
      3 frames
    6. com.ibm.ws
      WorkQueueManager$Worker.run
      1. com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:446)
      2. com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:248)
      3. com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:313)
      4. com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:251)
      5. com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:306)
      6. com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:471)
      7. com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:405)
      8. com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:285)
      9. com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:256)
      10. com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174)
      11. com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83)
      12. com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504)
      13. com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574)
      14. com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:929)
      15. com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1018)
      15 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
      3. java.lang.Thread.run(Thread.java:780)
      3 frames