On 19 June 2015 at 16:13, Scott Marlow <smar...@redhat.com> wrote: > I'm not exactly sure how infinispan-commons finds the infinispan-core > classloader with ORM 4.3, but clearly that is not working now with ORM 5.0. > > In WildFly, the infinispan-commons classloader doesn't have access to the > infinispan-core classloader. > > This seems somewhat related to the CNFE on > org.infinispan.commons.util.CloseableIteratorSet in hibernate-infinispan > that we talked about on IRC a few weeks ago (http://pastebin.com/atGrC124). > We worked around that by adding the infinispan-commons classloader to the > hibernate-infinispan classloader (in WildFly 10).
I'm familiar with that kind of issues, so created and assigned it to myself: https://hibernate.atlassian.net/browse/HHH-9874 Thanks, Sanne > > > > On 06/19/2015 09:50 AM, Scott Marlow wrote: >> >> Complete exception call stack is here http://pastebin.com/564BNWSF >> >> On 06/19/2015 09:43 AM, Scott Marlow wrote: >>> >>> I'll see if I can capture a more complete exception call stack for the >>> CNFE. >>> >>> On 06/19/2015 09:32 AM, Steve Ebersole wrote: >>>> >>>> If Infinispan is not available to core/hem than I am not sure how ORM >>>> not being able to find Infinispan classes is a problem with class >>>> loading in ORM. Seems to me this is simply a problem in the ClassLoader >>>> made available to ORM. >>>> >>>> On Fri, Jun 19, 2015 at 7:46 AM Scott Marlow <smar...@redhat.com >>>> <mailto:smar...@redhat.com>> wrote: >>>> >>>> To be a little more specific, WildFly is now respecting the >>>> Hibernate >>>> Search desire for Infinispan classes to *not* be available to >>>> Hibernate >>>> core/entitymanager. This is important so that Hibernate Search >>>> can have >>>> the flexibility to use a different version of Infinispan than >>>> WildFly is >>>> using with hibernate-infinispan. This seemed to work with >>>> Hibernate ORM >>>> 4.3.x. >>>> >>>> On 06/18/2015 04:28 PM, Scott Marlow wrote: >>>> > I tried deploying a simple 2lc enabled test app and got a CNFE >>>> on >>>> > Infinispan classes being referenced from the application >>>> classloader. >>>> > >>>> > http://pastebin.com/PREzm6bn shows the exception. I'm guessing >>>> this is >>>> > a classloader issue in ORM 5 to be worked out. >>>> > >>>> > _______________________________________________ >>>> > hibernate-dev mailing list >>>> > hibernate-dev@lists.jboss.org >>>> <mailto:hibernate-dev@lists.jboss.org> >>>> > https://lists.jboss.org/mailman/listinfo/hibernate-dev >>>> > >>>> _______________________________________________ >>>> hibernate-dev mailing list >>>> hibernate-dev@lists.jboss.org >>>> <mailto:hibernate-dev@lists.jboss.org> >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>>> >>> _______________________________________________ >>> hibernate-dev mailing list >>> hibernate-dev@lists.jboss.org >>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>> >> _______________________________________________ >> hibernate-dev mailing list >> hibernate-dev@lists.jboss.org >> https://lists.jboss.org/mailman/listinfo/hibernate-dev >> > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev