Am 24.08.2016 um 14:47 schrieb Romain Manni-Bucau: > Hi > > add a META-INF/scan.xml (assuming it is not a webapp but a flat classpath > deployment) without > anything listed inside or a META-INF/application.properties with > openejb.cdi.activated=false > should work as well. > > Just curiosity: why do you want to switch it off? it shouldn't make you > saving much time since > scanning is shared accross the whole server and is not OWB specific (or do > you want to gain these > 100ms?). You are right, I just didn't understand what this container is for. I thought it starts some Web server listening on a tcp port ...
Thank you Marcel > > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | > Old Wordpress Blog <http://rmannibucau.wordpress.com> | Github > <https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> | > JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-08-24 14:44 GMT+02:00 Marcel Ruff <[email protected] > <mailto:[email protected]>>: > > Hi, > > I wonder how to disable OpenWebBeans as I don't need it. > > I run openEJB core 7.0.1 and hibernate-5.2.1 in a Java SE 8 environment. > > On startup I get: > > OpenWebBeans Container is starting... > org.apache.webbeans.plugins.PluginLoader startUp: Adding > OpenWebBeansPlugin : [CdiPlugin] > org.apache.webbeans.config.BeansDeployer validateInjectionPoints: All > injection points were > validated successfully. > OpenWebBeans Container has started, it took 112 ms > > How can I switch this off? > > Thanks > Marcel > >
