<div dir="ltr">But if its an app server specific thing, I would expect the app server to support it no?<div>Wildfly has a config, glassfish had a config last I looked (was a long while ago).</div><div><br></div><div>John<br><br><div class="gmail_quote"><div dir="ltr">On Tue, Mar 15, 2016 at 2:06 PM Mark Struberg &lt;<a href="mailto:struberg@yahoo.de">struberg@yahoo.de</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In Apache OpenWebBeans we have a mode<br>
<br>
org.apache.webbeans.scanBeansXmlOnly<br>
<br>
See <a href="http://openwebbeans.apache.org/owbconfig.html" rel="noreferrer" target="_blank">http://openwebbeans.apache.org/owbconfig.html</a><br>
<br>
<br>
Maybe Weld could implement something similar?<br>
<br>
LieGrue,<br>
strub<br>
<br>
<br>
<br>
On Tuesday, 15 March 2016, 18:20, Romain Manni-Bucau &lt;<a href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt; wrote:<br>
<br>
<br>
&gt;<br>
&gt;<br>
&gt;Hi Ondrej,<br>
&gt;<br>
&gt;<br>
&gt;would it be possible to push it on ee list too? Scanning is not limited to CDI and at EE level EJB, Servlet etc... can get the exact same issue. A global scanning config would benefit the whole platform and CDI could just reuse it when not in EE.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;Romain Manni-Bucau<br>
&gt;@rmannibucau |  Blog | Github | LinkedIn | Tomitriber<br>
&gt;<br>
&gt;2016-03-15 18:12 GMT+01:00 Ondrej Mihályi &lt;<a href="mailto:ondrej.mihalyi@gmail.com" target="_blank">ondrej.mihalyi@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;Hi,<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;Some Java EE 6 apps still have issues with implicit scanning, even<br>
though they don&#39;t use guava and sometimes it is not possible to put<br>
beans.xml file into the problematic JARs. People are having issues with this when migrating to Glassfish 4 or Payara from Glassfish 3.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;With Payara server, we are thinking of<br>
creating an option in server-specific app descriptor to disable CDI<br>
completely either for whole application or just for specific modules.<br>
&gt;&gt;<br>
&gt;&gt; I think it would make sense to consider some standardization of this approach in CDI 2, as I&#39;ve seen issues with this on stackoverflow also with other app servers. Or is it already planned?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;Ondrej<br>
&gt;&gt;<br>
&gt;&gt;_______________________________________________<br>
&gt;&gt;cdi-dev mailing list<br>
&gt;&gt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;&gt;<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;&gt;<br>
&gt;&gt;Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;_______________________________________________<br>
&gt;cdi-dev mailing list<br>
&gt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt;<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
&gt;<br>
&gt;Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.</blockquote></div></div></div>