org.apache.webbeans.exception.WebBeansDeploymentException

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.

  • GitHub comment 301#241392599
    via GitHub by cocorossello
    ,
    • org.apache.webbeans.exception.WebBeansDeploymentException: Error while sending SystemEvent to a CDI Extension! org.apache.webbeans.portable.events.discovery.AfterDeploymentValidationImpl@32ace167 at org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:697) at org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:485) at org.apache.webbeans.container.BeanManagerImpl.fireLifecycleEvent(BeanManagerImpl.java:480) at org.apache.webbeans.config.BeansDeployer.fireAfterDeploymentValidationEvent(BeansDeployer.java:719) at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:314) at org.apache.openejb.cdi.OpenEJBLifecycle.startApplication(OpenEJBLifecycle.java:196) at org.apache.openejb.cdi.ThreadSingletonServiceImpl.initialize(ThreadSingletonServiceImpl.java:193) at org.apache.openejb.cdi.CdiBuilder.build(CdiBuilder.java:41) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:911) at org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:717) at org.apache.tomee.catalina.TomcatWebAppBuilder.startInternal(TomcatWebAppBuilder.java:1257) at org.apache.tomee.catalina.TomcatWebAppBuilder.configureStart(TomcatWebAppBuilder.java:1115) at org.apache.tomee.catalina.GlobalListenerSupport.lifecycleEvent(GlobalListenerSupport.java:133) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5076) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:152) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.webbeans.exception.WebBeansException: java.lang.reflect.InvocationTargetException at org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:318) at org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:676) ... 25 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.webbeans.event.ObserverMethodImpl.invoke(ObserverMethodImpl.java:347) at org.apache.webbeans.event.ContainerEventObserverMethodImpl.invoke(ContainerEventObserverMethodImpl.java:82) at org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:312) ... 26 more Caused by: java.lang.IllegalStateException: no interface to proxy for ejb MyStateless, is this is a MDB maybe you shouldn't use a scope? at org.apache.openejb.cdi.CdiEjbBean.createEjb(CdiEjbBean.java:252) at org.apache.openejb.cdi.CdiPlugin.getSessionBeanProxy(CdiPlugin.java:241) at org.apache.webbeans.container.BeanManagerImpl.getEjbOrJmsProxyReference(BeanManagerImpl.java:955) at org.apache.webbeans.container.BeanManagerImpl.getReference(BeanManagerImpl.java:781) at org.apache.webbeans.container.BeanManagerImpl.getInjectableReference(BeanManagerImpl.java:654) at org.apache.webbeans.inject.AbstractInjectable.inject(AbstractInjectable.java:103) at org.apache.webbeans.inject.InjectableField.doInjection(InjectableField.java:65) at org.apache.webbeans.portable.InjectionTargetImpl.injectFields(InjectionTargetImpl.java:220) at org.apache.webbeans.portable.InjectionTargetImpl.inject(InjectionTargetImpl.java:206) at org.apache.webbeans.portable.InjectionTargetImpl.inject(InjectionTargetImpl.java:196) at org.apache.webbeans.component.AbstractOwbBean.create(AbstractOwbBean.java:126) at org.apache.webbeans.component.ManagedBean.create(ManagedBean.java:67) at org.apache.webbeans.context.creational.BeanInstanceBag.create(BeanInstanceBag.java:76) at org.apache.webbeans.context.AbstractContext.getInstance(AbstractContext.java:159) at org.apache.webbeans.context.AbstractContext.get(AbstractContext.java:125) at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.getContextualInstance(NormalScopedBeanInterceptorHandler.java:100) at org.apache.webbeans.intercept.ApplicationScopedBeanInterceptorHandler.getContextualInstance(ApplicationScopedBeanInterceptorHandler.java:65) at org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler.get(NormalScopedBeanInterceptorHandler.java:70)
    No Bugmate found.