<div dir="ltr">Thanks to Scott's help, I think I understood the details a bit more. <div><br></div><div>HV uses javax.el.ExpressionFactory/FactoryFinder which in turn uses the TCCL to find implementations and cache it in FactoryFinderFache. For WAR deployments, the cache is pre-populated by ELExpressionFactoryProcessor with the implementation from the web module mentioned by Shelly.</div>
<div><br></div><div style>As this is not the case for other deployment types (e.g. RARs), tests using HV based on such deployment types fail with the exception.</div><div style><br></div><div style>So I think a separate EL module (upon which HV could depend, independently from the current deployment type) would indeed make sense.</div>
<div style><br></div><div style>--Gunnar</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/9 Scott Marlow <span dir="ltr"><<a href="mailto:smarlow@redhat.com" target="_blank">smarlow@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Here is some of it <a href="http://pastie.org/7391504" target="_blank">http://pastie.org/7391504</a> (shows the Caused by:<br>
"javax.el.ELException: Provider org.apache.el.ExpressionFactoryImpl not<br>
found").<br>
<br>
Should we create a static module that contains<br>
org.apache.el.ExpressionFactoryImpl? Currently, jbossweb-7.2.0.Final<br>
contains this class.<br>
<div class="HOEnZb"><div class="h5"><br>
On 04/09/2013 09:33 AM, Jaikiran Pai wrote:<br>
> Hi Gunnar,<br>
><br>
> Where are you seeing the failures? Can you point us to the stacktrace?<br>
><br>
> -Jaikiran<br>
> On Tuesday 09 April 2013 06:59 PM, Gunnar Morling wrote:<br>
>> Hi all,<br>
>><br>
>> I'm currently working on updating the AS module for Hibernate<br>
>> Validator to the latest release (HV 5.x, Bean Validation 1.1, see [1]).<br>
>><br>
>> As of this release, Hibernate Validator has a new dependency to the<br>
>> Unified EL. So I have added this to the HV module descriptor:<br>
>><br>
>> <module name="javax.el.api"/><br>
>><br>
>> Based on test failures I'm seeing ("javax.el.ELException: Provider<br>
>> org.apache.el.ExpressionFactoryImpl not found"), I think I need to add<br>
>> a dependency for the actual EL implementation as well. I don't know<br>
>> though which module that would be.<br>
>><br>
>> Does anyone know which is the right one or has an example of other<br>
>> modules depending on EL?<br>
>><br>
>> Thanks,<br>
>><br>
>> --Gunnar<br>
>><br>
>> [1] <a href="https://issues.jboss.org/browse/AS7-6665" target="_blank">https://issues.jboss.org/browse/AS7-6665</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> jboss-as7-dev mailing list<br>
>> <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> jboss-as7-dev mailing list<br>
> <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
><br>
<br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</div></div></blockquote></div><br></div>