[hibernate-dev] WildFly 10 + Hibernate ORM 5 integration status update...

Scott Marlow smarlow at redhat.com
Mon Jun 1 11:05:49 EDT 2015



On 05/29/2015 02:39 PM, Steve Ebersole wrote:
> So:
> 1) hibernate-infinispan seems to be able to see infinispan-core (which
> is what defines as a dependency)
> 2) hibernate-infinispan seems to not be able to see infinispan-commons
> (which I would have to assume infinispan-core defines as a dependency)

Your right, this is a WF module/classpath issue, as hibernate-infinispan 
does not have access to org.infinispan.commons.  Not exactly sure why 
this wasn't a problem before ORM 5.x.

Adding org.infinispan.commons to the hibernate-infinispan classpath 
fixes the 
org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase failure.

Next we just have to find the WildFly bug that is causing Sanne problems 
with his Hibernate Search testing, that prevents HS from doing external 
WF testing.

>
> This sure seems like a problem in the WF module/classpath set up...
>
>
> On Fri, May 29, 2015 at 1:21 PM Scott Marlow <smarlow at redhat.com
> <mailto:smarlow at redhat.com>> wrote:
>
>
>
>     On 05/29/2015 02:03 PM, Steve Ebersole wrote:
>      > Scott, first please use a SNAPSHOT build as you'll need it for
>     the HCANN
>      > fix I did, or you could just pull in the newest HCANN (5.0.0.Final)
>
>     Will do.
>
>      >
>      > As for the ClassNotFoundException, I really do not get this one.  So,
>      > essentially:
>      >
>      > 1) hibernate-infinispan is able to access infinispan-core classes
>      > 2) hibernate-infinispan makes use of
>      > this org/infinispan/commons/util/CloseableIteratorSet class as
>     returned
>      > from classes contained in infinispan-core.  I am not sure which jar
>      > holds org/infinispan/commons/util/CloseableIteratorSet.  Anyone?
>
>     infinispan-commons-7.2.1.Final.jar contains
>     org.infinispan.commons.util.CloseableIteratorSet
>
>
>      > 3) hibernate-infinispan is not able to access
>      > org/infinispan/commons/util/CloseableIteratorSet
>      >
>      > On Fri, May 29, 2015 at 11:57 AM, Scott Marlow
>     <smarlow at redhat.com <mailto:smarlow at redhat.com>
>      > <mailto:smarlow at redhat.com <mailto:smarlow at redhat.com>>> wrote:
>      >
>      >     Also am using Infinispan 7.2.1.Final but noticed that Infinispan
>      >     7.2.2.Final is now in WildFly 10, so I'll sync my branch with
>     WF master
>      >     to upgrade Infinispan.
>      >
>      >     On 05/29/2015 12:50 PM, Scott Marlow wrote:
>      >      > I ran part of the WildFly basic integration tests against the
>      >      >
>     https://github.com/scottmarlow/wildfly/tree/jipijapa3_hibernate5
>      >     branch,
>      >      > which includes the following Hibernate versions:
>      >      >
>      >      > ORM 5.0.0.CR1
>      >      > HCA 4.0.5.Final
>      >      > HS 5.2.0.Final
>      >      >
>      >      > I am seeing the below errors.
>      >      >
>      >      > 1. The Hibernate Search test
>      >      >
>      >
>       (org.jboss.as.test.integration.hibernate.search.HibernateSearchJPATestCase)
>      >      > is failing with an AbstractServiceMethodError
>      > http://pastebin.com/CzEgVp0L
>      >      >
>      >      > 2. In the
>      >      >
>      >
>       org.jboss.as.test.integration.jpa.secondlevelcache.JPA2LCTestCase.testEvictEntityCache,
>      >      > we are seeing a "java.lang.ClassNotFoundException:
>      >      > org.infinispan.commons.util.CloseableIteratorSet from [Module
>      >      > "org.hibernate.infinispan:main"http://pastie.org/10213943
>      >      >
>      >      > Scott
>      >      > _______________________________________________
>      >      > hibernate-dev mailing list
>      >      > hibernate-dev at lists.jboss.org
>     <mailto:hibernate-dev at lists.jboss.org>
>     <mailto:hibernate-dev at lists.jboss.org
>     <mailto:hibernate-dev at lists.jboss.org>>
>      >      > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>      >      >
>      >     _______________________________________________
>      >     hibernate-dev mailing list
>      > hibernate-dev at lists.jboss.org
>     <mailto:hibernate-dev at lists.jboss.org>
>     <mailto:hibernate-dev at lists.jboss.org
>     <mailto:hibernate-dev at lists.jboss.org>>
>      > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>      >
>      >
>


More information about the hibernate-dev mailing list