org.apache.webbeans.exception.definition.DuplicateDefinitionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • CDI feature in WLP is not working
    via Stack Overflow by 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] at org.apache.webbeans.container.BeanManagerImpl.addPassivationInfo(BeanManagerImpl.java:394) at org.apache.webbeans.container.BeanManagerImpl.addInternalBean(BeanManagerImpl.java:367) at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:157) at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:157) at org.apache.webbeans.web.lifecycle.WebContainerLifecycle.startApplication(WebContainerLifecycle.java:97) at com.ibm.ws.webbeans.WebBeansInitializer.onStartup(WebBeansInitializer.java:70) at com.ibm.ws.webcontainer.webapp.WebApp.initializeServletContainerInitializers(WebApp.java:2486) at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:1038) at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:6463) at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.startWebApp(DynamicVirtualHost.java:446) at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:248) at com.ibm.ws.webcontainer.osgi.DynamicVirtualHost.createRunnableHandler(DynamicVirtualHost.java:313) at com.ibm.ws.http.internal.VirtualHostImpl.discriminate(VirtualHostImpl.java:251) at com.ibm.ws.http.dispatcher.internal.channel.HttpDispatcherLink.ready(HttpDispatcherLink.java:306) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:471) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.handleNewRequest(HttpInboundLink.java:405) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.processRequest(HttpInboundLink.java:285) at com.ibm.ws.http.channel.internal.inbound.HttpInboundLink.ready(HttpInboundLink.java:256) at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:174) at com.ibm.ws.tcpchannel.internal.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:83) at com.ibm.ws.tcpchannel.internal.WorkQueueManager.requestComplete(WorkQueueManager.java:504) at com.ibm.ws.tcpchannel.internal.WorkQueueManager.attemptIO(WorkQueueManager.java:574) at com.ibm.ws.tcpchannel.internal.WorkQueueManager.workerRun(WorkQueueManager.java:929) at com.ibm.ws.tcpchannel.internal.WorkQueueManager$Worker.run(WorkQueueManager.java:1018) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1121) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) at java.lang.Thread.run(Thread.java:780)
    No Bugmate found.